python-pytest-fixture-config: install MIT license
While I'm here: minor and cosmetic fixes.
This commit is contained in:
parent
6edb7c3d11
commit
990f23ff56
@ -1,31 +1,38 @@
|
|||||||
# Template file for 'python-pytest-fixture-config'
|
# Template file for 'python-pytest-fixture-config'
|
||||||
pkgname=python-pytest-fixture-config
|
pkgname=python-pytest-fixture-config
|
||||||
version=1.3.0
|
version=1.3.0
|
||||||
revision=1
|
revision=2
|
||||||
|
noarch=yes
|
||||||
wrksrc="${pkgname/python-//}-${version}"
|
wrksrc="${pkgname/python-//}-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="pytest_fixture_config.py"
|
pycompile_module="pytest_fixture_config.py"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-pytest"
|
depends="python-pytest"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest"
|
||||||
short_desc="FIxture configuration utils for py.test (Python2)"
|
short_desc="Fixture configuration utils for py.test (Python2)"
|
||||||
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/manahl/pytest-plugins"
|
homepage="https://github.com/manahl/pytest-plugins"
|
||||||
distfiles="${PYPI_SITE}/p/${pkgname/python-/}/${pkgname/python-/}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/${pkgname/python-/}/${pkgname/python-/}-${version}.tar.gz"
|
||||||
checksum=1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08
|
checksum=1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i '/setup_requires/d' common_setup.py
|
||||||
|
}
|
||||||
do_check() {
|
do_check() {
|
||||||
python3 setup.py test
|
python3 setup.py test
|
||||||
}
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
python3-pytest-fixture-config_package() {
|
python3-pytest-fixture-config_package() {
|
||||||
pycompile_module="pytest_fixture_config.py"
|
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3-pytest"
|
depends="python3-pytest"
|
||||||
|
pycompile_module="pytest_fixture_config.py"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user