python-pytest: depend on python-pathlib2 now
pluggy has already been updated to >=0.7 (ex post facto).
This commit is contained in:
parent
c46677f299
commit
b0707a7705
|
@ -1,14 +1,14 @@
|
|||
# Template file for 'python-pytest'
|
||||
pkgname=python-pytest
|
||||
version=3.7.1
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc="${pkgname/python-//}-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="_pytest pytest.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-atomicwrites python-attrs python-funcsigs python-more-itertools
|
||||
python-pluggy python-py python-setuptools"
|
||||
python-pluggy python-py python-setuptools python-pathlib2"
|
||||
checkdepends="python3-atomicwrites python3-hypothesis python3-more-itertools
|
||||
python3-pluggy python3-py python3-atomicwrites"
|
||||
short_desc="Simple powerful testing with Python2"
|
||||
|
@ -22,6 +22,12 @@ alternatives="
|
|||
pytest:pytest:/usr/bin/pytest2
|
||||
pytest:py.test:/usr/bin/py.test2"
|
||||
|
||||
pre_build() {
|
||||
sed -i setup.py \
|
||||
-e '/setup_requires=/d' \
|
||||
-e "s|use_scm_version=.*|version=\"${version}\",|"
|
||||
}
|
||||
|
||||
do_check() {
|
||||
python3 setup.py test
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue