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/git-imerge/
Date: Fri, 05 May 2017 23:22:33
Message-Id: 1494026143.a7fd11fb3319f9d2cff549dd9f66f03d9b5fa4cc.mjo@gentoo
1 commit: a7fd11fb3319f9d2cff549dd9f66f03d9b5fa4cc
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 5 23:15:43 2017 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Fri May 5 23:15:43 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7fd11fb
7
8 dev-vcs/git-imerge: new version 1.0.0.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-vcs/git-imerge/Manifest | 2 +-
13 dev-vcs/git-imerge/git-imerge-0.7.0-r1.ebuild | 37 ----------------------
14 dev-vcs/git-imerge/git-imerge-1.0.0.ebuild | 45 +++++++++++++++++++++++++++
15 3 files changed, 46 insertions(+), 38 deletions(-)
16
17 diff --git a/dev-vcs/git-imerge/Manifest b/dev-vcs/git-imerge/Manifest
18 index ee278c952ec..fd9f64a2c16 100644
19 --- a/dev-vcs/git-imerge/Manifest
20 +++ b/dev-vcs/git-imerge/Manifest
21 @@ -1 +1 @@
22 -DIST git-imerge-0.7.0.tar.gz 52040 SHA256 0688fe4c13c65c6fa90989c57c04fafe34114889d2d100b6e62538e8f2b0dc02 SHA512 140fd1b056097ff59848c4312ca02a1bd9ff136b7680e25b8575d3824c9b189fb2f8de2b5100966f774f003bb538f1e649e758edf5ab4bd3b1f9b824645738c4 WHIRLPOOL ab8e412039b82d2d057cba7c4ffe3a392653e88cb2b0492cd7a1da57896e59115c5e4d737b6389ddcf177d0c30ef4d4dc0722d9dc16bd93f6647016ff488588f
23 +DIST git-imerge-1.0.0.tar.gz 58736 SHA256 2ef3a49a6d54c4248ef2541efc3c860824fc8295a7226760f24f0bb2c5dd41f2 SHA512 919b80f157d635e3a3eb2b05cfaf8f6a7034fe6f43529c829fef0152007bce3bf5b296cc00f6db0c0a711bfb9e118c4adb0f5a2641ff841c973ff12610473e9b WHIRLPOOL a347f139d8aec6c616805632385e3466283a778f40a2a87d817c510258f34ada22669209547d282a7d510ad2d56047eb75e8becd138cd7b6dd3b322c5ac9896e
24
25 diff --git a/dev-vcs/git-imerge/git-imerge-0.7.0-r1.ebuild b/dev-vcs/git-imerge/git-imerge-0.7.0-r1.ebuild
26 deleted file mode 100644
27 index 5a4204855ea..00000000000
28 --- a/dev-vcs/git-imerge/git-imerge-0.7.0-r1.ebuild
29 +++ /dev/null
30 @@ -1,37 +0,0 @@
31 -# Copyright 1999-2016 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 python3_4 )
37 -
38 -inherit bash-completion-r1 python-r1
39 -
40 -DESCRIPTION="Incremental merge for git"
41 -HOMEPAGE="https://github.com/mhagger/git-imerge"
42 -SRC_URI="https://github.com/mhagger/git-imerge/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 -
44 -LICENSE="GPL-2+"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE=""
48 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 -
50 -RDEPEND="${PYTHON_DEPS}
51 - dev-vcs/git"
52 -DEPEND="dev-python/docutils"
53 -
54 -src_compile() {
55 - rst2html.py README.rst > README.html || die
56 - rst2s5.py \
57 - --theme=small-white \
58 - --current-slide \
59 - doc/presentations/GitMerge-2013/talk.rst doc/presentations/GitMerge-2013/talk.html || die
60 -}
61 -
62 -src_install() {
63 - dobin ${PN}
64 - python_replicate_script "${D}"/usr/bin/${PN}
65 - newbashcomp "${FILESDIR}"/git-imerge.bashcomplete git-imerge
66 - dodoc README.rst README.html doc/presentations/GitMerge-2013/talk.html
67 -}
68
69 diff --git a/dev-vcs/git-imerge/git-imerge-1.0.0.ebuild b/dev-vcs/git-imerge/git-imerge-1.0.0.ebuild
70 new file mode 100644
71 index 00000000000..cd805b4ba98
72 --- /dev/null
73 +++ b/dev-vcs/git-imerge/git-imerge-1.0.0.ebuild
74 @@ -0,0 +1,45 @@
75 +# Copyright 1999-2017 Gentoo Foundation
76 +# Distributed under the terms of the GNU General Public License v2
77 +
78 +EAPI=6
79 +
80 +PYTHON_COMPAT=( python2_7 python3_4 )
81 +
82 +inherit bash-completion-r1 python-r1
83 +
84 +DESCRIPTION="Incremental merge for git"
85 +HOMEPAGE="https://github.com/mhagger/git-imerge"
86 +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
87 +
88 +LICENSE="GPL-2+"
89 +SLOT="0"
90 +KEYWORDS="~amd64 ~x86"
91 +IUSE=""
92 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
93 +
94 +RDEPEND="${PYTHON_DEPS}
95 + dev-vcs/git"
96 +DEPEND="dev-python/docutils"
97 +
98 +src_compile() {
99 + for doc in *.rst; do
100 + rst2html.py "${doc}" > "${T}/${doc/.rst/.html}" \
101 + || die "failed to convert ${doc} to ${T}/${doc/.rst/.html}"
102 + done
103 +
104 + rst2s5.py \
105 + --theme=small-white \
106 + --current-slide \
107 + doc/presentations/GitMerge-2013/talk.rst \
108 + "${T}/talk.html" \
109 + || die 'failed to convert talk.rst to ${T}/talk.html'
110 +}
111 +
112 +src_install() {
113 + python_foreach_impl python_doscript "${PN}"
114 + newbashcomp "${FILESDIR}/git-imerge.bashcomplete" git-imerge
115 + dodoc *.rst "${T}"/*.html
116 +
117 + # Don't forget the CSS for the presentation.
118 + dodoc -r "${T}/ui"
119 +}