From bed5fceeef99d3397c597e5bbf9458b8219f83a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Aug 2020 21:08:15 +0200 Subject: net-dns/dyndnsc: another fix --- net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild | 6 ++++++ net-dns/dyndnsc/files/no-pytest.patch | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 net-dns/dyndnsc/files/no-pytest.patch (limited to 'net-dns') diff --git a/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild b/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild index cacb7ce..556bbe2 100644 --- a/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild +++ b/net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild @@ -19,6 +19,12 @@ RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/requests-2.0.1" DEPEND="${RDEPEND}" + +src_prepare() { + eapply "${FILESDIR}/no-pytest.patch" + distutils-r1_src_prepare +} + src_install() { distutils-r1_src_install newinitd "${FILESDIR}/dyndnsc.init" dyndnsc diff --git a/net-dns/dyndnsc/files/no-pytest.patch b/net-dns/dyndnsc/files/no-pytest.patch new file mode 100644 index 0000000..f8f45d4 --- /dev/null +++ b/net-dns/dyndnsc/files/no-pytest.patch @@ -0,0 +1,12 @@ +diff --git a/setup.py b/setup.py +index 67da701..810cae8 100644 +--- a/setup.py ++++ b/setup.py +@@ -90,7 +90,6 @@ setup( + url="https://github.com/infothrill/python-dyndnsc", + # https://packaging.python.org/tutorials/distributing-packages/#python-requires + python_requires=">=3.5", +- setup_requires=["pytest-runner"], + install_requires=INSTALL_REQUIRES, + extras_require=EXTRAS_REQUIRE, + entry_points={ -- cgit v1.2.3