Date: Tuesday, January 1, 2019 @ 22:15:53 Author: eschwartz Revision: 420236
upgpkg: python-lockfile 0.12.2-4 fix tests not running (they use nose, not setup.py entrypoints) fix build dependencies being downloaded as eggs from PyPI during build() Modified: python-lockfile/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-01-01 21:56:15 UTC (rev 420235) +++ PKGBUILD 2019-01-01 22:15:53 UTC (rev 420236) @@ -2,14 +2,14 @@ pkgbase=python-lockfile pkgname=(python-lockfile python2-lockfile) pkgver=0.12.2 -pkgrel=3 +pkgrel=4 pkgdesc='Platform-independent file locking module' arch=(any) url='https://github.com/openstack/pylockfile' license=(MIT) -makedepends=(python-setuptools python2-setuptools) -checkdepends=(python-jinja python2-jinja python-nose python2-nose python-docutils python2-docutils) # tests need older version of python-sphinx -source=(https://pypi.python.org/packages/source/l/lockfile/lockfile-$pkgver.tar.gz) +makedepends=(python-setuptools python2-setuptools python-pbr python2-pbr) +checkdepends=(python-nose python2-nose) +source=(https://files.pythonhosted.org/packages/source/l/lockfile/lockfile-$pkgver.tar.gz) sha1sums=('c2ac46e48585e5f8f8d57ccc55ca83faa8b53b86') prepare() { @@ -26,10 +26,10 @@ check() { cd "$srcdir/lockfile-$pkgver" - python setup.py test + nosetests cd "$srcdir/lockfile-$pkgver-py2" - python2 setup.py test + nosetests2 } package_python-lockfile() {
