diff options
author | 2011-12-21 23:11:09 +0000 | |
---|---|---|
committer | 2011-12-21 23:11:09 +0000 | |
commit | 1b00d0ac248cdf57976ba52c4536e9210c812c3a (patch) | |
tree | c6f3bff1c78677a518e1d5b33b56aec566286b8f /dev-vcs | |
parent | New version using the 120 api (diff) | |
download | gentoo-2-1b00d0ac248cdf57976ba52c4536e9210c812c3a.tar.gz gentoo-2-1b00d0ac248cdf57976ba52c4536e9210c812c3a.tar.bz2 gentoo-2-1b00d0ac248cdf57976ba52c4536e9210c812c3a.zip |
Add live ebuild and clean up style of DEPEND variables.
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/hgsubversion/ChangeLog | 8 | ||||
-rw-r--r-- | dev-vcs/hgsubversion/hgsubversion-1.3.ebuild | 11 | ||||
-rw-r--r-- | dev-vcs/hgsubversion/hgsubversion-9999.ebuild | 43 |
3 files changed, 57 insertions, 5 deletions
diff --git a/dev-vcs/hgsubversion/ChangeLog b/dev-vcs/hgsubversion/ChangeLog index 6710eb9ddc7c..1db9a01a0654 100644 --- a/dev-vcs/hgsubversion/ChangeLog +++ b/dev-vcs/hgsubversion/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-vcs/hgsubversion # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/ChangeLog,v 1.20 2011/12/21 22:58:33 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/ChangeLog,v 1.21 2011/12/21 23:11:09 floppym Exp $ + +*hgsubversion-9999 (21 Dec 2011) + + 21 Dec 2011; Mike Gilbert <floppym@gentoo.org> +hgsubversion-9999.ebuild, + hgsubversion-1.3.ebuild: + Add live ebuild and clean up style of DEPEND variables. 21 Dec 2011; Mike Gilbert <floppym@gentoo.org> hgsubversion-1.3.ebuild: Add dependency on setuptools. Spotted by Arfrever. diff --git a/dev-vcs/hgsubversion/hgsubversion-1.3.ebuild b/dev-vcs/hgsubversion/hgsubversion-1.3.ebuild index 507aa7c22179..e3e8351e5a35 100644 --- a/dev-vcs/hgsubversion/hgsubversion-1.3.ebuild +++ b/dev-vcs/hgsubversion/hgsubversion-1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/hgsubversion-1.3.ebuild,v 1.3 2011/12/21 22:58:33 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/hgsubversion-1.3.ebuild,v 1.4 2011/12/21 23:11:09 floppym Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -18,14 +18,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86 ~ppc-macos ~x86-solaris" IUSE="test" -RDEPEND=">=dev-vcs/mercurial-1.4 +RDEPEND=" + >=dev-vcs/mercurial-1.4 || ( dev-python/subvertpy >=dev-vcs/subversion-1.5[python] ) " -DEPEND="dev-python/setuptools - test? ( dev-python/nose )" +DEPEND=" + dev-python/setuptools + test? ( dev-python/nose ) +" DOCS="README" diff --git a/dev-vcs/hgsubversion/hgsubversion-9999.ebuild b/dev-vcs/hgsubversion/hgsubversion-9999.ebuild new file mode 100644 index 000000000000..f70800ed87ac --- /dev/null +++ b/dev-vcs/hgsubversion/hgsubversion-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/hgsubversion/hgsubversion-9999.ebuild,v 1.1 2011/12/21 23:11:09 floppym Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" + +inherit distutils mercurial + +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="" +EHG_REPO_URI="https://bitbucket.org/durin42/hgsubversion" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="test" + +RDEPEND=" + >=dev-vcs/mercurial-1.4 + || ( + 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 +} |