Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/guilt/
Date: Fri, 05 May 2017 19:31:38
Message-Id: 1494012576.0443b23240349e09a37e04e32b4f485d9311d470.mjo@gentoo
1 commit: 0443b23240349e09a37e04e32b4f485d9311d470
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 5 19:29:05 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri May 5 19:29:36 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0443b232
7
8 dev-vcs/guilt: new version 0.36.
9
10 This new version comes with an update to EAPI=6 and rewrite of parts
11 of the ebuild. By passing some variables to emake, I was able to get
12 the "make install" targets to do the right thing on their own.
13
14 There's also a new HOMEPAGE, and the SRC_URI is a gitweb tarball
15 associated with a tag upstream.
16
17 Package-Manager: Portage-2.3.3, Repoman-2.3.1
18
19 dev-vcs/guilt/Manifest | 3 +--
20 dev-vcs/guilt/guilt-0.34.ebuild | 48 ---------------------------------------
21 dev-vcs/guilt/guilt-0.36.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++
22 3 files changed, 51 insertions(+), 50 deletions(-)
23
24 diff --git a/dev-vcs/guilt/Manifest b/dev-vcs/guilt/Manifest
25 index ebda16759f8..10ac9d99b32 100644
26 --- a/dev-vcs/guilt/Manifest
27 +++ b/dev-vcs/guilt/Manifest
28 @@ -1,4 +1,3 @@
29 +DIST 22d785dd24329170f66e7696da38b3e90e033d61.tar.gz 64624 SHA256 1e1a86ecfc2162c01b7d62c279ad055c643074d2b5239301d818ca81b31b6c0e SHA512 882438d5b9ed4d16e3dfc95ddbef6ec1d76860d82aa6abc78010351577fb65578f919c6fe55f9d7593c82b0eae2d0dd80d577eee906fff84a426391936242652 WHIRLPOOL 85749fcf66be08164e6a1e8ce58b3351e0a2c114042a8cdd43b05b52300b47f76bdf53d5b0affd809b66a0cfdfaeb327cd5d49c5a3d4793eb51b030e314a4789
30 DIST guilt-0.32.tar.bz2 42248 SHA256 813ca10e4c803b6d387a8458dbbad2b1046fe0e2f77c60bc050bc0dc272e5162 SHA512 d2e59d8a04e072de36229b2ff5e6c944e87bd0dc18f83804f529807aa0b97aba1c37644ab6d8859abb58a9fe04d2f6562c77a25c7cd8fe4ad7631a1b77a112f9 WHIRLPOOL 91c270eb4bc2902dce1f75b9b551ba96ba56ff616e6a6ddbd2ebc86f02d5dedc990eddce817560f59465fb30fd868817ce1f5b42da99a52c30aa95f95fab39d5
31 -DIST guilt-0.34.tar.bz2 43563 SHA256 be379dced950d512df0f33dfd385384aba2db8f1eb5a55c11fe2ba28317c8e33 SHA512 9c46dddad3e879939d2b31720660c4b6d62d46114cf4731aa7c826554b1e97eeff044e5373f5bf2f7539d49d969fc451a8a4392f05880ed444a2b0d76a7d22d4 WHIRLPOOL 41568c9dcc547944032aee824d11983f81530c643825755e34efe01a1395168fe1ad7072af7f5018d01c53c23ca379ddf2797749f37a66468a10c9bd035ab6bd
32 DIST guilt-manpages-0.32.tar.bz2 9503 SHA256 8b74f34072d17894eabf1c14abcaf681a5658beee13c99fed082ac95e4b4009e SHA512 6174cdd6e7262efb06a2c212de309e1268c8b05e4aeeaace7f8e5874700f9b62dcc82ca9c596987f81dc7a64e525232816b516f47abcfe26aece438fe571f788 WHIRLPOOL 7ca734852eee65fa85a5a2e009d3eb0e694f6b00952c0c8785745befd0d92b1374dd5531d1d784e4f90d96c34c51c7a5bffa1f321d45042d4a69f4ed9514d583
33 -DIST guilt-manpages-0.34.tar.bz2 7566 SHA256 0e505de837f3039f96d4d393434034e23e9c8a8e5db48bea75d197cdd2d92b4e SHA512 e5056038d2f646c8fc78f9bc6e2afa81de8767a071f55735125eff34f7d8bb15509613a21545f868f931ee5bc24c41cffacaca047180adb1485ab76ab191be76 WHIRLPOOL ab928d575a29de8383c998dfd3ddb5667c133474ab8f79655036ebe67f7079d9f3b77cfa08dbe739e2db7bbbb430cc47bc5f24973dfe2f27e8ade4e0b9e9c428
34
35 diff --git a/dev-vcs/guilt/guilt-0.34.ebuild b/dev-vcs/guilt/guilt-0.34.ebuild
36 deleted file mode 100644
37 index 470c6fcf7a0..00000000000
38 --- a/dev-vcs/guilt/guilt-0.34.ebuild
39 +++ /dev/null
40 @@ -1,48 +0,0 @@
41 -# Copyright 1999-2010 Gentoo Foundation
42 -# Distributed under the terms of the GNU General Public License v2
43 -
44 -DESCRIPTION="A series of bash scripts which add a quilt-like interface to git"
45 -HOMEPAGE="https://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/"
46 -# create manpages with "make -C Documentation man"
47 -SRC_URI="mirror://kernel/linux/kernel/people/jsipek/${PN}/${P}.tar.bz2
48 - mirror://gentoo/${PN}-manpages-${PV}.tar.bz2"
49 -
50 -LICENSE="GPL-2"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
53 -IUSE="doc"
54 -
55 -RDEPEND="dev-vcs/git"
56 -DEPEND="${RDEPEND}
57 - doc? ( app-text/asciidoc app-text/xmlto )"
58 -
59 -RESTRICT="test"
60 -
61 -src_unpack() {
62 - unpack ${A}
63 - cd "${S}"
64 -
65 - sed -i \
66 - -e '/^PREFIX/s:=.*:=/usr:' \
67 - -e "/^htmldir/s:=.*:=/usr/share/doc/${PF}/html:" \
68 - -e "/^VERSION/s:=.*:=${PV}:" \
69 - Makefile */Makefile || die
70 -}
71 -
72 -src_compile() {
73 - if use doc ; then
74 - emake -C Documentation html || die
75 - fi
76 -}
77 -
78 -src_install() {
79 - emake install DESTDIR="${D}" || die
80 -
81 - dodoc Documentation/{Contributing,Features,HOWTO,Requirements}
82 - doman Documentation/*.[0-9] || die
83 -
84 - if use doc ; then
85 - dodir "/usr/share/doc/${PF}/html"
86 - emake -C Documentation install-html DESTDIR="${D}" || die
87 - fi
88 -}
89
90 diff --git a/dev-vcs/guilt/guilt-0.36.ebuild b/dev-vcs/guilt/guilt-0.36.ebuild
91 new file mode 100644
92 index 00000000000..006b0d76351
93 --- /dev/null
94 +++ b/dev-vcs/guilt/guilt-0.36.ebuild
95 @@ -0,0 +1,50 @@
96 +# Copyright 1999-2017 Gentoo Foundation
97 +# Distributed under the terms of the GNU General Public License v2
98 +
99 +EAPI=6
100 +
101 +DESCRIPTION="A series of bash scripts which add a quilt-like interface to git"
102 +HOMEPAGE="http://repo.or.cz/w/guilt.git"
103 +SRC_URI="${HOMEPAGE}/snapshot/22d785dd24329170f66e7696da38b3e90e033d61.tar.gz"
104 +
105 +LICENSE="GPL-2"
106 +SLOT="0"
107 +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
108 +IUSE=""
109 +
110 +# Since we need to build the man pages anyway, I don't think it makes
111 +# much sense to hide the HTML docs behind USE=doc.
112 +RDEPEND="dev-vcs/git"
113 +DEPEND="${RDEPEND}
114 + app-text/asciidoc
115 + app-text/xmlto
116 + dev-lang/perl"
117 +
118 +RESTRICT="test"
119 +
120 +S="${WORKDIR}/${PN}-22d785d"
121 +
122 +src_prepare() {
123 + default
124 +
125 + # The doc makefile tries to shell out to `git` for the version.
126 + sed -i Documentation/Makefile \
127 + -e "s/VERSION=.*/VERSION=${PV}/" \
128 + || die 'failed to set VERSION in Documentation/Makefile'
129 +}
130 +
131 +src_compile() {
132 + emake -C Documentation all
133 +}
134 +
135 +src_install() {
136 + emake DESTDIR="${D}" PREFIX=/usr install
137 +
138 + dodoc Documentation/{Contributing,Features,HOWTO,Requirements}
139 + emake -C Documentation \
140 + DESTDIR="${D}" \
141 + PREFIX=/usr \
142 + mandir=/usr/share/man \
143 + htmldir="/usr/share/doc/${PF}/html" \
144 + install install-html
145 +}