From 09fbccd427680433a073d502807cdc5777782078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Fri, 17 Feb 2023 02:34:56 +0100 Subject: [PATCH] [app-crypt/certbot-dns-rfc2136] bump and modernize, from tree --- app-crypt/certbot-dns-rfc2136/Manifest | 2 +- .../certbot-dns-rfc2136-2.1.0.ebuild | 33 ------------ .../certbot-dns-rfc2136-2.3.0.ebuild | 49 ++++++++++++++++++ .../certbot-dns-rfc2136-9999.ebuild | 50 ++++++++++++------- 4 files changed, 83 insertions(+), 51 deletions(-) delete mode 100644 app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.1.0.ebuild create mode 100644 app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.3.0.ebuild diff --git a/app-crypt/certbot-dns-rfc2136/Manifest b/app-crypt/certbot-dns-rfc2136/Manifest index 8b29441..3b62625 100644 --- a/app-crypt/certbot-dns-rfc2136/Manifest +++ b/app-crypt/certbot-dns-rfc2136/Manifest @@ -1 +1 @@ -DIST certbot-2.1.0.tar.gz 1327451 BLAKE2B c4694622648427146574aa7c056d5d76dc3c4f6b8487a506d1c4996239f979d89ca26980b2ffbaab975458d0691acaa07a46a75098b6146e6e3c51e6eaa64be0 SHA512 83c3a6abeffb135cebd0d0f4561f3814039962e3b895aaf7bef6570641fccda2da04f1a6110c5e90d6ed3346402cbb3ff543b0a096e8e18f6345edd22da643cc +DIST certbot-2.3.0.gh.tar.gz 1335613 BLAKE2B af8ff393f92755e8e312f7596fe99abefa35c42cef6fa6688f7f3dd4a310205385fec81366df30d8edfe28d8abd3db447c9e1a3770fe31c3d45c69f04a038660 SHA512 5f52d9b0dd390fc696389a94ff897d803ee062feca50bb66972e197dcd79b0096b337cece2798557c3878903577171fd9afe1f18a4a2131ad7e6a62d0d945ebb diff --git a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.1.0.ebuild b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.1.0.ebuild deleted file mode 100644 index 0be87d5..0000000 --- a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.1.0.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=(python3_{9..11} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -if [[ ${PV} == 9999* ]]; then - EGIT_REPO_URI="https://github.com/certbot/certbot.git" - inherit git-r3 - S=${WORKDIR}/${P}/${PN} -else - SRC_URI="https://github.com/${PN%-dns-rfc2136}/${PN%-dns-rfc2136}/archive/v${PV}.tar.gz -> ${PN%-dns-rfc2136}-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" - S=${WORKDIR}/${PN%-dns-rfc2136}-${PV}/${PN} -fi - -inherit distutils-r1 - -DESCRIPTION="RFC2136 DNS plugin for certbot (Let's Encrypt Client)" -HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" - -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -RDEPEND=" - >=app-crypt/acme-${PV}[${PYTHON_USEDEP}] - >=app-crypt/certbot-${PV}[${PYTHON_USEDEP}] - dev-python/dnspython[${PYTHON_USEDEP}]" - -distutils_enable_tests pytest diff --git a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.3.0.ebuild b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.3.0.ebuild new file mode 100644 index 0000000..915520f --- /dev/null +++ b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.3.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +PARENT_PN="${PN%-dns-rfc2136}" +PARENT_P="${PARENT_PN}-${PV}" + +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + EGIT_SUBMODULES=() + EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}" +else + SRC_URI=" + https://github.com/certbot/certbot/archive/v${PV}.tar.gz + -> ${PARENT_P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="RFC2136 DNS plugin for Certbot (Let’s Encrypt client)" +HOMEPAGE=" + https://github.com/certbot/certbot + https://letsencrypt.org/ +" + +LICENSE="Apache-2.0" +SLOT="0" + +S="${WORKDIR}/${PARENT_P}/${PN}" + +BDEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" + +RDEPEND=" + >=app-crypt/acme-${PV}[${PYTHON_USEDEP}] + >=app-crypt/certbot-${PV}[${PYTHON_USEDEP}] + dev-python/dnspython[${PYTHON_USEDEP}] +" + +distutils_enable_tests pytest diff --git a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-9999.ebuild b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-9999.ebuild index 0be87d5..915520f 100644 --- a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-9999.ebuild +++ b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-9999.ebuild @@ -1,33 +1,49 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=(python3_{9..11} ) -DISTUTILS_USE_SETUPTOOLS=rdepend - -if [[ ${PV} == 9999* ]]; then - EGIT_REPO_URI="https://github.com/certbot/certbot.git" - inherit git-r3 - S=${WORKDIR}/${P}/${PN} -else - SRC_URI="https://github.com/${PN%-dns-rfc2136}/${PN%-dns-rfc2136}/archive/v${PV}.tar.gz -> ${PN%-dns-rfc2136}-${PV}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~x86" - S=${WORKDIR}/${PN%-dns-rfc2136}-${PV}/${PN} -fi +PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 -DESCRIPTION="RFC2136 DNS plugin for certbot (Let's Encrypt Client)" -HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/" +PARENT_PN="${PN%-dns-rfc2136}" +PARENT_P="${PARENT_PN}-${PV}" + +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + EGIT_SUBMODULES=() + EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}" +else + SRC_URI=" + https://github.com/certbot/certbot/archive/v${PV}.tar.gz + -> ${PARENT_P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="RFC2136 DNS plugin for Certbot (Let’s Encrypt client)" +HOMEPAGE=" + https://github.com/certbot/certbot + https://letsencrypt.org/ +" LICENSE="Apache-2.0" SLOT="0" -IUSE="" + +S="${WORKDIR}/${PARENT_P}/${PN}" + +BDEPEND=" + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) +" RDEPEND=" >=app-crypt/acme-${PV}[${PYTHON_USEDEP}] >=app-crypt/certbot-${PV}[${PYTHON_USEDEP}] - dev-python/dnspython[${PYTHON_USEDEP}]" + dev-python/dnspython[${PYTHON_USEDEP}] +" distutils_enable_tests pytest