[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Sun Nov 4 02:41:03 UTC 2018


    Date: Sunday, November 4, 2018 @ 02:41:03
  Author: felixonmars
Revision: 401443

addpkg: python-flup 1.0.3-1

Added:
  python-flup/
  python-flup/repos/
  python-flup/trunk/
  python-flup/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python-flup/trunk/PKGBUILD
===================================================================
--- python-flup/trunk/PKGBUILD	                        (rev 0)
+++ python-flup/trunk/PKGBUILD	2018-11-04 02:41:03 UTC (rev 401443)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-flup
+pkgname=(python-flup python2-flup)
+pkgver=1.0.3
+pkgrel=1
+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