diff --git a/srcpkgs/python3-pytest-fixture-config/patches/no_setuptools_git.patch b/srcpkgs/python3-pytest-fixture-config/patches/no_setuptools_git.patch new file mode 100644 index 00000000000..f3455685738 --- /dev/null +++ b/srcpkgs/python3-pytest-fixture-config/patches/no_setuptools_git.patch @@ -0,0 +1,11 @@ +Void doesn't package setuptools-git, and there's no need to start now. + +--- a/common_setup.py ++++ b/common_setup.py +@@ -72,6 +72,5 @@ + license='MIT license', + platforms=['unix', 'linux'], + cmdclass={'test': PyTest, 'egg_info': EggInfo}, +- setup_requires=['setuptools-git'], + include_package_data=True + ) diff --git a/srcpkgs/python3-pytest-fixture-config/template b/srcpkgs/python3-pytest-fixture-config/template index 3c22c9f0fb4..73f654bd6d3 100644 --- a/srcpkgs/python3-pytest-fixture-config/template +++ b/srcpkgs/python3-pytest-fixture-config/template @@ -1,26 +1,20 @@ # Template file for 'python3-pytest-fixture-config' pkgname=python3-pytest-fixture-config _pkgname=${pkgname#*-} -version=1.3.0 -revision=6 +version=1.7.0 +revision=1 wrksrc="${_pkgname}-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-pytest" -checkdepends="python3-pytest" +checkdepends="python3-six $depends" short_desc="Fixture configuration utils for py.test (Python3)" maintainer="Orphaned " license="MIT" homepage="https://github.com/manahl/pytest-plugins" distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz" -checksum=1717cd7d2233943cae9af419c6e31dca5e40d5de01ef0bcfd5cd06f37548db08 +checksum=41a17417721f6862ce6b40e3280fddd8e1659b2c306ec46b237d7021fec5218e -pre_build() { - sed -i '/setup_requires/d' common_setup.py -} -do_check() { - python3 setup.py test -} post_install() { vlicense LICENSE }