summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-11-29 09:14:06 +0000
committerPeter Volkov <pva@gentoo.org>2008-11-29 09:14:06 +0000
commitf2cea40855ecd1bad0739b2ecbc76a7ee87a0ce9 (patch)
treeeb8fc5f351faa208bf9aba3b558f520d44d85075 /dev-util/bzrtools
parentVersion bump. (diff)
downloadgentoo-2-f2cea40855ecd1bad0739b2ecbc76a7ee87a0ce9.tar.gz
gentoo-2-f2cea40855ecd1bad0739b2ecbc76a7ee87a0ce9.tar.bz2
gentoo-2-f2cea40855ecd1bad0739b2ecbc76a7ee87a0ce9.zip
Version bump.
(Portage version: 2.2_rc16/cvs/Linux 2.6.26-openvz.git-89451f9 i686)
Diffstat (limited to 'dev-util/bzrtools')
-rw-r--r--dev-util/bzrtools/ChangeLog7
-rw-r--r--dev-util/bzrtools/bzrtools-1.10.0.ebuild39
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-util/bzrtools/ChangeLog b/dev-util/bzrtools/ChangeLog
index 451f793dae19..1bebc317eb41 100644
--- a/dev-util/bzrtools/ChangeLog
+++ b/dev-util/bzrtools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/bzrtools
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.41 2008/11/05 17:02:25 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.42 2008/11/29 09:14:06 pva Exp $
+
+*bzrtools-1.10.0 (29 Nov 2008)
+
+ 29 Nov 2008; Peter Volkov <pva@gentoo.org> +bzrtools-1.10.0.ebuild:
+ Version bump.
*bzrtools-1.9.1 (05 Nov 2008)
diff --git a/dev-util/bzrtools/bzrtools-1.10.0.ebuild b/dev-util/bzrtools/bzrtools-1.10.0.ebuild
new file mode 100644
index 000000000000..5454ba81a711
--- /dev/null
+++ b/dev-util/bzrtools/bzrtools-1.10.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/bzrtools-1.10.0.ebuild,v 1.1 2008/11/29 09:14:06 pva Exp $
+
+NEED_PYTHON=2.4
+inherit distutils versionator
+
+DESCRIPTION="bzrtools is a useful collection of utilities for bzr."
+HOMEPAGE="http://bazaar.canonical.com/BzrTools"
+SRC_URI="http://launchpad.net/bzrtools/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)*"
+
+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 '{}' \;
+}