[arch-commits] Commit in python-wsgiproxy2/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Sep 20 09:48:15 UTC 2018
Date: Thursday, September 20, 2018 @ 09:48:14
Author: felixonmars
Revision: 383510
archrelease: copy trunk to community-any
Added:
python-wsgiproxy2/repos/community-any/PKGBUILD
(from rev 383509, python-wsgiproxy2/trunk/PKGBUILD)
Deleted:
python-wsgiproxy2/repos/community-any/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++++++----------------------------------
1 file changed, 42 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-09-20 09:47:56 UTC (rev 383509)
+++ PKGBUILD 2018-09-20 09:48:14 UTC (rev 383510)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-wsgiproxy2
-pkgname=('python-wsgiproxy2' 'python2-wsgiproxy2')
-pkgver=0.4.4
-pkgrel=2
-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' 'git')
-checkdepends=('python-nose' 'python2-nose' 'python-requests' 'python2-requests'
- 'python-webtest' 'python2-webtest' 'python-waitress' 'python2-waitress')
-source=("git+https://github.com/gawel/WSGIProxy2.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a WSGIProxy2{,-py2}
-}
-
-build() {
- cd "$srcdir/WSGIProxy2"
- python setup.py build
-
- cd "$srcdir/WSGIProxy2-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/WSGIProxy2"
- nosetests3
-
- cd "$srcdir/WSGIProxy2-py2"
- nosetests2
-}
-
-package_python-wsgiproxy2() {
- depends=('python-webob' 'python-six')
-
- cd WSGIProxy2
- python setup.py install --root="${pkgdir}" --optimize=1
-}
-
-package_python2-wsgiproxy2() {
- depends=('python2-webob' 'python2-six')
-
- cd WSGIProxy2-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: python-wsgiproxy2/repos/community-any/PKGBUILD (from rev 383509, python-wsgiproxy2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-09-20 09:48:14 UTC (rev 383510)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-wsgiproxy2
+pkgname=('python-wsgiproxy2' 'python2-wsgiproxy2')
+pkgver=0.4.5
+pkgrel=1
+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")
+sha512sums=('e16e7c5e4c2df6bd69730c819a5ee833be7bce06f9d7ce8615084cbe290c39ee89c7ce8094db58a58289f31b4dbca726c4fddb6f35e0ce445d944f026c79df61')
+
+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')
+
+ 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