[arch-commits] Commit in python-webtest/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 18:15:46 UTC 2020
Date: Monday, November 9, 2020 @ 18:15:46
Author: foutrelis
Revision: 747910
archrelease: copy trunk to community-staging-any
Added:
python-webtest/repos/community-staging-any/
python-webtest/repos/community-staging-any/PKGBUILD
(from rev 747909, python-webtest/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-webtest/repos/community-staging-any/PKGBUILD (from rev 747909, python-webtest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 18:15:46 UTC (rev 747910)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=python-webtest
+pkgver=2.0.35
+pkgrel=3
+pkgdesc="Helper to test WSGI applications"
+arch=('any')
+url='http://webtest.pythonpaste.org/'
+license=('MIT')
+depends=('python-webob' 'python-six' 'python-beautifulsoup4' 'python-waitress')
+optdepends=('python-pyquery: for response.pyquery'
+ 'python-lxml: for response.lxml')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock' 'python-pyquery' 'python-pastedeploy' 'python-wsgiproxy2'
+ 'python-pylons-sphinx-themes')
+source=("https://pypi.io/packages/source/W/WebTest/WebTest-$pkgver.tar.gz")
+sha512sums=('ecad031702a9d2031d4e2230dc8213aaa6b1a3e9e6add296ee796aa2ef77d81c992dc24e481f721bc34711d1e33f3932d56cec4be3d62ee82a71fb405942c339')
+
+build() {
+ cd WebTest-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd WebTest-$pkgver
+ PYTHONPATH=".:$PYTHONPATH" nosetests3
+}
+
+package() {
+ cd WebTest-$pkgver
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 license.rst "$pkgdir"/usr/share/licenses/$pkgname/license.rst
+}
More information about the arch-commits
mailing list