[arch-commits] Commit in python-webencodings/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Jul 16 09:51:03 UTC 2016
Date: Saturday, July 16, 2016 @ 09:51:02
Author: jelle
Revision: 182991
Add tests, remove unrequired LANG
Modified:
python-webencodings/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-07-16 09:47:28 UTC (rev 182990)
+++ PKGBUILD 2016-07-16 09:51:02 UTC (rev 182991)
@@ -6,9 +6,10 @@
pkgver=0.5
pkgrel=1
arch=('any')
-url="https://github.com/SimonSapin/python-webencodings"
+url="https://github.com/gsnedders/python-webencodings"
license=('BSD')
makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python2-nose')
source=(https://github.com/gsnedders/python-webencodings/archive/v$pkgver.tar.gz)
md5sums=('380cd5f79cd65620bd5b852528dce3a6')
@@ -17,7 +18,7 @@
depends=('python')
cd ${srcdir}/${pkgbase}-${pkgver}
- LANG="en_US.UTF-8" python3 setup.py install --root=${pkgdir}
+ python3 setup.py install --root=${pkgdir}
}
package_python2-webencodings() {
@@ -27,3 +28,11 @@
python2 setup.py install --root=${pkgdir}
}
+
+check() {
+ cd ${srcdir}/${pkgbase}-${pkgver}/webencodings
+
+ nosetests tests.py
+
+ nosetests2 tests.py
+}
Property changes on: python-webencodings/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list