diff --git a/srcpkgs/python-pytest-relaxed/template b/srcpkgs/python-pytest-relaxed/template new file mode 100644 index 00000000000..e8c9c193fe7 --- /dev/null +++ b/srcpkgs/python-pytest-relaxed/template @@ -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 " +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 + } +} diff --git a/srcpkgs/python3-pytest-relaxed b/srcpkgs/python3-pytest-relaxed new file mode 120000 index 00000000000..5289d4a4b67 --- /dev/null +++ b/srcpkgs/python3-pytest-relaxed @@ -0,0 +1 @@ +python-pytest-relaxed \ No newline at end of file