From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C4EF815852A for ; Fri, 16 Aug 2024 10:14:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D12E0E2A64; Fri, 16 Aug 2024 10:14:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B68EDE2A64 for ; Fri, 16 Aug 2024 10:14:29 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A4E98342FAE for ; Fri, 16 Aug 2024 10:14:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D575A1EBA for ; Fri, 16 Aug 2024 10:14:26 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1723803217.13e71949c44a6732c5e3d26a02da89d217a45cad.mpagano@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-filter-repo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-filter-repo/Manifest dev-vcs/git-filter-repo/git-filter-repo-2.45.0.ebuild dev-vcs/git-filter-repo/metadata.xml X-VCS-Directories: dev-vcs/git-filter-repo/ X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 13e71949c44a6732c5e3d26a02da89d217a45cad X-VCS-Branch: master Date: Fri, 16 Aug 2024 10:14:26 +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: 2bcc2d51-cbbe-4830-88c2-c9cd0c9c13ca X-Archives-Hash: 33b43ebe3dc4edec97563e93cf329e19 commit: 13e71949c44a6732c5e3d26a02da89d217a45cad Author: Mike Pagano gentoo org> AuthorDate: Sat Aug 10 21:42:12 2024 +0000 Commit: Mike Pagano gentoo org> CommitDate: Fri Aug 16 10:13:37 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13e71949 dev-vcs/git-filter-repo: add 2.45.0, port to PEP517 Closes: https://bugs.gentoo.org/909982 Signed-off-by: Mike Pagano gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/38073 Signed-off-by: Mike Pagano gentoo.org> dev-vcs/git-filter-repo/Manifest | 1 + .../git-filter-repo/git-filter-repo-2.45.0.ebuild | 50 ++++++++++++++++++++++ dev-vcs/git-filter-repo/metadata.xml | 5 ++- 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/dev-vcs/git-filter-repo/Manifest b/dev-vcs/git-filter-repo/Manifest index 1c66679a9fa7..fe70e7572310 100644 --- a/dev-vcs/git-filter-repo/Manifest +++ b/dev-vcs/git-filter-repo/Manifest @@ -1 +1,2 @@ DIST git-filter-repo-2.38.0.tar.xz 153772 BLAKE2B 491269226c5db9fa57bb5e2038e2c8cb3e82577ff1ba8b34920857c2ec4275d4491e8e17f5bd34e63148ae0d6f7bb57ab3d1d36ffecd390579e0fdc773046d71 SHA512 786c27c1952a5e3625c924e71958cfd61d9065d32754a3e957f258767ccb5b147778c5d499eb82c7c1bf36a2f5a50b1cde372ebbc927aeeedbd713e5ab6563d8 +DIST git-filter-repo-2.45.0.tar.xz 155808 BLAKE2B 44a7ac3ba98e7fdce3a656aca081d8df1ca33acd98be605152fe9b8a9c205bd3b1d8c080769fea56cae54080a6770a447a8a4fbd8dea8b1ec9622b756c76677d SHA512 2fa48a1c6fe285570d02c63d71c92e1a79a4f4dfc0527141b6bed19f4ec27c92f6b98def2c6541bf1fef149e7dd191b023942c99b370b1a5b1555c2cac3e0c42 diff --git a/dev-vcs/git-filter-repo/git-filter-repo-2.45.0.ebuild b/dev-vcs/git-filter-repo/git-filter-repo-2.45.0.ebuild new file mode 100644 index 000000000000..c14b92677a99 --- /dev/null +++ b/dev-vcs/git-filter-repo/git-filter-repo-2.45.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 + +DESCRIPTION="Quickly rewrite git repository history (filter-branch replacement)" +HOMEPAGE="https://github.com/newren/git-filter-repo/" +SRC_URI="https://github.com/newren/git-filter-repo/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~x86" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + >=dev-vcs/git-$(ver_cut 1-2) +" +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +# the git-archive tarball does not have version info; setuptools-scm +# requires a valid source of version info, this one is for distros +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} + +python_test() { + cd .. || die + bash "${S}"/t/run_tests || die +} + +python_install_all() { + distutils-r1_python_install_all + + # Just like git itself there is a manpage in troff + html formats. + # Unlike git itself, we cannot install the html one, because the + # `git --html-path` has the ${PV} of git in it. So just install + # the troff copy. + doman "${WORKDIR}"/${P}/Documentation/man1/git-filter-repo.1 + + # Points to dead symlink + rm "${ED}"/usr/share/doc/${PF}/README.md || die + rmdir "${ED}"/usr/share/doc/${PF} || die + + dodoc "${WORKDIR}"/${P}/README.md +} diff --git a/dev-vcs/git-filter-repo/metadata.xml b/dev-vcs/git-filter-repo/metadata.xml index 568f4c434329..21462aef87a2 100644 --- a/dev-vcs/git-filter-repo/metadata.xml +++ b/dev-vcs/git-filter-repo/metadata.xml @@ -1,7 +1,10 @@ - + + mpagano@gentoo.org + Mike Pagano + newren/git-filter-repo