summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-10-29 14:11:14 +0200
committerMichał Górny <mgorny@gentoo.org>2021-10-29 14:19:29 +0200
commit15f3b2fa09267bbf18a43c76f6b8f65e6dfa213e (patch)
treee0c4297083e532b5241a25a50bc8fe79a66bcfb8
parentnet-libs/xdp-tools: incorporate suggestions from QA (diff)
downloadgentoo-15f3b2fa.tar.gz
gentoo-15f3b2fa.tar.bz2
gentoo-15f3b2fa.zip
dev-vcs/git-filter-repo: Bump to 2.33.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-vcs/git-filter-repo/Manifest1
-rw-r--r--dev-vcs/git-filter-repo/git-filter-repo-2.33.0.ebuild35
-rw-r--r--dev-vcs/git-filter-repo/metadata.xml11
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-vcs/git-filter-repo/Manifest b/dev-vcs/git-filter-repo/Manifest
new file mode 100644
index 000000000000..d85268c82e90
--- /dev/null
+++ b/dev-vcs/git-filter-repo/Manifest
@@ -0,0 +1 @@
+DIST git-filter-repo-2.33.0.tar.xz 148024 BLAKE2B d23b47575cad60db2c42fe794d6b648ee14b0c126cc832b267030e6c8b4edb0acd6fe7e2666da086b3c79184a7e4362b585dfab8966102552f8317e3027d5d32 SHA512 9a4fc3e95c9b6bd399925bb8554acf93711a015756cc826a9f9ed06e91538addb78b3120876c46af4245892adfca7428d915a33d6d2890d9c0196cef5d4faa0f
diff --git a/dev-vcs/git-filter-repo/git-filter-repo-2.33.0.ebuild b/dev-vcs/git-filter-repo/git-filter-repo-2.33.0.ebuild
new file mode 100644
index 000000000000..dfc0b43cc287
--- /dev/null
+++ b/dev-vcs/git-filter-repo/git-filter-repo-2.33.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+inherit python-single-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 ~x86"
+REQUIRED_USE=${PYTHON_REQUIRED_USE}
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-vcs/git-2.24.0"
+
+src_compile() {
+ :
+}
+
+src_test() {
+ bash t/run_tests || die
+}
+
+src_install() {
+ python_fix_shebang git-filter-repo
+ dobin git-filter-repo
+ doman Documentation/man1/git-filter-repo.1
+}
diff --git a/dev-vcs/git-filter-repo/metadata.xml b/dev-vcs/git-filter-repo/metadata.xml
new file mode 100644
index 000000000000..8cb46cff61f8
--- /dev/null
+++ b/dev-vcs/git-filter-repo/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">newren/git-filter-repo</remote-id>
+ </upstream>
+</pkgmetadata>