New package: python-pytest-relaxed-1.0.0.

Closes #9211.
This commit is contained in:
maxice8 2017-11-15 00:49:16 -02:00 committed by Enno Boland
parent 9fba64bcff
commit ca4c7e0b05
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,30 @@
# Template file for 'python-pytest-relaxed'
pkgname=python-pytest-relaxed
version=1.0.0
revision=1
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="pytest_relaxed"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-pytest python-six python-decorator"
short_desc="Relaxed test discovery/organization for pytest2"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="2-Clause-BSD"
homepage="https://github.com/bitprophet/pytest-relaxed"
distfiles="${PYPI_SITE}/p/pytest-relaxed/pytest-relaxed-${version}.tar.gz"
checksum=1a26bc92a35fb51263f4c59f8e29e235576dee7dbe4b05c7a70f66676301a4a8
noarch=yes
post_install() {
vlicense LICENSE
}
python3-pytest-relaxed_package() {
noarch=yes
depends="${depends/python/python3}"
short_desc="${short_desc/pytest2/pytest3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View File

@ -0,0 +1 @@
python-pytest-relaxed