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