diff options
Diffstat (limited to 'dev-vcs/hg-git/hg-git-0.8.13_pre20190808.ebuild')
-rw-r--r-- | dev-vcs/hg-git/hg-git-0.8.13_pre20190808.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-vcs/hg-git/hg-git-0.8.13_pre20190808.ebuild b/dev-vcs/hg-git/hg-git-0.8.13_pre20190808.ebuild new file mode 100644 index 000000000000..6e1b2b36d3b5 --- /dev/null +++ b/dev-vcs/hg-git/hg-git-0.8.13_pre20190808.ebuild @@ -0,0 +1,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" |