mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
python-pytest: update to 3.5.1. (#13862)
This commit is contained in:
parent
a0a0060bbd
commit
d9ac451215
1 changed files with 9 additions and 13 deletions
|
@ -1,7 +1,8 @@
|
||||||
# Template file for 'python-pytest'
|
# Template file for 'python-pytest'
|
||||||
pkgname=python-pytest
|
pkgname=python-pytest
|
||||||
version=3.5.0
|
version=3.5.1
|
||||||
revision=1
|
revision=1
|
||||||
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="_pytest"
|
pycompile_module="_pytest"
|
||||||
|
@ -15,12 +16,9 @@ maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
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=fae491d1874f199537fd5872b5e1f0e74a009b979df9d53d1553fd03da1703e1
|
checksum=54713b26c97538db6ff0703a12b19aeaeb60b5e599de542e7fca0ec83b9038e8
|
||||||
alternatives="
|
alternatives="python-pytest:pytest:/usr/bin/pytest2
|
||||||
python-pytest:pytest:/usr/bin/pytest2
|
python-pytest:py.test:/usr/bin/py.test2"
|
||||||
python-pytest:py.test:/usr/bin/py.test2
|
|
||||||
"
|
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 setup.py test
|
python3 setup.py test
|
||||||
|
@ -33,15 +31,13 @@ post_install() {
|
||||||
python3-pytest_package() {
|
python3-pytest_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="_pytest"
|
pycompile_module="_pytest"
|
||||||
alternatives="
|
alternatives="python-pytest:pytest:/usr/bin/pytest3
|
||||||
python-pytest:pytest:/usr/bin/pytest3
|
python-pytest:py.test:/usr/bin/py.test3"
|
||||||
python-pytest:py.test:/usr/bin/py.test3
|
|
||||||
"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
depends="python3-hypothesis python3-more-itertools python3-pluggy python3-py"
|
depends="python3-hypothesis python3-more-itertools python3-pluggy python3-py"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove "usr/bin/*3"
|
||||||
vmove usr/lib/python3*
|
vmove "usr/lib/python3*"
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue