From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F0BA1582EF for ; Tue, 04 Mar 2025 22:46:06 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2C17434319B for ; Tue, 04 Mar 2025 22:46:06 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4B1B61103C7; Tue, 04 Mar 2025 22:45:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 402331103AC for ; Tue, 04 Mar 2025 22:45:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED7F1342FE2 for ; Tue, 04 Mar 2025 22:45:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5E9A82871 for ; Tue, 04 Mar 2025 22:45:54 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1741128310.e710a202fad897f2b0d1faf64707d71b0b8a3b2a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/certbot-nginx/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/certbot-nginx/certbot-nginx-3.2.0-r100.ebuild app-crypt/certbot-nginx/certbot-nginx-9999.ebuild X-VCS-Directories: app-crypt/certbot-nginx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e710a202fad897f2b0d1faf64707d71b0b8a3b2a X-VCS-Branch: master Date: Tue, 04 Mar 2025 22:45:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7458d81c-114c-4b72-b2b8-056cbf40ddff X-Archives-Hash: 277c08e9a340f7f7c5a441ae576fd7b0 commit: e710a202fad897f2b0d1faf64707d71b0b8a3b2a Author: Thibaud CANALE thican net> AuthorDate: Mon Mar 3 14:23:22 2025 +0000 Commit: Sam James gentoo org> CommitDate: Tue Mar 4 22:45:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e710a202 app-crypt/certbot-nginx: provide transition package The new merged app-crypt/certbot has blockers on all the old split modules like certbot-nginx, which leads to poor UX when users who have e.g. certbot-nginx in their world file now to try to upgrade. Add a dummy set of ebuilds for the old split modules to depend on the merged certbot with the right USE, which we can last-rite in a while. Signed-off-by: Thibaud CANALE thican.net> Closes: https://github.com/gentoo/gentoo/pull/40872 Signed-off-by: Sam James gentoo.org> .../certbot-nginx/certbot-nginx-3.2.0-r100.ebuild | 29 ++++++++++++++ app-crypt/certbot-nginx/certbot-nginx-9999.ebuild | 44 ++++++---------------- 2 files changed, 41 insertions(+), 32 deletions(-) diff --git a/app-crypt/certbot-nginx/certbot-nginx-3.2.0-r100.ebuild b/app-crypt/certbot-nginx/certbot-nginx-3.2.0-r100.ebuild new file mode 100644 index 000000000000..3c44041c645b --- /dev/null +++ b/app-crypt/certbot-nginx/certbot-nginx-3.2.0-r100.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Nginx plugin for Certbot (Let’s Encrypt client)" +HOMEPAGE=" + https://github.com/certbot/certbot + https://pypi.org/project/certbot-nginx/ + https://letsencrypt.org/ +" + +LICENSE="metapackage" +SLOT="0" + +KEYWORDS="~amd64 ~x86" + +# Meta package for transition +# No need to upgrade thanks to ">=" +RDEPEND=" + >=app-crypt/certbot-${PV}-r100[certbot-nginx] +" + +pkg_postinst() { + elog "This is a meta-package to help in transition to single package " + elog "app-crypt/certbot." + elog "It is advice to simply deselect this package and to emerge " + elog "app-crypt/certbot[certbot-nginx] for this module." +} diff --git a/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild b/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild index d2c0abefda66..4e32e5329c4d 100644 --- a/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild +++ b/app-crypt/certbot-nginx/certbot-nginx-9999.ebuild @@ -1,47 +1,27 @@ -# Copyright 1999-2024 Gentoo Authors +# 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="${PN%-nginx}" -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" +LICENSE="metapackage" SLOT="0" -# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1 -# to avoid broken 23.1.0. +# Meta package for transition +# No need to upgrade thanks to ">=" 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}] + >=app-crypt/certbot-9999[certbot-nginx] " -distutils_enable_tests pytest +pkg_postinst() { + elog "This is a meta-package to help in transition to single package " + elog "app-crypt/certbot." + elog "It is advice to simply deselect this package and to emerge " + elog "app-crypt/certbot[certbot-nginx] for this module." +}