commit:     cf98fe9ce807b9cdd8774bf65ef8556a8191c66f
Author:     Thibaud CANALE <thican <AT> thican <DOT> net>
AuthorDate: Tue Mar 11 09:07:31 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=cf98fe9c

app-crypt/certbot-nginx: add 2.11.1

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

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

diff --git a/app-crypt/certbot-nginx/Manifest b/app-crypt/certbot-nginx/Manifest
index 499c47e84577..02bbd3aad2fc 100644
--- a/app-crypt/certbot-nginx/Manifest
+++ b/app-crypt/certbot-nginx/Manifest
@@ -1,3 +1,4 @@
 DIST certbot-2.10.0.gh.tar.gz 2322931 BLAKE2B 
cb84815ec2db2b4b365f2f2bdee1749263b540a1b67f9195280bdb122307337d294beb403bc05b236a94ed0782b0d093e2b8527a65cb69cac949fa627388e8bd
 SHA512 
444981952140376808a9aa475a692df91e60fffc6d45902a3f809bc07311a7d6597ad56e712d3dae234450eb1c735db431182e784bc748511e68bf4f5f2d6cbd
+DIST certbot-2.11.1.gh.tar.gz 2323842 BLAKE2B 
6ff759bcac0e49139ae65c3f257ffad87e122184d36aa43446b700efad817fe78232edabfcbf57b4e6041ac8aa7ffa771b0d16e6194a0080e81ab4032c230a9f
 SHA512 
985af624f6da30893db4bb527e3b6eeaa85de869dbb734dfe005c5f7b9638cef123963534290ee488612f77928d06461bbf6120ac77ce35aaa0c1adaeae3cb7c
 DIST certbot-3.1.0.gh.tar.gz 2299990 BLAKE2B 
596f11d4ebb161ee6ba67f4f150a77e081399f11f4e4652923c94297661149c9cb889afc51b46b6111847820823d90edc3a7f1e14c451122f88e6e777bf48795
 SHA512 
efd0b0c1540a6e3b631fa80eac65c9e8b31b1e5e1242f56d3723ca7e1b1b2121dfe1bf8e122fe9a9b994460553f1fa085b11d1369b3160f5c51c939b2cccd638
 DIST certbot-3.2.0.gh.tar.gz 2309823 BLAKE2B 
30ff3f40dc4d7724ad7b9a5eaf48f15fa579d49902dd23d21d8b2d36a4371da05f8c9417b0b2bf49a12565ba9dec180a9d805f22e0e8d1342ae5ea64b43d5219
 SHA512 
8fc3753dcdc954e143da31a0308269b99abadcdefc008c54c2cabac14a3bf99e757f1007349806a7dabf4a8fe19fd3a365ddea85c1dbeb3b453ae91503ea2288

diff --git a/app-crypt/certbot-nginx/certbot-nginx-2.11.1.ebuild 
b/app-crypt/certbot-nginx/certbot-nginx-2.11.1.ebuild
new file mode 100644
index 000000000000..a500e757f1a5
--- /dev/null
+++ b/app-crypt/certbot-nginx/certbot-nginx-2.11.1.ebuild
@@ -0,0 +1,54 @@
+# 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 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Nginx plugin for Certbot (Let’s Encrypt client)"
+HOMEPAGE="
+       https://github.com/certbot/certbot
+       https://pypi.org/project/certbot-nginx/
+       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/pyopenssl-23.1.1[${PYTHON_USEDEP}]
+       >=dev-python/pyparsing-2.2.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