1 |
commit: e08e3c50fd5f8e4e21c745046247a1b3e5a39556 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 6 23:41:49 2022 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 6 23:45:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e08e3c50 |
7 |
|
8 |
dev-vcs/stgit: drop 1.4 |
9 |
|
10 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
11 |
|
12 |
dev-vcs/stgit/Manifest | 1 - |
13 |
dev-vcs/stgit/stgit-1.4.ebuild | 78 ------------------------------------------ |
14 |
2 files changed, 79 deletions(-) |
15 |
|
16 |
diff --git a/dev-vcs/stgit/Manifest b/dev-vcs/stgit/Manifest |
17 |
index 97be0a4a0d6c..e21c088a4b96 100644 |
18 |
--- a/dev-vcs/stgit/Manifest |
19 |
+++ b/dev-vcs/stgit/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST stgit-1.4.tar.gz 390734 BLAKE2B a2c8b6848cacd743022318ebf9a0512c6bd02a2b8c864db2270e5075c82dfd9e6037a3a79978b2061487bf040864077b0f7836c66986d82ff3eb902331589d87 SHA512 5251dc26a7c64dcc83021399f95ea911d6b65cfb2ee5c016c886447740ed48b66d3f0bd92a45b4aed40ae2e77dfe6ba62336dbba6773a1879ab749c95bb99b4b |
22 |
DIST stgit-1.5.tar.gz 398562 BLAKE2B 922e014dcd0976a6b9ac884faa5ac6d8cb0e9efe6c56201c85675afb041e0190d07fb3cbcd366664b736d428d93188fc92c19db9a8d1fdc322054e1480b5b8f8 SHA512 6f018754f43c3ba48ce381b59f0e4033c295f0bd0acee4d07c1457f2c004caee9d8e9f6b2af1ee0d46941777639c7f5a49caa4c0dd01a72c3f3a43a34bf9b2bf |
23 |
|
24 |
diff --git a/dev-vcs/stgit/stgit-1.4.ebuild b/dev-vcs/stgit/stgit-1.4.ebuild |
25 |
deleted file mode 100644 |
26 |
index 27a2b51f5133..000000000000 |
27 |
--- a/dev-vcs/stgit/stgit-1.4.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,78 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{8..10} ) |
36 |
- |
37 |
-inherit bash-completion-r1 distutils-r1 |
38 |
- |
39 |
-DESCRIPTION="Manage a stack of patches using GIT as a backend" |
40 |
-HOMEPAGE="https://stacked-git.github.io" |
41 |
-UPSTREAM_VER= |
42 |
-[[ -n ${UPSTREAM_VER} ]] && \ |
43 |
- UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
44 |
- |
45 |
-SRC_URI="https://github.com/ctmarinas/stgit/archive/v${PV}.tar.gz -> ${P}.tar.gz |
46 |
- ${UPSTREAM_PATCHSET_URI}" |
47 |
- |
48 |
-LICENSE="GPL-2" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" |
51 |
-IUSE="doc" |
52 |
- |
53 |
-RDEPEND=">=dev-vcs/git-1.6.3.3" |
54 |
- |
55 |
-# NOTE: It seems to be quite important which asciidoc version to use. |
56 |
-# So keep an eye on it for the future. |
57 |
-DEPEND="${RDEPEND} |
58 |
- doc? ( |
59 |
- app-text/asciidoc |
60 |
- app-text/xmlto |
61 |
- dev-lang/perl |
62 |
- )" |
63 |
- |
64 |
-pkg_setup() { |
65 |
- if ! use doc; then |
66 |
- echo |
67 |
- ewarn "Manpages will not be built and installed." |
68 |
- ewarn "Enable the 'doc' useflag, if you want them." |
69 |
- echo |
70 |
- fi |
71 |
-} |
72 |
- |
73 |
-python_prepare_all() { |
74 |
- # Upstream's patchset |
75 |
- [[ -n ${UPSTREAM_VER} ]] && \ |
76 |
- eapply "${WORKDIR}"/patches-upstream |
77 |
- |
78 |
- # this will be a noop, as we are working with a tarball, |
79 |
- # but throws git errors --> just get rid of it |
80 |
- echo "version=\"${PV}\"" > "${S}"/stgit/builtin_version.py |
81 |
- |
82 |
- distutils-r1_python_prepare_all |
83 |
-} |
84 |
- |
85 |
-src_compile() { |
86 |
- distutils-r1_src_compile |
87 |
- |
88 |
- # bug 526468 |
89 |
- if use doc; then |
90 |
- emake htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \ |
91 |
- mandir="${EPREFIX}/usr/share/man/" \ |
92 |
- doc |
93 |
- fi |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- if use doc; then |
98 |
- emake DESTDIR="${D}" \ |
99 |
- htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \ |
100 |
- mandir="${EPREFIX}/usr/share/man/" \ |
101 |
- install-doc install-html |
102 |
- fi |
103 |
- |
104 |
- distutils-r1_src_install |
105 |
- |
106 |
- newbashcomp completion/stgit.bash 'stg' |
107 |
-} |