summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-vcs/bzrtools/ChangeLog8
-rw-r--r--dev-vcs/bzrtools/bzrtools-2.3.0.ebuild52
-rw-r--r--dev-vcs/qbzr/ChangeLog7
-rw-r--r--dev-vcs/qbzr/qbzr-0.20.0.ebuild46
4 files changed, 111 insertions, 2 deletions
diff --git a/dev-vcs/bzrtools/ChangeLog b/dev-vcs/bzrtools/ChangeLog
index 47cb25e841d1..4aaf0d4bd2f8 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.11 2011/01/22 16:25:49 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/bzrtools/ChangeLog,v 1.12 2011/02/11 23:30:44 fauli Exp $
+
+*bzrtools-2.3.0 (11 Feb 2011)
+
+ 11 Feb 2011; Christian Faulhammer <fauli@gentoo.org>
+ +bzrtools-2.3.0.ebuild:
+ version bump
22 Jan 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
bzrtools-2.2.0.ebuild:
diff --git a/dev-vcs/bzrtools/bzrtools-2.3.0.ebuild b/dev-vcs/bzrtools/bzrtools-2.3.0.ebuild
new file mode 100644
index 000000000000..f162be28cbea
--- /dev/null
+++ b/dev-vcs/bzrtools/bzrtools-2.3.0.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.0.ebuild,v 1.1 2011/02/11 23:30:44 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}/trunk/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~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
+}
diff --git a/dev-vcs/qbzr/ChangeLog b/dev-vcs/qbzr/ChangeLog
index 6cf6e3d1752f..4d2e812f9fc4 100644
--- a/dev-vcs/qbzr/ChangeLog
+++ b/dev-vcs/qbzr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-vcs/qbzr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/qbzr/ChangeLog,v 1.18 2011/02/11 22:42:14 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/qbzr/ChangeLog,v 1.19 2011/02/11 23:32:48 fauli Exp $
+
+*qbzr-0.20.0 (11 Feb 2011)
+
+ 11 Feb 2011; Christian Faulhammer <fauli@gentoo.org> +qbzr-0.20.0.ebuild:
+ version bump
11 Feb 2011; Christian Faulhammer <fauli@gentoo.org> -qbzr-0.19.1.ebuild:
clean up
diff --git a/dev-vcs/qbzr/qbzr-0.20.0.ebuild b/dev-vcs/qbzr/qbzr-0.20.0.ebuild
new file mode 100644
index 000000000000..df33a5113d44
--- /dev/null
+++ b/dev-vcs/qbzr/qbzr-0.20.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/qbzr/qbzr-0.20.0.ebuild,v 1.1 2011/02/11 23:32:48 fauli Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils versionator
+
+DESCRIPTION="Qt frontend for Bazaar"
+HOMEPAGE="https://launchpad.net/qbzr"
+SRC_URI="https://edge.launchpad.net/qbzr/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+# bzr version comes from NEWS file. It's lowest version required for some
+# features to work.
+DEPEND=">=dev-vcs/bzr-2.3
+ >=dev-python/PyQt4-4.1[X]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}"
+
+DOCS="AUTHORS.txt NEWS.txt README.txt TODO.txt"
+PYTHON_MODNAME="bzrlib/plugins/qbzr"
+
+src_test() {
+ elog "It's impossible to run tests at this point. If you wish to run tests"
+ elog "after installation of ${PN} execute:"
+ elog " $ bzr selftest -s bzrlib.plugins.qbzr"
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+
+ elog
+ elog "To enable spellchecking in qcommit, please, install >=dev-python/pyenchant-1.5.0"
+ elog " # emerge -a >=dev-python/pyenchant-1.5.0"
+ elog "To enable syntax highlighting, please, install dev-python/pygments"
+ elog " # emerge -a dev-python/pygments"
+}