diff --git a/srcpkgs/python-pytest-fixture-config/template b/srcpkgs/python-pytest-fixture-config/template new file mode 100644 index 00000000000..a68b122fc81 --- /dev/null +++ b/srcpkgs/python-pytest-fixture-config/template @@ -0,0 +1,31 @@ +# 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 " +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* + } +} diff --git a/srcpkgs/python3-pytest-fixture-config b/srcpkgs/python3-pytest-fixture-config new file mode 120000 index 00000000000..aa96289d741 --- /dev/null +++ b/srcpkgs/python3-pytest-fixture-config @@ -0,0 +1 @@ +python-pytest-fixture-config \ No newline at end of file