[arch-commits] Commit in python-flup/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Oct 26 20:22:49 UTC 2019
Date: Saturday, October 26, 2019 @ 20:22:49
Author: foutrelis
Revision: 520488
archrelease: copy trunk to community-staging-any
Added:
python-flup/repos/community-staging-any/
python-flup/repos/community-staging-any/PKGBUILD
(from rev 520487, python-flup/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-flup/repos/community-staging-any/PKGBUILD (from rev 520487, python-flup/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-26 20:22:49 UTC (rev 520488)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-flup
+pkgname=(python-flup python2-flup)
+pkgver=1.0.3
+pkgrel=2
+pkgdesc="Random assortment of WSGI servers"
+url="https://www.saddi.com/software/flup/"
+license=('BSD')
+arch=('any')
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://pypi.io/packages/source/f/flup/flup-$pkgver.tar.gz")
+sha512sums=('f165685b39a8539d29d48d0ad3c9c0495f428892b8935545a128730687c658a1e8b74a09c8084dd4a2490b1d26f1382b48c95ba43401171fd46876b068ba2f8e')
+
+build() {
+ cd flup-$pkgver
+ python setup.py build
+ python2 setup.py build
+}
+
+package_python-flup() {
+ depends=('python')
+
+ cd flup-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-flup() {
+ depends=('python2')
+
+ cd flup-$pkgver
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list