[arch-commits] Commit in python-wsgiproxy2/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jun 23 08:42:00 UTC 2020
Date: Tuesday, June 23, 2020 @ 08:41:57
Author: felixonmars
Revision: 650951
upgpkg: python-wsgiproxy2 0.4.6-3: remove python2 sibling
Modified:
python-wsgiproxy2/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++--------------------
1 file changed, 7 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-23 08:38:26 UTC (rev 650950)
+++ PKGBUILD 2020-06-23 08:41:57 UTC (rev 650951)
@@ -1,42 +1,29 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
-pkgbase=python-wsgiproxy2
-pkgname=('python-wsgiproxy2' 'python2-wsgiproxy2')
+pkgname=python-wsgiproxy2
pkgver=0.4.6
-pkgrel=2
+pkgrel=3
pkgdesc="A WSGI Proxy with various http client backends"
arch=('any')
license=('MIT')
url="https://github.com/gawel/WSGIProxy2/"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-webob' 'python2-webob'
- 'python-six' 'python2-six')
-checkdepends=('python-nose' 'python2-nose' 'python-requests' 'python2-requests'
- 'python-webtest' 'python2-webtest' 'python-waitress' 'python2-waitress')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/gawel/WSGIProxy2/archive/$pkgver.tar.gz")
+depends=('python-webob' 'python-six')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-requests' 'python-webtest' 'python-waitress')
+source=("https://github.com/gawel/WSGIProxy2/archive/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('9a3c8e96cafe4451943f63bbf47cc0f6ffc7a6916cd8e42f7d1aa53ccab59a74f772c55c1a1f456e97e72c5d15f1601c6501e2c0650bb54c81acd52696580023')
build() {
cd WSGIProxy2-$pkgver
python setup.py build
- python2 setup.py build
}
check() {
cd WSGIProxy2-$pkgver
nosetests3
- nosetests2
}
-package_python-wsgiproxy2() {
- depends=('python-webob' 'python-six')
-
+package() {
cd WSGIProxy2-$pkgver
python setup.py install --root="$pkgdir" --optimize=1
}
-
-package_python2-wsgiproxy2() {
- depends=('python2-webob' 'python2-six')
-
- cd WSGIProxy2-$pkgver
- python2 setup.py install --root="$pkgdir" --optimize=1
-}
More information about the arch-commits
mailing list