summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2011-03-22 20:27:01 +0000
committerChristian Faulhammer <fauli@gentoo.org>2011-03-22 20:27:01 +0000
commit4a28be133b34ecf294130f0f348d5b00b04dce5b (patch)
tree2034f2e04ead587cb0e40e7b2c6a1b4eae5d7571 /dev-vcs/bzrtools
parentRemove comment about directory name is this seems to have become standard. (diff)
downloadgentoo-2-4a28be133b34ecf294130f0f348d5b00b04dce5b.tar.gz
gentoo-2-4a28be133b34ecf294130f0f348d5b00b04dce5b.tar.bz2
gentoo-2-4a28be133b34ecf294130f0f348d5b00b04dce5b.zip
version bump
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'dev-vcs/bzrtools')
-rw-r--r--dev-vcs/bzrtools/ChangeLog8
-rw-r--r--dev-vcs/bzrtools/bzrtools-2.3.1.ebuild52
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-vcs/bzrtools/ChangeLog b/dev-vcs/bzrtools/ChangeLog
index c3123526cd82..88086ce99361 100644
--- a/dev-vcs/bzrtools/ChangeLog
+++ b/dev-vcs/bzrtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-vcs/bzrtools
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/ChangeLog,v 1.15 2011/02/25 22:21:13 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/ChangeLog,v 1.16 2011/03/22 20:27:01 fauli Exp $
+
+*bzrtools-2.3.1 (22 Mar 2011)
+
+ 22 Mar 2011; Christian Faulhammer <fauli@gentoo.org>
+ +bzrtools-2.3.1.ebuild:
+ version bump
25 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
bzrtools-2.3.0.ebuild:
diff --git a/dev-vcs/bzrtools/bzrtools-2.3.1.ebuild b/dev-vcs/bzrtools/bzrtools-2.3.1.ebuild
new file mode 100644
index 000000000000..5e86982ee242
--- /dev/null
+++ b/dev-vcs/bzrtools/bzrtools-2.3.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/bzrtools-2.3.1.ebuild,v 1.1 2011/03/22 20:27:01 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}/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+#IUSE="test"
+
+RDEPEND="=dev-vcs/bzr-$(get_version_component_range 1-2)*"
+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
+}