From bb59556b3302a941db4630613c604644d5f7a617 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 11 Apr 2025 08:43:59 +0100 Subject: gentoo auto-resync : 11:04:2025 - 08:43:58 --- app-crypt/Manifest.gz | Bin 25265 -> 25267 bytes app-crypt/certbot/Manifest | 4 +- app-crypt/certbot/certbot-4.0.0-r1.ebuild | 188 ++++++++++++++++++++++++++++++ app-crypt/certbot/certbot-4.0.0.ebuild | 187 ----------------------------- app-crypt/certbot/certbot-9999.ebuild | 5 +- 5 files changed, 193 insertions(+), 191 deletions(-) create mode 100644 app-crypt/certbot/certbot-4.0.0-r1.ebuild delete mode 100644 app-crypt/certbot/certbot-4.0.0.ebuild (limited to 'app-crypt') diff --git a/app-crypt/Manifest.gz b/app-crypt/Manifest.gz index 4786f02c34af..841cb5918509 100644 Binary files a/app-crypt/Manifest.gz and b/app-crypt/Manifest.gz differ diff --git a/app-crypt/certbot/Manifest b/app-crypt/certbot/Manifest index 7e4b3cc144b3..d9bb39e7f382 100644 --- a/app-crypt/certbot/Manifest +++ b/app-crypt/certbot/Manifest @@ -15,6 +15,6 @@ EBUILD certbot-3.1.0.ebuild 1572 BLAKE2B 92f7bef4a2b4eaa3251d20fd44b33544687acd4 EBUILD certbot-3.2.0-r102.ebuild 7640 BLAKE2B b13e2e0ec0dec9d67fae17fd9ee01ab6390f694cc4b2990b96bfa387f8cb50aa6f0d4eff11d1c7a58f429e51c820c5f5b4fcf7869f0f42fe3b619815245a7abc SHA512 3001aa585e75e3a2dab59e1001e2b2740c486809bcaa09aa18c361120891c37c67365a41d7b628e21a0bf357544cf21fe930b9c1a0fc39cdd9e13cf0500ba123 EBUILD certbot-3.2.0.ebuild 1572 BLAKE2B f70a02b18dfe12e3768ee98be8392c6d9d753dcb5a69f37aa488634748c7bf685abb6a5ffcbb8330f5b82808d6b9fcf7146c129c3b637134418710d9f65b9fac SHA512 4f0815c0a793bce1d2870480069dd67bcee5795638bb5b5cbf61334a019ea0cb31135df4f57c2488e67d23d928190f1f2d7d9ea6a54e59a8ec975eb46161b372 EBUILD certbot-3.3.0-r2.ebuild 7428 BLAKE2B b4a2d16af5851faee75b1f71ea0d69427ff059a2424117d76eba0336e1a36ed03e703a363a6b619247e65ce3089b4a314df253f2ecfc6ec03ee2b40284132c9b SHA512 32872ea02cef79aa7d1602294833ecf46d25c2f5d50e88de60bc67ad8e101537733eeab773397bf79d39dc8268ad6a1ed69f3a078c658d1e15464f032db09fbc -EBUILD certbot-4.0.0.ebuild 4665 BLAKE2B 80ee6ba67092ae15cd40e443e47d94a6f4a8135e4fd0f5c9a68a5ca4bfb2a8e7173bfbd76ff5ffae19738acabe21a6a75cf1b4732f91d5306012c8ae8f050e48 SHA512 a70920aada726f5f7f87564cc2ab47a78ccc8660ae028e2fc7d066ace22e9cd7b07b33e0c5be2f60a900d5f0bf74ab0206a8a0fa5aba3aa8038b055f5b8c26d7 -EBUILD certbot-9999.ebuild 4665 BLAKE2B 80ee6ba67092ae15cd40e443e47d94a6f4a8135e4fd0f5c9a68a5ca4bfb2a8e7173bfbd76ff5ffae19738acabe21a6a75cf1b4732f91d5306012c8ae8f050e48 SHA512 a70920aada726f5f7f87564cc2ab47a78ccc8660ae028e2fc7d066ace22e9cd7b07b33e0c5be2f60a900d5f0bf74ab0206a8a0fa5aba3aa8038b055f5b8c26d7 +EBUILD certbot-4.0.0-r1.ebuild 4700 BLAKE2B e66d07b211c7a81f729cc4d10fd40921ce6cfd677161a0171a900ccd59e2f9e5fc0e0ececf8e7dcd0cf0deb43abaad35218006ee10e2cfe23685b1eeecbb0871 SHA512 2ad367142312eb3e354e6a1b79f8b84036622932f677b84e57e52bd68c62f2007553b4cdae0c9f3402993fda236ac1b8c7b327586a87a75da4b6cb9432959989 +EBUILD certbot-9999.ebuild 4700 BLAKE2B e66d07b211c7a81f729cc4d10fd40921ce6cfd677161a0171a900ccd59e2f9e5fc0e0ececf8e7dcd0cf0deb43abaad35218006ee10e2cfe23685b1eeecbb0871 SHA512 2ad367142312eb3e354e6a1b79f8b84036622932f677b84e57e52bd68c62f2007553b4cdae0c9f3402993fda236ac1b8c7b327586a87a75da4b6cb9432959989 MISC metadata.xml 1792 BLAKE2B c89e58193a94a26c3128ab8b15282a3c9c301a9c32fb64309c54a57361b01f63e707b4582e724244f85213187e7f0b57af380d3ef0e99ad6dbae9d684848b9ca SHA512 a3420355c14f6772a426d5ef63551883ea2c5754b83261c011601cbcc35ba65cbd444021eb613682030e82e35eb52013bf7cffb7502607605bb7bc6a84b37fdd diff --git a/app-crypt/certbot/certbot-4.0.0-r1.ebuild b/app-crypt/certbot/certbot-4.0.0-r1.ebuild new file mode 100644 index 000000000000..83fd24c753d4 --- /dev/null +++ b/app-crypt/certbot/certbot-4.0.0-r1.ebuild @@ -0,0 +1,188 @@ +# 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 + +if [[ "${PV}" == *9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/certbot/certbot.git" + EGIT_SUBMODULES=() + EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" +else + SRC_URI=" + https://github.com/certbot/certbot/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz + " + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="Let’s Encrypt client to automate deployment of X.509 certificates" +HOMEPAGE=" + https://github.com/certbot/certbot + https://pypi.org/project/certbot/ + https://letsencrypt.org/ +" + +LICENSE="Apache-2.0" +SLOT="0" + +# acme required for certbot, and then required for modules +CERTBOT_BASE=(acme certbot) +# List of "subpackages" from tools/_release.sh (without acme which is already above) +CERTBOT_MODULES_EXTRA=( + apache + #dns-cloudflare # Requires missing packages, already in GURU + #dns-digitalocean # Requires missing packages, already in GURU + dns-dnsimple + dns-dnsmadeeasy + dns-gehirn + dns-google + dns-linode + dns-luadns + dns-nsone + dns-ovh + dns-rfc2136 + dns-route53 + dns-sakuracloud + nginx +) + +IUSE="selinux" +for module in "${CERTBOT_MODULES_EXTRA[@]}"; do + IUSE+=" certbot-${module}" +done + +BDEPEND=" + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + ) +" + +# See each setup.py for dependencies +# Also discard the previous related packages +# except their transition step +RDEPEND=" + !=dev-python/configargparse-1.5.3[${PYTHON_USEDEP}] + >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] + >=dev-python/cryptography-43.0.0[${PYTHON_USEDEP}] + >=dev-python/distro-1.0.1[${PYTHON_USEDEP}] + >=dev-python/josepy-2.0.0[${PYTHON_USEDEP}] + >=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}] + >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}] + dev-python/pyrfc3339[${PYTHON_USEDEP}] + >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] + >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] + certbot-apache? ( + dev-python/python-augeas[${PYTHON_USEDEP}] + ) + certbot-dns-dnsimple? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-dns-dnsmadeeasy? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-dns-gehirn? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-dns-google? ( + >=dev-python/google-api-python-client-1.6.5[${PYTHON_USEDEP}] + >=dev-python/google-auth-2.16.0[${PYTHON_USEDEP}] + ) + certbot-dns-linode? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-dns-luadns? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-dns-nsone? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-dns-ovh? ( + >=dev-python/dns-lexicon-3.15.1[${PYTHON_USEDEP}] + ) + certbot-dns-rfc2136? ( + >=dev-python/dnspython-2.6.1[${PYTHON_USEDEP}] + ) + certbot-dns-route53? ( + >=dev-python/boto3-1.15.15[${PYTHON_USEDEP}] + ) + certbot-dns-sakuracloud? ( + >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] + ) + certbot-nginx? ( + >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}] + ) + selinux? ( sec-policy/selinux-certbot ) +" +# RDEPEND+=" +# !=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] # @TODO is still necessary? +# certbot-dns-cloudflare? ( +# # Available in GURU +# >=dev-python/cloudflare-2.19[${PYTHON_USEDEP}] +# =dev-python/digitalocean-1.11[${PYTHON_USEDEP}] +# ) +# " + +distutils_enable_tests pytest + +certbot_dirs=() + +my_certbot_dirs_listing() { + local base module + for base in "${CERTBOT_BASE[@]}"; do + certbot_dirs+=("${base}") + done + for module in "${CERTBOT_MODULES_EXTRA[@]}"; do + use "certbot-${module}" \ + && certbot_dirs+=("certbot-${module}") + done +} + +src_prepare() { + default + + my_certbot_dirs_listing +} + +python_compile() { + local dir + for dir in "${certbot_dirs[@]}"; do + pushd "${dir}" > /dev/null || die + + distutils-r1_python_compile + # Delete previous build directory to avoid collision. + rm -rf "${BUILD_DIR}/build" + + popd > /dev/null || die + done +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + # Change for pytest rootdir is required. + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +} diff --git a/app-crypt/certbot/certbot-4.0.0.ebuild b/app-crypt/certbot/certbot-4.0.0.ebuild deleted file mode 100644 index 4cf65c67fa57..000000000000 --- a/app-crypt/certbot/certbot-4.0.0.ebuild +++ /dev/null @@ -1,187 +0,0 @@ -# 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 - -if [[ "${PV}" == *9999 ]]; then - inherit git-r3 - - EGIT_REPO_URI="https://github.com/certbot/certbot.git" - EGIT_SUBMODULES=() - EGIT_CHECKOUT_DIR="${WORKDIR}/${P}" -else - SRC_URI=" - https://github.com/certbot/certbot/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz - " - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" -fi - -DESCRIPTION="Let’s Encrypt client to automate deployment of X.509 certificates" -HOMEPAGE=" - https://github.com/certbot/certbot - https://pypi.org/project/certbot/ - https://letsencrypt.org/ -" - -LICENSE="Apache-2.0" -SLOT="0" - -# acme required for certbot, and then required for modules -CERTBOT_BASE=(acme certbot) -# List of "subpackages" from tools/_release.sh (without acme which is already above) -CERTBOT_MODULES_EXTRA=( - apache - #dns-cloudflare # Requires missing packages, already in GURU - #dns-digitalocean # Requires missing packages, already in GURU - dns-dnsimple - dns-dnsmadeeasy - dns-gehirn - dns-google - dns-linode - dns-luadns - dns-nsone - dns-ovh - dns-rfc2136 - dns-route53 - dns-sakuracloud - nginx -) - -IUSE="selinux" -for module in "${CERTBOT_MODULES_EXTRA[@]}"; do - IUSE+=" certbot-${module}" -done - -BDEPEND=" - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ) -" - -# See each setup.py for dependencies -# Also discard the previous related packages -# except their transition step -RDEPEND=" - !=dev-python/configargparse-1.5.3[${PYTHON_USEDEP}] - >=dev-python/configobj-5.0.6[${PYTHON_USEDEP}] - >=dev-python/cryptography-43.0.0[${PYTHON_USEDEP}] - >=dev-python/distro-1.0.1[${PYTHON_USEDEP}] - >=dev-python/josepy-2.0.0[${PYTHON_USEDEP}] - >=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}] - >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}] - dev-python/pyrfc3339[${PYTHON_USEDEP}] - >=dev-python/pytz-2019.3[${PYTHON_USEDEP}] - >=dev-python/requests-2.20.0[${PYTHON_USEDEP}] - certbot-apache? ( - dev-python/python-augeas[${PYTHON_USEDEP}] - ) - certbot-dns-dnsimple? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-dns-dnsmadeeasy? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-dns-gehirn? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-dns-google? ( - >=dev-python/google-api-python-client-1.6.5[${PYTHON_USEDEP}] - >=dev-python/google-auth-2.16.0[${PYTHON_USEDEP}] - ) - certbot-dns-linode? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-dns-luadns? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-dns-nsone? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-dns-ovh? ( - >=dev-python/dns-lexicon-3.15.1[${PYTHON_USEDEP}] - ) - certbot-dns-rfc2136? ( - >=dev-python/dnspython-2.6.1[${PYTHON_USEDEP}] - ) - certbot-dns-route53? ( - >=dev-python/boto3-1.15.15[${PYTHON_USEDEP}] - ) - certbot-dns-sakuracloud? ( - >=dev-python/dns-lexicon-3.14.1[${PYTHON_USEDEP}] - ) - certbot-nginx? ( - >=dev-python/pyopenssl-25.0.0[${PYTHON_USEDEP}] - >=dev-python/pyparsing-2.4.7[${PYTHON_USEDEP}] - ) - selinux? ( sec-policy/selinux-certbot ) -" -# RDEPEND+=" -# !=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}] # @TODO is still necessary? -# certbot-dns-cloudflare? ( -# # Available in GURU -# >=dev-python/cloudflare-2.19[${PYTHON_USEDEP}] -# =dev-python/digitalocean-1.11[${PYTHON_USEDEP}] -# ) -# " - -distutils_enable_tests pytest - -certbot_dirs=() - -my_certbot_dirs_listing() { - local base module - for base in "${CERTBOT_BASE[@]}"; do - certbot_dirs+=("${base}") - done - for module in "${CERTBOT_MODULES_EXTRA[@]}"; do - use "certbot-${module}" \ - && certbot_dirs+=("certbot-${module}") - done -} - -src_prepare() { - default - - my_certbot_dirs_listing -} - -python_compile() { - local dir - for dir in "${certbot_dirs[@]}"; do - pushd "${dir}" > /dev/null || die - - distutils-r1_python_compile - # Delete previous build directory to avoid collision. - rm -rf "${BUILD_DIR}/build" - - popd > /dev/null || die - done -} - -python_test() { - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Argument required to change pytest rootdir. - epytest "${BUILD_DIR}" -} diff --git a/app-crypt/certbot/certbot-9999.ebuild b/app-crypt/certbot/certbot-9999.ebuild index 4cf65c67fa57..83fd24c753d4 100644 --- a/app-crypt/certbot/certbot-9999.ebuild +++ b/app-crypt/certbot/certbot-9999.ebuild @@ -182,6 +182,7 @@ python_compile() { python_test() { local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - # Argument required to change pytest rootdir. - epytest "${BUILD_DIR}" + # Change for pytest rootdir is required. + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest } -- cgit v1.2.3