commit: b40f20c2aa7dc11c769da2cc96ead8d350b28819 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sat Mar 22 20:13:32 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sat Mar 22 20:17:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b40f20c2
net-misc/s4cmd: migrate to PEP517 Closes: https://bugs.gentoo.org/923225 Closes: https://bugs.gentoo.org/910012 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../{s4cmd-2.1.0-r2.ebuild => s4cmd-2.1.0-r3.ebuild} | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/net-misc/s4cmd/s4cmd-2.1.0-r2.ebuild b/net-misc/s4cmd/s4cmd-2.1.0-r3.ebuild similarity index 84% rename from net-misc/s4cmd/s4cmd-2.1.0-r2.ebuild rename to net-misc/s4cmd/s4cmd-2.1.0-r3.ebuild index d80445061cdb..1d71df41895d 100644 --- a/net-misc/s4cmd/s4cmd-2.1.0-r2.ebuild +++ b/net-misc/s4cmd/s4cmd-2.1.0-r3.ebuild @@ -1,9 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_10 python3_11 python3_12 ) +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools PYTHON_REQ_USE="xml(+)" inherit distutils-r1 bash-completion-r1 @@ -15,20 +16,21 @@ SRC_URI=" https://github.com/bloomreach/s4cmd/pull/162.patch -> ${P}-py3-iter.patch https://github.com/bloomreach/s4cmd/pull/310.patch -> ${P}-botocore-fix.patch " -PATCHES=( - "${DISTDIR}/${P}-botocore-fix.patch" - "${DISTDIR}/${P}-py3-iter.patch" -) +S="${WORKDIR}/${P/_/-}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" RDEPEND=" + dev-python/boto3[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] - dev-python/boto3[${PYTHON_USEDEP}]" +" -S="${WORKDIR}/${P/_/-}" +PATCHES=( + "${DISTDIR}/${P}-botocore-fix.patch" + "${DISTDIR}/${P}-py3-iter.patch" +) src_install() { distutils-r1_src_install
