python-attrs: disable python2 tests
This commit is contained in:
parent
d80fdd8d55
commit
4b714d056d
1 changed files with 1 additions and 3 deletions
|
@ -6,8 +6,7 @@ wrksrc="attrs-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python"
|
depends="python"
|
||||||
checkdepends="python-hypothesis python3-hypothesis python-pytest
|
checkdepends="python3-pytest python3-zope.interface python3-six python3-hypothesis"
|
||||||
python3-pytest python-zope.interface python3-zope.interface python3-six"
|
|
||||||
short_desc="Attributes without boilerplate (Python2)"
|
short_desc="Attributes without boilerplate (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -16,7 +15,6 @@ distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
||||||
checksum=ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb
|
checksum=ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
PYTHONPATH="$(cd build-2.7/lib* && pwd)" python2 -m pytest
|
|
||||||
PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest
|
PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue