summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2009-09-07 11:05:16 +0000
committerChristian Faulhammer <fauli@gentoo.org>2009-09-07 11:05:16 +0000
commite078128381c28d2531f7f702317853e2d9514cc5 (patch)
tree1acb6d20fa3180b3457f99f08eb8795532a832eb /dev-util/bzrtools
parentRename useflag to be same as in kstars. (diff)
downloadgentoo-2-e078128381c28d2531f7f702317853e2d9514cc5.tar.gz
gentoo-2-e078128381c28d2531f7f702317853e2d9514cc5.tar.bz2
gentoo-2-e078128381c28d2531f7f702317853e2d9514cc5.zip
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'dev-util/bzrtools')
-rw-r--r--dev-util/bzrtools/ChangeLog8
-rw-r--r--dev-util/bzrtools/bzrtools-2.0.0.ebuild44
2 files changed, 51 insertions, 1 deletions
diff --git a/dev-util/bzrtools/ChangeLog b/dev-util/bzrtools/ChangeLog
index 53025475a704..ee0764376130 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.67 2009/08/27 14:27:46 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.68 2009/09/07 11:05:16 fauli Exp $
+
+*bzrtools-2.0.0 (07 Sep 2009)
+
+ 07 Sep 2009; Christian Faulhammer <fauli@gentoo.org>
+ +bzrtools-2.0.0.ebuild:
+ version bump
27 Aug 2009; Christian Faulhammer <fauli@gentoo.org>
-bzrtools-1.16.0.ebuild, -bzrtools-1.17.0.ebuild:
diff --git a/dev-util/bzrtools/bzrtools-2.0.0.ebuild b/dev-util/bzrtools/bzrtools-2.0.0.ebuild
new file mode 100644
index 000000000000..cef64318d48b
--- /dev/null
+++ b/dev-util/bzrtools/bzrtools-2.0.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-2.0.0.ebuild,v 1.1 2009/09/07 11:05:16 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=""https://launchpad.net/${PN}/stable/${PV}/+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 '{}' \;
+}