[arch-commits] Commit in python-dukpy/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Fri Jun 16 19:29:07 UTC 2017
Date: Friday, June 16, 2017 @ 19:29:06
Author: jelle
Revision: 237815
upgpkg: python-dukpy 0.3-2
Modified:
python-dukpy/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-16 19:18:45 UTC (rev 237814)
+++ PKGBUILD 2017-06-16 19:29:06 UTC (rev 237815)
@@ -23,7 +23,7 @@
package_python-dukpy() {
depends=('python')
- cd "${srcdir}/dukpy-${pkgver}"
+ cd "dukpy-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-dukpy/LICENSE.txt"
@@ -32,8 +32,14 @@
package_python2-dukpy() {
depends=('python2')
- cd "${srcdir}/dukpy-${pkgver}"
+ cd "dukpy-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python2-dukpy/LICENSE.txt"
}
+
+check() {
+ cd "dukpy-${pkgver}"
+ python setup.py test
+ python2 setup.py test
+}
More information about the arch-commits
mailing list