summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-08-18 11:19:10 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-08-18 11:19:10 +0000
commit68f16aad8d6eddc151b37f05f31f6f3066a58e92 (patch)
treee8651a3c1f4aa350d3cef83235aaba65896a79ca
parentRemoving deprecated USE_RUBY="any", assigning RDEPEND explicitly. (diff)
downloadgentoo-2-68f16aad8d6eddc151b37f05f31f6f3066a58e92.tar.gz
gentoo-2-68f16aad8d6eddc151b37f05f31f6f3066a58e92.tar.bz2
gentoo-2-68f16aad8d6eddc151b37f05f31f6f3066a58e92.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.17.0.ebuild42
2 files changed, 49 insertions, 1 deletions
diff --git a/dev-util/bzrtools/ChangeLog b/dev-util/bzrtools/ChangeLog
index d816b6bd3800..ffe68b8232a9 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.64 2009/07/20 21:46:10 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.65 2009/08/18 11:19:10 fauli Exp $
+
+*bzrtools-1.17.0 (18 Aug 2009)
+
+ 18 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
+ +bzrtools-1.17.0.ebuild:
+ version bump
20 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
-bzrtools-1.9.1.ebuild, -bzrtools-1.10.0.ebuild, -bzrtools-1.11.0.ebuild,
diff --git a/dev-util/bzrtools/bzrtools-1.17.0.ebuild b/dev-util/bzrtools/bzrtools-1.17.0.ebuild
new file mode 100644
index 000000000000..95e38b03f642
--- /dev/null
+++ b/dev-util/bzrtools/bzrtools-1.17.0.ebuild
@@ -0,0 +1,42 @@
+# 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.17.0.ebuild,v 1.1 2009/08/18 11:19:10 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}"
+
+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 '{}' \;
+}