summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2022-05-14 20:41:14 +0800
committerYixun Lan <dlan@gentoo.org>2022-05-14 20:54:15 +0800
commitf5ae781467d8fb1ed594b352103b1e4bea9dbafc (patch)
tree84ff924e7c9f4794e64d86bd38a41a9460e01ed0
parentnet-misc/curl: Stabilize 7.83.1 hppa, #842531 (diff)
downloadgentoo-f5ae781467d8fb1ed594b352103b1e4bea9dbafc.tar.gz
gentoo-f5ae781467d8fb1ed594b352103b1e4bea9dbafc.tar.bz2
gentoo-f5ae781467d8fb1ed594b352103b1e4bea9dbafc.zip
dev-vcs/git-publish: add 1.8.1
Signed-off-by: Yixun Lan <dlan@gentoo.org>
-rw-r--r--dev-vcs/git-publish/Manifest1
-rw-r--r--dev-vcs/git-publish/git-publish-1.8.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-vcs/git-publish/Manifest b/dev-vcs/git-publish/Manifest
index 0b791d67d66..efb0b9f12c5 100644
--- a/dev-vcs/git-publish/Manifest
+++ b/dev-vcs/git-publish/Manifest
@@ -1,2 +1,3 @@
DIST git-publish-1.7.0.tar.gz 21569 BLAKE2B 1438e5018ebe7d258fee2527597e56080b574765a87b03d814b6d0d41c68397cba6099866382e9f2c560d8bab58214fb9e5f54f0127433917178337df81ff789 SHA512 dbf343e0284c52edd42ba8d844a9db90810ddd02e7a98bcd1c2af72cd9f5242e9c0a9ea921edf47583bfe05943288286e57a018a7a6b2dcf25bae4f663225025
DIST git-publish-1.8.0.tar.gz 21961 BLAKE2B b693eb798527436b17f1c100d9d9bdb045322741d72c3c0b934765a2b9db8ac2b056160db33c4786ce6410a78fc7529ce7eec9aaa1cc436675bef13bdb3bdea1 SHA512 8fe01b354b0484ead603cc8702c6d0d2702ddde50cc44d0e7d4f5c9ab490fd74ac6011281840b369925a78ee7b11355f40ed856af5456fdc46bea644a6a35206
+DIST git-publish-1.8.1.tar.gz 21953 BLAKE2B b60f6a9e96c11648c9ee3b5ee9e3107049b369ce4c937f4aaf0d758d1c65cfc73f25350fa42e27599f999816cc1133f4d8d48c6c7f62a751fa9867e9c539c84e SHA512 7af832d384affd6d8cb8a5c062edae06ab284a1de66c2d79619d6ded3a4399ce5ed0ec3ad33e206b8899801f10d93116cc043ba1f08e356d4772c172fefb7260
diff --git a/dev-vcs/git-publish/git-publish-1.8.1.ebuild b/dev-vcs/git-publish/git-publish-1.8.1.ebuild
new file mode 100644
index 00000000000..d5d9e519c0a
--- /dev/null
+++ b/dev-vcs/git-publish/git-publish-1.8.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+inherit python-single-r1
+
+DESCRIPTION="Tool for preparing and storing patch revisions as git tag"
+HOMEPAGE="https://github.com/stefanha/git-publish"
+SRC_URI="https://github.com/stefanha/git-publish/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+man"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-vcs/git
+"
+BDEPEND="${PYTHON_DEPS}
+ man? ( dev-lang/perl )
+"
+
+src_prepare() {
+ default
+ python_fix_shebang git-publish
+}
+
+src_compile() {
+ if use man; then
+ pod2man --center "git-publish Documentation" --release "${PV}" \
+ git-publish.pod git-publish.1 || die
+ fi
+}
+
+src_install() {
+ dobin git-publish
+ use man && doman git-publish.1
+ insinto /usr/share/${PN}/hooks
+ doins hooks/pre-publish-send-email.example
+}