[arch-commits] Commit in python-lazy-object-proxy/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri May 8 11:46:07 UTC 2020
Date: Friday, May 8, 2020 @ 11:46:06
Author: felixonmars
Revision: 382782
upgpkg: python-lazy-object-proxy 1.4.3-2: disable python2 tests
Modified:
python-lazy-object-proxy/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-08 11:37:23 UTC (rev 382781)
+++ PKGBUILD 2020-05-08 11:46:06 UTC (rev 382782)
@@ -3,13 +3,13 @@
pkgbase=python-lazy-object-proxy
pkgname=(python-lazy-object-proxy python2-lazy-object-proxy)
pkgver=1.4.3
-pkgrel=1
+pkgrel=2
pkgdesc='A fast and thorough lazy object proxy'
arch=('x86_64')
url="https://github.com/ionelmc/python-lazy-object-proxy"
license=('BSD')
makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-benchmark' 'python2-pytest-benchmark')
+checkdepends=('python-pytest-benchmark' 'python-pytest-runner')
source=("$pkgbase-$pkgver.tar.gz::https://github.com/ionelmc/python-lazy-object-proxy/archive/v$pkgver.tar.gz")
sha256sums=('ce4c9872869331d509ff2b7be19fdddb1dc4b922d14aa62675770e3caebd92e2')
@@ -26,11 +26,8 @@
}
check() {
- cd "$srcdir"/python-lazy-object-proxy-$pkgver
- LC_CTYPE=en_US.UTF-8 PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" py.test --ignore=src
-
- cd "$srcdir"/python-lazy-object-proxy-$pkgver-py2
- PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" py.test2 --ignore=src
+ cd python-lazy-object-proxy-$pkgver
+ python setup.py pytest --addopts --ignore=src
}
package_python-lazy-object-proxy() {
More information about the arch-commits
mailing list