diff options
author | Dirkjan Ochtman <djc@gentoo.org> | 2010-03-06 13:11:22 +0000 |
---|---|---|
committer | Dirkjan Ochtman <djc@gentoo.org> | 2010-03-06 13:11:22 +0000 |
commit | be5b78f77108c3e31306c57c2ba06ccf8727eea3 (patch) | |
tree | f117205cb41539473b91546ade2d218a5964dbf7 /dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild | |
parent | Remove traces of dev-util/mercurial. (diff) | |
download | historical-be5b78f77108c3e31306c57c2ba06ccf8727eea3.tar.gz historical-be5b78f77108c3e31306c57c2ba06ccf8727eea3.tar.bz2 historical-be5b78f77108c3e31306c57c2ba06ccf8727eea3.zip |
Copied dev-util/hgsubversion to dev-vcs.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild')
-rw-r--r-- | dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild b/dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild new file mode 100644 index 000000000000..bb911fd99f9e --- /dev/null +++ b/dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/hgsubversion-1.0.1.ebuild,v 1.1 2010/03/06 13:11:22 djc Exp $ + +EAPI="2" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="hgsubversion is a Mercurial extension for working with Subversion" +HOMEPAGE="http://bitbucket.org/durin42/hgsubversion http://pypi.python.org/pypi/hgsubversion" +SRC_URI="http://bitbucket.org/durin42/${PN}/get/${PV}.tar.gz -> ${PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=">=dev-vcs/mercurial-1.4 + >=dev-util/subversion-1.5[python]" +DEPEND="test? ( dev-python/nose )" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="README" + +S="${WORKDIR}/${PN}" + +src_test() { + cd "${S}/tests" + testing() { + "$(PYTHON)" run.py + } + python_execute_function testing +} |