diff --git a/dev-vcs/hgsubversion/Manifest b/dev-vcs/hgsubversion/Manifest new file mode 100644 index 0000000..45d2533 --- /dev/null +++ b/dev-vcs/hgsubversion/Manifest @@ -0,0 +1,2 @@ +DIST hgsubversion-1.5.tar.gz 153100 SHA256 c45cfcfa635d4f4dd6e1ccc137ee1a183e2c41d9b47299a673d1b9eed80383cc SHA512 acc663b59fd52142cc16fff6c4cf5b8a526f8403bbdad43b1bba34d15665cd15874d4514021642ce77da1bd7b96721dc4dea149aafc782b19249d8f58b405736 WHIRLPOOL 5512b695d2f3b455f84e56d8ca277625b66e4adbccf21a672cdebdd210dfc5c3aebf4d5f73660396b968f01c505aed87ea71bfb174ff3b50e4c127083c083e92 +EBUILD hgsubversion-1.5.ebuild 997 SHA256 c0bc0884805c8fce4aad0bd1a4b0646ce144790fa9cd8836524d43ecc39ea39f SHA512 cd1da7b15dbec75a7f99a779e4b1b6ad7fe900cf2c3617cd28e58d1623d9b05ea1fa27c7d019a47c8ebab7911812c6970ba10ef5731830a6c0e141d5bc3a8a62 WHIRLPOOL 0851ebe7b0e49f59bbe06c15ab2f56aa3253c903efb8d062fdb7c9bbf94469d4da4660c1a61f03169f930da62d1c977dc32afe8b0075c03d13ba038d032d4885 diff --git a/dev-vcs/hgsubversion/hgsubversion-1.5.ebuild b/dev-vcs/hgsubversion/hgsubversion-1.5.ebuild new file mode 100644 index 0000000..0157f9b --- /dev/null +++ b/dev-vcs/hgsubversion/hgsubversion-1.5.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/hgsubversion-1.4.ebuild,v 1.3 2012/06/21 07:03:55 jdhore Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils + +DESCRIPTION="hgsubversion is a Mercurial extension for working with Subversion repositories." +HOMEPAGE="https://bitbucket.org/durin42/hgsubversion/wiki/Home http://pypi.python.org/pypi/hgsubversion" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86 ~ppc-macos ~x64-macos ~x86-solaris" +IUSE="test" + +RDEPEND=" + >=dev-vcs/mercurial-2.3 + || ( + dev-python/subvertpy + >=dev-vcs/subversion-1.5[python] + ) +" +DEPEND=" + dev-python/setuptools + test? ( dev-python/nose ) +" + +DOCS="README" + +src_test() { + cd tests + + testing() { + PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" run.py + } + python_execute_function testing +}