python-pytest: update to 3.6.2.
This commit is contained in:
parent
027edd3317
commit
3298a8e04b
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'python-pytest'
|
# Template file for 'python-pytest'
|
||||||
pkgname=python-pytest
|
pkgname=python-pytest
|
||||||
version=3.6.0
|
version=3.6.2
|
||||||
revision=2
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
|
@ -12,25 +12,19 @@ depends="python-atomicwrites python-attrs python-funcsigs python-more-itertools
|
||||||
checkdepends="python3-atomicwrites python3-hypothesis python3-more-itertools
|
checkdepends="python3-atomicwrites python3-hypothesis python3-more-itertools
|
||||||
python3-pluggy python3-py python3-atomicwrites"
|
python3-pluggy python3-py python3-atomicwrites"
|
||||||
short_desc="Simple powerful testing with Python2"
|
short_desc="Simple powerful testing with Python2"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="Orphaned <orphaned@voidlinux.eu>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://docs.pytest.org/en/latest/"
|
homepage="https://docs.pytest.org/en/latest/"
|
||||||
distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/pytest/pytest-${version}.tar.gz"
|
||||||
checksum=39555d023af3200d004d09e51b4dd9fdd828baa863cded3fd6ba2f29f757ae2d
|
checksum=8ea01fc4fcc8e1b1e305252b4bc80a1528019ab99fd3b88666c9dc38d754406c
|
||||||
alternatives="
|
alternatives="
|
||||||
pytest:pytest:/usr/bin/pytest2
|
pytest:pytest:/usr/bin/pytest2
|
||||||
pytest:py.test:/usr/bin/py.test2"
|
pytest:py.test:/usr/bin/py.test2"
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i setup.py \
|
|
||||||
-e '/setup_requires=/d' \
|
|
||||||
-e '/use_scm_version/,+2d' \
|
|
||||||
-e "/name=/ a\
|
|
||||||
version='${version}',"
|
|
||||||
}
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 setup.py test
|
python3 setup.py test
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue