commit:     ec06cddeeb29a69044ba4c680281279ee8cd96e6
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Sun May 14 20:07:10 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun May 14 20:07:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec06cdde

app-crypt/certbot-dns-rfc2136: add 2.6.0

Signed-off-by: Thibaud CANALE <thican <AT> thican.net>

 app-crypt/certbot-dns-rfc2136/Manifest             |  1 +
 .../certbot-dns-rfc2136-2.6.0.ebuild               | 70 ++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/app-crypt/certbot-dns-rfc2136/Manifest 
b/app-crypt/certbot-dns-rfc2136/Manifest
index 150bac94c..98fcbdcaa 100644
--- a/app-crypt/certbot-dns-rfc2136/Manifest
+++ b/app-crypt/certbot-dns-rfc2136/Manifest
@@ -2,3 +2,4 @@ DIST certbot-2.2.0.gh.tar.gz 1331053 BLAKE2B 
4a3e6d8b0b3b7f8537bd6b24234bad76578
 DIST certbot-2.3.0.gh.tar.gz 1335613 BLAKE2B 
af8ff393f92755e8e312f7596fe99abefa35c42cef6fa6688f7f3dd4a310205385fec81366df30d8edfe28d8abd3db447c9e1a3770fe31c3d45c69f04a038660
 SHA512 
5f52d9b0dd390fc696389a94ff897d803ee062feca50bb66972e197dcd79b0096b337cece2798557c3878903577171fd9afe1f18a4a2131ad7e6a62d0d945ebb
 DIST certbot-2.4.0.gh.tar.gz 1333159 BLAKE2B 
534c7d090cc8a2b77b2dd8bd8c407409260c18e7741223a327bb240dac9685b1ca152d4a20bb0ec46d8717f89bd3de6f494019c57afe22a74db69641a3ed209e
 SHA512 
c307c97154935a3a01b468d6e91505caba6073b4c01071c87382bdc08c892094d95d75b047047d3221b7d8018a61ce974c0f4defbfdee00b136af920fd579108
 DIST certbot-2.5.0.gh.tar.gz 1333903 BLAKE2B 
2d30764616d2253fe320ad94182e64cc3e1ce75bd90322fcf7c303a52e32420a57cf84a3acf3f8f4825e058d6fe1e59438b728dacdf9032c4d8797312903825e
 SHA512 
92313e352409d543f260fedee3f376c4750d9428cd39fde3518b162091667173ba6d582b4e91477f7122cf198f24119ecf34b2dce12734afbfc0ebedc395a49e
+DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 
0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62
 SHA512 
d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3

diff --git a/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.6.0.ebuild 
b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.6.0.ebuild
new file mode 100644
index 000000000..425d68e1a
--- /dev/null
+++ b/app-crypt/certbot-dns-rfc2136/certbot-dns-rfc2136-2.6.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..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="RFC 2136 DNS Authenticator 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="
+       ${PYTHON_DEPS}
+       >=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
+       >=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/dnspython-1.15.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+# Same than PATCHES but from repository's root directory,
+# please see function `python_prepare_all` below.
+# Simplier for users IMHO.
+PARENT_PATCHES=(
+)
+
+# Here for patches within "${PN}" subdirectory.
+PATCHES=(
+)
+
+python_prepare_all() {
+       pushd "${WORKDIR}/${PARENT_P}" > /dev/null || die
+       [[ -n "${PARENT_PATCHES[@]}" ]] && eapply "${PARENT_PATCHES[@]}"
+       eapply_user
+       popd > /dev/null || die
+
+       distutils-r1_python_prepare_all
+}

Reply via email to