summaryrefslogtreecommitdiff
path: root/net-dns/dyndnsc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-08-08 21:08:15 +0200
committerKarel Kočí <cynerd@email.cz>2020-08-08 21:08:15 +0200
commitbed5fceeef99d3397c597e5bbf9458b8219f83a7 (patch)
tree4d3262f4dc1a475f31c79dc082661819aec2c921 /net-dns/dyndnsc
parent842c3c3f9b396843c75cd9796b47ad4231016f62 (diff)
downloadgentoo-personal-overlay-bed5fceeef99d3397c597e5bbf9458b8219f83a7.tar.gz
gentoo-personal-overlay-bed5fceeef99d3397c597e5bbf9458b8219f83a7.tar.bz2
gentoo-personal-overlay-bed5fceeef99d3397c597e5bbf9458b8219f83a7.zip
net-dns/dyndnsc: another fix
Diffstat (limited to 'net-dns/dyndnsc')
-rw-r--r--net-dns/dyndnsc/dyndnsc-0.5.1-r1.ebuild6
-rw-r--r--net-dns/dyndnsc/files/no-pytest.patch12
2 files changed, 18 insertions, 0 deletions
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={