summaryrefslogtreecommitdiff
blob: 6e1b2b36d3b5e892c22602c7e9f5d0dc74cb27c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"
PYTHON_COMPAT=( python2_7 )

inherit distutils-r1

HGID="aa15905ca87f"
DESCRIPTION="push to and pull from a Git repository using Mercurial"
HOMEPAGE="http://hg-git.github.io https://pypi.org/project/hg-git/"
if [[ ${PV} == *_pre* ]] ; then
	SRC_URI="https://bitbucket.org/durin42/${PN}/get/${HGID}.zip -> ${P}.zip"
	S=${WORKDIR}/durin42-${PN}-${HGID}
else
	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
fi

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""

RDEPEND="
	>=dev-vcs/mercurial-3.6[${PYTHON_USEDEP}]
	>=dev-python/dulwich-0.9.7[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
	dev-python/setuptools[${PYTHON_USEDEP}]
"
BDEPEND="app-arch/unzip"