1 |
commit: 89997ca88b0c8241e8fa5f24bfc6a7d82b6290fe |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 21 08:26:31 2022 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 26 08:41:47 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89997ca8 |
7 |
|
8 |
dev-vcs/git-publish: add 1.8.0 |
9 |
|
10 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
11 |
|
12 |
dev-vcs/git-publish/Manifest | 1 + |
13 |
dev-vcs/git-publish/git-publish-1.8.0.ebuild | 43 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-vcs/git-publish/Manifest b/dev-vcs/git-publish/Manifest |
17 |
index 09e46d1b96d0..0b791d67d666 100644 |
18 |
--- a/dev-vcs/git-publish/Manifest |
19 |
+++ b/dev-vcs/git-publish/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST git-publish-1.7.0.tar.gz 21569 BLAKE2B 1438e5018ebe7d258fee2527597e56080b574765a87b03d814b6d0d41c68397cba6099866382e9f2c560d8bab58214fb9e5f54f0127433917178337df81ff789 SHA512 dbf343e0284c52edd42ba8d844a9db90810ddd02e7a98bcd1c2af72cd9f5242e9c0a9ea921edf47583bfe05943288286e57a018a7a6b2dcf25bae4f663225025 |
22 |
+DIST git-publish-1.8.0.tar.gz 21961 BLAKE2B b693eb798527436b17f1c100d9d9bdb045322741d72c3c0b934765a2b9db8ac2b056160db33c4786ce6410a78fc7529ce7eec9aaa1cc436675bef13bdb3bdea1 SHA512 8fe01b354b0484ead603cc8702c6d0d2702ddde50cc44d0e7d4f5c9ab490fd74ac6011281840b369925a78ee7b11355f40ed856af5456fdc46bea644a6a35206 |
23 |
|
24 |
diff --git a/dev-vcs/git-publish/git-publish-1.8.0.ebuild b/dev-vcs/git-publish/git-publish-1.8.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..e88b6924fa56 |
27 |
--- /dev/null |
28 |
+++ b/dev-vcs/git-publish/git-publish-1.8.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit python-single-r1 |
37 |
+ |
38 |
+DESCRIPTION="Tool for preparing and storing patch revisions as git tag" |
39 |
+HOMEPAGE="https://github.com/stefanha/git-publish" |
40 |
+SRC_URI="https://github.com/stefanha/git-publish/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="+man" |
46 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
47 |
+ |
48 |
+RDEPEND="${PYTHON_DEPS} |
49 |
+ dev-vcs/git |
50 |
+" |
51 |
+BDEPEND="${PYTHON_DEPS} |
52 |
+ man? ( dev-lang/perl ) |
53 |
+" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ python_fix_shebang git-publish |
58 |
+} |
59 |
+ |
60 |
+src_compile() { |
61 |
+ if use man; then |
62 |
+ pod2man --center "git-publish Documentation" --release "${PV}" \ |
63 |
+ git-publish.pod git-publish.1 || die |
64 |
+ fi |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ dobin git-publish |
69 |
+ use man && doman git-publish.1 |
70 |
+ insinto /usr/share/${PN}/hooks |
71 |
+ doins hooks/pre-publish-send-email.example |
72 |
+} |