[arch-commits] Commit in python-docker-py/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Tue Feb 23 03:41:58 UTC 2016
Date: Tuesday, February 23, 2016 @ 04:41:58
Author: fyan
Revision: 163170
upgpkg: python-docker-py 1.7.1-1
Modified:
python-docker-py/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-23 03:37:00 UTC (rev 163169)
+++ PKGBUILD 2016-02-23 03:41:58 UTC (rev 163170)
@@ -5,7 +5,7 @@
# Contributor: Josh VanderLinden <arch at cloudlery.com>
pkgname=(python-docker-py python2-docker-py)
-pkgver=1.7.0
+pkgver=1.7.1
pkgrel=1
pkgdesc="Python client for Docker."
arch=('any')
@@ -19,7 +19,7 @@
sha256sums=('SKIP')
prepare() {
- sed -i 's/==.*$//' docker-py/test-requirements.txt
+ sed -i 's/==.*$//' docker-py/{,test-}requirements.txt
cp -a docker-py{,-py2}
}
@@ -33,14 +33,14 @@
}
check() {
- # Needs root to run
+ # Skipping integration tests as docker needs root to run:
# docker daemon -H fd:// -p "$srcdir/docker.pid"
cd "$srcdir/docker-py"
- python setup.py test || warning "Tests failed"
+ py.test tests/unit
cd "$srcdir/docker-py-py2"
- python2 setup.py test || warning "Tests failed"
+ py.test2 tests/unit
# kill $(<"$srcdir/docker.pid")
}
More information about the arch-commits
mailing list