summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-08-27 14:26:14 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-08-27 14:26:14 +0000
commit8432da9ee90caf8b8903e40f0d0c93addb261546 (patch)
tree97fa9d1861f274429f807ef84ddb7acfa4d0a4eb
parentversion bump (diff)
downloadgentoo-2-8432da9ee90caf8b8903e40f0d0c93addb261546.tar.gz
gentoo-2-8432da9ee90caf8b8903e40f0d0c93addb261546.tar.bz2
gentoo-2-8432da9ee90caf8b8903e40f0d0c93addb261546.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
-rw-r--r--dev-util/bzrtools/ChangeLog8
-rw-r--r--dev-util/bzrtools/bzrtools-1.18.0.ebuild44
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-util/bzrtools/ChangeLog b/dev-util/bzrtools/ChangeLog
index ffe68b8232a9..5db463790eef 100644
--- a/dev-util/bzrtools/ChangeLog
+++ b/dev-util/bzrtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/bzrtools
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.65 2009/08/18 11:19:10 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.66 2009/08/27 14:26:14 fauli Exp $
+
+*bzrtools-1.18.0 (27 Aug 2009)
+
+ 27 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
+ +bzrtools-1.18.0.ebuild:
+ version bump
*bzrtools-1.17.0 (18 Aug 2009)
diff --git a/dev-util/bzrtools/bzrtools-1.18.0.ebuild b/dev-util/bzrtools/bzrtools-1.18.0.ebuild
new file mode 100644
index 000000000000..2a76b39ed96e
--- /dev/null
+++ b/dev-util/bzrtools/bzrtools-1.18.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/bzrtools-1.18.0.ebuild,v 1.1 2009/08/27 14:26:14 fauli Exp $
+
+EAPI="2"
+
+NEED_PYTHON=2.4
+inherit eutils distutils versionator
+
+DESCRIPTION="bzrtools is a useful collection of utilities for bzr."
+HOMEPAGE="http://bazaar-vcs.org/BzrTools"
+SRC_URI="http://launchpad.net/bzrtools/stable/${PV//.0}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="=dev-util/bzr-$(get_version_component_range 1-2)*"
+RDEPEND="${DEPEND}"
+
+RESTRICT="test"
+
+DOCS="AUTHORS CREDITS NEWS NEWS.Shelf README README.Shelf TODO TODO.heads TODO.Shelf"
+
+S=${WORKDIR}/${PN}
+
+PYTHON_MODNAME=bzrlib
+
+src_test() {
+ python_version
+ einfo "Running testsuite..."
+ # 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/lib/bzrlib/" \;
+ touch "${S}/build/lib/bzrlib/plugins/__init__.py"
+ "${S}/test.py" "${S}/build/lib" || die "Testsuite failed."
+ # remove the "shadow" copy so it doesn't get installed
+ rm "${S}/build/lib/bzrlib/plugins/__init__.py"
+ find "${S}/build/lib/bzrlib/" -mindepth 1 -maxdepth 1 -type l -exec rm '{}' \;
+}