Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/hg-fast-export/
Date: Fri, 28 Aug 2015 02:23:06
Message-Id: 1440728603.946f0ad99537140416114728e4d8b25304cc65e9.ottxor@gentoo
1 commit: 946f0ad99537140416114728e4d8b25304cc65e9
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 28 02:20:12 2015 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 28 02:23:23 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946f0ad9
7
8 dev-vcs/hg-fast-export: version bump
9
10 Package-Manager: portage-2.2.20.1
11
12 dev-vcs/hg-fast-export/Manifest | 1 +
13 .../hg-fast-export/hg-fast-export-20150816.ebuild | 39 ++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-vcs/hg-fast-export/Manifest b/dev-vcs/hg-fast-export/Manifest
17 index 515f9b6..19cb245 100644
18 --- a/dev-vcs/hg-fast-export/Manifest
19 +++ b/dev-vcs/hg-fast-export/Manifest
20 @@ -1,2 +1,3 @@
21 DIST hg-fast-export-20140328.tar.gz 14436 SHA256 a580dcd0ab2205de8e59cd3c46a23661799e433293b5a8d52179632eead0a690 SHA512 9eb7613634a176a5f273f5f86d0cdc544b360e98743866e47cf36859e1a84e95bb88b646e7c36d8671b7c7e61a0601684c38372c95aa173d324b897d6db7a39c WHIRLPOOL 1dd863a7685713fe244d71af1d7ffcbcb45a0904fad0cd31be64b524c7e5d37bd51ad13c11205eb587e606b57148f86041f334423d808335bf3137c46be9ce31
22 DIST hg-fast-export-20140706.tar.gz 14671 SHA256 cab19797e7903fc7c6aeee00317d27608d1724837554c2dea47ac531b348cd73 SHA512 1c7421f6944af822dd0a6b8ac23c31f198b15da77a16773c5fd80371c3e059e1f45c1e67e5d88cfcf130e648252a76d923badf7fa2e0e3bd1a32e561c1c8f150 WHIRLPOOL 43d96daf9a77b18c7e7e2fe5375107a00e2b92f4ee1ed303534dfff42077b0a27c52ab65b89f308e3f5bda23f58a4f073537c60c69e94fed7f191e22bb04a49c
23 +DIST hg-fast-export-20150816.tar.gz 15245 SHA256 d1c31db38318ce8af1abcdc75a02ee9f738ff652f602309ce4ded884ad8d1406 SHA512 d6276c4f2eaaf580d2218f8561e9e60191dfcecdfbc612e0d216475fd16d1257c65ea95415cdd9a57a1c7f18773d616fad610a7931747e6579d6529e40a84a8a WHIRLPOOL fb6106fec5e33e26843d1967ce6f9eacb570906b5e77b62732820f85cc54eadcbd218a3e53c7fef00d9621865b0c976537e02c9f4c13a25fca53c57cf975d026
24
25 diff --git a/dev-vcs/hg-fast-export/hg-fast-export-20150816.ebuild b/dev-vcs/hg-fast-export/hg-fast-export-20150816.ebuild
26 new file mode 100644
27 index 0000000..1d91066
28 --- /dev/null
29 +++ b/dev-vcs/hg-fast-export/hg-fast-export-20150816.ebuild
30 @@ -0,0 +1,39 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python2_7 )
38 +
39 +inherit python-r1 vcs-snapshot
40 +
41 +COMMIT="3c27c693e13482059966003dd6545941b942a97a"
42 +DESCRIPTION="mercurial to git converter using git-fast-import"
43 +HOMEPAGE="https://github.com/frej/fast-export"
44 +SRC_URI="${HOMEPAGE}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~arm"
49 +IUSE=""
50 +
51 +DEPEND=""
52 +RDEPEND="dev-vcs/git
53 + dev-vcs/mercurial
54 + ${PYTHON_DEPS}"
55 +
56 +src_prepare() {
57 + sed -e '/^PYTHON/s/python/&2.7/' \
58 + -e '/^PYTHON/s/PYTHON:/E&/g' \
59 + -e "/^ROOT/s:=.*:='${EPREFIX}/usr/bin':" \
60 + -i "${PN}".sh || die
61 + rm Makefile || die #don't compile old svn2git code
62 +}
63 +
64 +src_install() {
65 + newbin "${PN}".sh "${PN}"
66 + dodoc README
67 + python_foreach_impl python_doexe "${PN}".py
68 + python_foreach_impl python_domodule hg2git.py
69 +}