[arch-commits] Commit in python-webtest/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Oct 22 15:13:28 UTC 2017
Date: Sunday, October 22, 2017 @ 15:13:27
Author: felixonmars
Revision: 263983
archrelease: copy trunk to community-any
Added:
python-webtest/repos/community-any/PKGBUILD
(from rev 263982, python-webtest/trunk/PKGBUILD)
Deleted:
python-webtest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 122 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 61 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-10-22 15:13:04 UTC (rev 263982)
+++ PKGBUILD 2017-10-22 15:13:27 UTC (rev 263983)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jerome Leclanche <jerome at leclan.ch>
-
-pkgbase=python-webtest
-pkgname=(python-webtest python2-webtest)
-pkgver=2.0.28
-pkgrel=1
-pkgdesc="Helper to test WSGI applications"
-arch=('any')
-url='http://webtest.pythonpaste.org/'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-webob' 'python2-webob' 'python-six' 'python2-six'
- 'python-beautifulsoup4' 'python2-beautifulsoup4' 'python-waitress' 'python2-waitress')
-checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-coverage' 'python2-coverage'
- 'python-pyquery' 'python2-pyquery' 'python-pastedeploy' 'python2-pastedeploy'
- 'python-wsgiproxy2' 'python2-wsgiproxy2')
-source=("https://pypi.io/packages/source/W/WebTest/WebTest-$pkgver.tar.gz")
-sha512sums=('3399c857b403ae464c705ee3c6d88b1197c894a4f279dbc121b207afd8cd1f4099ad86313c9416717bec9ed5fce7f29ab1e8bfc32cfb9cd64f21f5c220f23732')
-
-prepare() {
- cp -a WebTest-$pkgver{,-py2}
-
- export LC_CTYPE=en_US.UTF-8
-}
-
-build() {
- cd "$srcdir"/WebTest-$pkgver
- python setup.py build
-
- cd "$srcdir"/WebTest-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/WebTest-$pkgver
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" nosetests3
-
- cd "$srcdir"/WebTest-$pkgver-py2
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" nosetests2
-}
-
-package_python-webtest() {
- depends=('python-webob' 'python-six' 'python-beautifulsoup4' 'python-waitress')
- optdepends=('python-pyquery: for response.pyquery'
- 'python-lxml: for response.lxml')
-
- cd WebTest-$pkgver
- python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 "docs/license.rst" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-webtest() {
- depends=('python2-webob' 'python2-six' 'python2-beautifulsoup4' 'python2-waitress')
- optdepends=('python2-pyquery: for response.pyquery'
- 'python2-lxml: for response.lxml')
-
- cd WebTest-$pkgver-py2
- python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 "docs/license.rst" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-webtest/repos/community-any/PKGBUILD (from rev 263982, python-webtest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-10-22 15:13:27 UTC (rev 263983)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jerome Leclanche <jerome at leclan.ch>
+
+pkgbase=python-webtest
+pkgname=(python-webtest python2-webtest)
+pkgver=2.0.29
+pkgrel=1
+pkgdesc="Helper to test WSGI applications"
+arch=('any')
+url='http://webtest.pythonpaste.org/'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-webob' 'python2-webob' 'python-six' 'python2-six'
+ 'python-beautifulsoup4' 'python2-beautifulsoup4' 'python-waitress' 'python2-waitress')
+checkdepends=('python-nose' 'python2-nose' 'python-mock' 'python2-mock' 'python-coverage' 'python2-coverage'
+ 'python-pyquery' 'python2-pyquery' 'python-pastedeploy' 'python2-pastedeploy'
+ 'python-wsgiproxy2' 'python2-wsgiproxy2')
+source=("https://pypi.io/packages/source/W/WebTest/WebTest-$pkgver.tar.gz")
+sha512sums=('319700d1444f6a681f8ed8a4ee8661ba0462b3f4bfeb7510232f58be92e017066da3bac494ebe1a3c5b9f2d06c025e08e6193277e13c6113e9485108d4ccd2d2')
+
+prepare() {
+ cp -a WebTest-$pkgver{,-py2}
+
+ export LC_CTYPE=en_US.UTF-8
+}
+
+build() {
+ cd "$srcdir"/WebTest-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/WebTest-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/WebTest-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" nosetests3
+
+ cd "$srcdir"/WebTest-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" nosetests2
+}
+
+package_python-webtest() {
+ depends=('python-webob' 'python-six' 'python-beautifulsoup4' 'python-waitress')
+ optdepends=('python-pyquery: for response.pyquery'
+ 'python-lxml: for response.lxml')
+
+ cd WebTest-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 "docs/license.rst" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-webtest() {
+ depends=('python2-webob' 'python2-six' 'python2-beautifulsoup4' 'python2-waitress')
+ optdepends=('python2-pyquery: for response.pyquery'
+ 'python2-lxml: for response.lxml')
+
+ cd WebTest-$pkgver-py2
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 "docs/license.rst" "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list