commit:     90e366a3ceaf6ed3ea53cb2140d553392608b303
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Tue Mar 11 09:07:58 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 11 09:30:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e366a3

app-crypt/certbot-dns-nsone: add 2.11.1

Bug: https://bugs.gentoo.org/950466
Signed-off-by: Thibaud CANALE <thican <AT> thican.net>
Closes: https://github.com/gentoo/gentoo/pull/41013
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/certbot-dns-nsone/Manifest               |  1 +
 .../certbot-dns-nsone-2.11.1.ebuild                | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-crypt/certbot-dns-nsone/Manifest 
b/app-crypt/certbot-dns-nsone/Manifest
index 1474b56cc5bd..3210ceceba6c 100644
--- a/app-crypt/certbot-dns-nsone/Manifest
+++ b/app-crypt/certbot-dns-nsone/Manifest
@@ -1,2 +1,3 @@
 DIST certbot-1.18.0.gh.tar.gz 1332615 BLAKE2B 
eb086710b943893025d6e1091470ca02de074232372f4c9fa21fa83a347fe54df988b9553c8cf6afd6e166b8c464d595171984c984008a872e16c0179bb774b2
 SHA512 
94b16ba0586e0f5d3036280c68f9976c25889ca48fbbe7aded41f0d9feba2300a3f0ff8fe321b39d8642bcdd874c7332cf2acb3187b5869fe415831f58a75a7b
+DIST certbot-2.11.1.gh.tar.gz 2323842 BLAKE2B 
6ff759bcac0e49139ae65c3f257ffad87e122184d36aa43446b700efad817fe78232edabfcbf57b4e6041ac8aa7ffa771b0d16e6194a0080e81ab4032c230a9f
 SHA512 
985af624f6da30893db4bb527e3b6eeaa85de869dbb734dfe005c5f7b9638cef123963534290ee488612f77928d06461bbf6120ac77ce35aaa0c1adaeae3cb7c
 DIST certbot-3.2.0.gh.tar.gz 2309823 BLAKE2B 
30ff3f40dc4d7724ad7b9a5eaf48f15fa579d49902dd23d21d8b2d36a4371da05f8c9417b0b2bf49a12565ba9dec180a9d805f22e0e8d1342ae5ea64b43d5219
 SHA512 
8fc3753dcdc954e143da31a0308269b99abadcdefc008c54c2cabac14a3bf99e757f1007349806a7dabf4a8fe19fd3a365ddea85c1dbeb3b453ae91503ea2288

diff --git a/app-crypt/certbot-dns-nsone/certbot-dns-nsone-2.11.1.ebuild 
b/app-crypt/certbot-dns-nsone/certbot-dns-nsone-2.11.1.ebuild
new file mode 100644
index 000000000000..f68152a882a1
--- /dev/null
+++ b/app-crypt/certbot-dns-nsone/certbot-dns-nsone-2.11.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+PARENT_PN="certbot"
+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 ~arm64 ~riscv ~x86"
+fi
+
+DESCRIPTION="NS1 DNS Authenticator plugin for Certbot (Let’s Encrypt Client)"
+HOMEPAGE="
+       https://github.com/certbot/certbot
+       https://pypi.org/project/certbot-dns-nsone/
+       https://letsencrypt.org/
+"
+
+S="${WORKDIR}/${PARENT_P}/${PN}"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+# See module setup.py for dependencies
+RDEPEND="
+       >=app-crypt/acme-${PV}[${PYTHON_USEDEP}]
+       >=app-crypt/certbot-${PV}[${PYTHON_USEDEP}]
+       >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}]
+"
+
+distutils_enable_sphinx docs \
+       dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+python_test() {
+       local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+       epytest
+}

Reply via email to