python-pytest-fixture-config: drop package
This commit is contained in:
parent
192c8774c9
commit
77c37045ed
3 changed files with 26 additions and 39 deletions
|
@ -1,38 +0,0 @@
|
||||||
# Template file for 'python-pytest-fixture-config'
|
|
||||||
pkgname=python-pytest-fixture-config
|
|
||||||
version=1.3.0
|
|
||||||
revision=3
|
|
||||||
archs=noarch
|
|
||||||
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="Orphaned <orphan@voidlinux.org>"
|
|
||||||
license="MIT"
|
|
||||||
homepage="https://github.com/manahl/pytest-plugins"
|
|
||||||
distfiles="${PYPI_SITE}/p/${pkgname/python-/}/${pkgname/python-/}-${version}.tar.gz"
|
|
||||||
checksum=1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08
|
|
||||||
|
|
||||||
pre_build() {
|
|
||||||
sed -i '/setup_requires/d' common_setup.py
|
|
||||||
}
|
|
||||||
do_check() {
|
|
||||||
python3 setup.py test
|
|
||||||
}
|
|
||||||
post_install() {
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-pytest-fixture-config_package() {
|
|
||||||
archs=noarch
|
|
||||||
depends="python3-pytest"
|
|
||||||
pycompile_module="pytest_fixture_config.py"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-pytest-fixture-config
|
|
26
srcpkgs/python3-pytest-fixture-config/template
Normal file
26
srcpkgs/python3-pytest-fixture-config/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'python3-pytest-fixture-config'
|
||||||
|
pkgname=python3-pytest-fixture-config
|
||||||
|
_pkgname=${pkgname#*-}
|
||||||
|
version=1.3.0
|
||||||
|
revision=4
|
||||||
|
wrksrc="${_pkgname}-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools"
|
||||||
|
depends="python3-pytest"
|
||||||
|
checkdepends="python3-pytest"
|
||||||
|
short_desc="Fixture configuration utils for py.test (Python3)"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="https://github.com/manahl/pytest-plugins"
|
||||||
|
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
|
||||||
|
checksum=1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/setup_requires/d' common_setup.py
|
||||||
|
}
|
||||||
|
do_check() {
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue