Gentoo Archives: gentoo-commits

From: Christoph Junghans <junghans@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/hg-fast-export/
Date: Fri, 01 Mar 2019 22:24:47
Message-Id: 1551479065.56c627b0c8129990685b070d471ff166f15fbe75.junghans@gentoo
1 commit: 56c627b0c8129990685b070d471ff166f15fbe75
2 Author: Christoph Junghans <junghans <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 1 22:22:43 2019 +0000
4 Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 1 22:24:25 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56c627b0
7
8 dev-vcs/hg-fast-export: version bump
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.11
11 Signed-off-by: Christoph Junghans <junghans <AT> gentoo.org>
12
13 dev-vcs/hg-fast-export/Manifest | 1 +
14 .../hg-fast-export/hg-fast-export-190107.ebuild | 41 ++++++++++++++++++++++
15 2 files changed, 42 insertions(+)
16
17 diff --git a/dev-vcs/hg-fast-export/Manifest b/dev-vcs/hg-fast-export/Manifest
18 index 497e7a8f9b9..08115cbaa4e 100644
19 --- a/dev-vcs/hg-fast-export/Manifest
20 +++ b/dev-vcs/hg-fast-export/Manifest
21 @@ -1 +1,2 @@
22 DIST hg-fast-export-160914.tar.gz 11379 BLAKE2B b751fd954af7a69430459c27dc1948d82aa7abd71db48fcdb98bb0d1b8151910b3417723d2acac1192d26b7f8dde98739b24fd90833fae5d123408293a4c274a SHA512 9e57e7835cc50e8db5d2ebf840d60b4ce25ec19e9722e705eba1178cc41fde57129664de3e1fc157ce8352632c8d0b8be33109afa50b53e159793a8a2ed21fea
23 +DIST hg-fast-export-190107.tar.gz 17774 BLAKE2B f490c59299d2e486b2b8854cba10630a7b6ebec60bb5f71d342c537e7fee9df3c2bda9264b9e3f865fb0d50bdd0fa1cf125611a2b890c5d79e947d905e4d14f9 SHA512 5449aeb717e1e550fb4c4908be994cb642d4ac2947bda3ae50a9f4024c48426f5b07438081800882000797aa181ccfcb304dfcf18c079ee91c9645bd20b583fd
24
25 diff --git a/dev-vcs/hg-fast-export/hg-fast-export-190107.ebuild b/dev-vcs/hg-fast-export/hg-fast-export-190107.ebuild
26 new file mode 100644
27 index 00000000000..df39ee8c1cb
28 --- /dev/null
29 +++ b/dev-vcs/hg-fast-export/hg-fast-export-190107.ebuild
30 @@ -0,0 +1,41 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +PYTHON_COMPAT=( python2_7 )
37 +
38 +inherit python-r1 vcs-snapshot
39 +
40 +DESCRIPTION="mercurial to git converter using git-fast-import"
41 +HOMEPAGE="https://github.com/frej/fast-export"
42 +SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE=""
48 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
49 +
50 +DEPEND="${PYTHON_DEPS}"
51 +RDEPEND="${DEPEND}
52 + dev-vcs/git
53 + dev-vcs/mercurial
54 + dev-python/python-pluginloader[${PYTHON_USEDEP}]"
55 +
56 +src_prepare() {
57 + default
58 + sed -e '/^PYTHON/s/python2\?/python2.7/' \
59 + -e '/^PYTHON/s/PYTHON:/E&/g' \
60 + -e "/^ROOT/s:=.*:='${EPREFIX}/usr/bin':" \
61 + -i "${PN}".sh hg-reset.sh || die
62 +}
63 +
64 +src_install() {
65 + default
66 + newbin "${PN}".sh "${PN}"
67 + newbin hg-reset.sh hg-reset
68 + python_foreach_impl python_doexe "${PN}".py
69 + python_foreach_impl python_doexe hg-reset.py
70 + python_foreach_impl python_domodule hg2git.py
71 +}