[arch-commits] Commit in python-webtest/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan fyan at archlinux.org
Tue Apr 12 15:49:19 UTC 2016


    Date: Tuesday, April 12, 2016 @ 17:49:18
  Author: fyan
Revision: 170775

archrelease: copy trunk to community-any

Added:
  python-webtest/repos/community-any/PKGBUILD
    (from rev 170774, python-webtest/trunk/PKGBUILD)
Deleted:
  python-webtest/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-04-12 15:48:57 UTC (rev 170774)
+++ PKGBUILD	2016-04-12 15:49:18 UTC (rev 170775)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jerome Leclanche <jerome at leclan.ch>
-
-_pkgname=WebTest
-pkgname=(python-webtest python2-webtest)
-pkgver=2.0.20
-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=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
-sha256sums=('bb137b96ce300eb4e43377804ed45be87674af7d414c4de46bba4d251bc4602f')
-
-prepare() {
-  cp -a "$srcdir/$_pkgname-${pkgver}"{,-py2}
-}
-
-build() {
-  cd "$srcdir/$_pkgname-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/$_pkgname-$pkgver-py2"
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir/$_pkgname-${pkgver}"
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" nosetests3
-
-  cd "$srcdir/$_pkgname-${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 "$srcdir/$_pkgname-$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 "$srcdir/$_pkgname-$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 170774, python-webtest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-04-12 15:49:18 UTC (rev 170775)
@@ -0,0 +1,59 @@
+# $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.21
+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=("http://pypi.python.org/packages/source/W/WebTest/WebTest-$pkgver.tar.gz")
+sha256sums=('3dc92ecd7604e21fc7c97578e4c43aff2a67cebdd4884a2aa804d85e85b34b55')
+
+prepare() {
+  cp -a WebTest-$pkgver{,-py2}
+}
+
+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.5:$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