32 lines
937 B
Bash
32 lines
937 B
Bash
|
# Template file for 'python-pytest-fixture-config'
|
||
|
pkgname=python-pytest-fixture-config
|
||
|
version=1.2.11
|
||
|
revision=1
|
||
|
wrksrc="${pkgname/python-//}-${version}"
|
||
|
build_style=python-module
|
||
|
pycompile_module="pytest_fixture_config.py"
|
||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||
|
depends="python-pytest"
|
||
|
checkdepends="python3-pytest"
|
||
|
short_desc="FIxture configuration utils for py.test (Python2)"
|
||
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||
|
license="MIT"
|
||
|
homepage="https://github.com/manahl/pytest-plugins"
|
||
|
distfiles="${PYPI_SITE}/p/${pkgname/python-/}/${pkgname/python-/}-${version}.tar.gz"
|
||
|
checksum=6d4c064b614e4afbcd93b56d4ca14c44a295370e7843daf69925ff5c0fbe94a0
|
||
|
noarch=yes
|
||
|
|
||
|
do_check() {
|
||
|
python3 setup.py test
|
||
|
}
|
||
|
|
||
|
python3-pytest-fixture-config_package() {
|
||
|
pycompile_module="pytest_fixture_config.py"
|
||
|
noarch=yes
|
||
|
depends="python3-pytest"
|
||
|
short_desc="${short_desc/Python2/Python3}"
|
||
|
pkg_install() {
|
||
|
vmove usr/lib/python3*
|
||
|
}
|
||
|
}
|