mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
parent
26fbc39c4f
commit
889c7df2ed
1 changed files with 14 additions and 8 deletions
|
@ -1,19 +1,22 @@
|
||||||
# Template file for 'python-pytest'
|
# Template file for 'python-pytest'
|
||||||
pkgname=python-pytest
|
pkgname=python-pytest
|
||||||
version=3.2.5
|
version=3.3.0
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="pytest"
|
pycompile_module="_pytest"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-setuptools python-py"
|
depends="python-setuptools python-py python-funcsigs python-pluggy python-attrs python-six"
|
||||||
short_desc="Pytest: simple powerful testing with Python2"
|
short_desc="Pytest: simple powerful testing with Python2"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
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=6d5bd4f7113b444c55a3bbb5c738a3dd80d43563d063fc42dcb0aaefbdd78b81
|
checksum=6db1c070aa412c30647b6aeb13c55670f900cf00fbafa003cdde560c3f4a8d76
|
||||||
alternatives="python-pytest:pytest:/usr/bin/pytest2"
|
alternatives="
|
||||||
|
python-pytest:pytest:/usr/bin/pytest2
|
||||||
|
python-pytest:py.test:/usr/bin/py.test2
|
||||||
|
"
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -22,10 +25,13 @@ post_install() {
|
||||||
|
|
||||||
python3-pytest_package() {
|
python3-pytest_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_module="pytest"
|
pycompile_module="_pytest"
|
||||||
alternatives="python-pytest:pytest:/usr/bin/pytest3"
|
alternatives="
|
||||||
|
python-pytest:pytest:/usr/bin/pytest3
|
||||||
|
python-pytest:py.test:/usr/bin/py.test3
|
||||||
|
"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
depends="python3-setuptools python3-py"
|
depends="python3-setuptools python3-py python3-pluggy python3-attrs python3-six"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove usr/bin/*3
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Reference in a new issue