diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2012-03-16 23:40:04 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2012-03-16 23:40:04 +0000 |
commit | e5970300cbbd147ed35ecad54f31a1078761eb94 (patch) | |
tree | 65f5359a56518591d62f80b3b75dbc094b95be1c /dev-vcs | |
parent | Drop obsolete libXt mask. (diff) | |
download | gentoo-2-e5970300cbbd147ed35ecad54f31a1078761eb94.tar.gz gentoo-2-e5970300cbbd147ed35ecad54f31a1078761eb94.tar.bz2 gentoo-2-e5970300cbbd147ed35ecad54f31a1078761eb94.zip |
version bump
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'dev-vcs')
-rw-r--r-- | dev-vcs/bzrtools/ChangeLog | 7 | ||||
-rw-r--r-- | dev-vcs/bzrtools/bzrtools-2.5.ebuild | 53 |
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-vcs/bzrtools/ChangeLog b/dev-vcs/bzrtools/ChangeLog index afb3999a5d71..7e8bc6c085b5 100644 --- a/dev-vcs/bzrtools/ChangeLog +++ b/dev-vcs/bzrtools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-vcs/bzrtools # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/ChangeLog,v 1.27 2012/02/22 08:45:02 djc Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/ChangeLog,v 1.28 2012/03/16 23:40:04 fauli Exp $ + +*bzrtools-2.5 (16 Mar 2012) + + 16 Mar 2012; Christian Faulhammer <fauli@gentoo.org> +bzrtools-2.5.ebuild: + version bump 22 Feb 2012; Dirkjan Ochtman <djc@gentoo.org> metadata.xml: Remove python herd. diff --git a/dev-vcs/bzrtools/bzrtools-2.5.ebuild b/dev-vcs/bzrtools/bzrtools-2.5.ebuild new file mode 100644 index 000000000000..3f741e260228 --- /dev/null +++ b/dev-vcs/bzrtools/bzrtools-2.5.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/bzrtools-2.5.ebuild,v 1.1 2012/03/16 23:40:04 fauli Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils eutils versionator + +DESCRIPTION="bzrtools is a useful collection of utilities for bzr." +HOMEPAGE="http://bazaar-vcs.org/BzrTools" +SRC_URI="https://launchpad.net/${PN}/stable/${PV}/+download/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos" +IUSE="" +#IUSE="test" + +RDEPEND="|| ( =dev-vcs/bzr-2.4* + =dev-vcs/bzr-2.5* )" +DEPEND="${RDEPEND}" +# test? ( dev-python/testtools )" + +RESTRICT="test" + +S="${WORKDIR}/${PN}" + +DOCS="AUTHORS CREDITS NEWS NEWS.Shelf README README.Shelf TODO TODO.heads TODO.Shelf" +PYTHON_MODNAME="bzrlib/plugins/bzrtools" + +src_test() { + testing() { + local return_status="0" + + # put a linked copy of the bzr core into the build directory to properly + # test the "built" version of bzrtools + find "$(python_get_libdir)/site-packages/bzrlib/" \ + -mindepth 1 -maxdepth 1 \ + \( \( -type d -and -not -name "plugins" \) -or -name "*.py" \) \ + -exec ln -s '{}' "${S}/build-${PYTHON_ABI}/lib/bzrlib/" \; + touch "${S}/build-${PYTHON_ABI}/lib/bzrlib/plugins/__init__.py" + "${S}/test.py" "${S}/build-${PYTHON_ABI}/lib" || return_status="1" + # remove the "shadow" copy so it doesn't get installed + rm "${S}/build-${PYTHON_ABI}/lib/bzrlib/plugins/__init__.py" + find "${S}/build-${PYTHON_ABI}/lib/bzrlib/" -mindepth 1 -maxdepth 1 -type l -exec rm '{}' \; + + return "${return_status}" + } + python_execute_function testing +} |