summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2006-05-14 16:40:59 +0000
committerMarien Zwart <marienz@gentoo.org>2006-05-14 16:40:59 +0000
commit8e4d5806a973ba81f102d88660680f52df3e0348 (patch)
tree66d602ad04b8a9a26b9acf4cf78330b94cfa3663 /dev-util
parentuse dxr3 use-flag (diff)
downloadgentoo-2-8e4d5806a973ba81f102d88660680f52df3e0348.tar.gz
gentoo-2-8e4d5806a973ba81f102d88660680f52df3e0348.tar.bz2
gentoo-2-8e4d5806a973ba81f102d88660680f52df3e0348.zip
Version bump with a patch to install the manpage in /usr/share/man instead of /usr/man (thanks to exg for reporting).
(Portage version: 2.1_rc1)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/bzr/ChangeLog10
-rw-r--r--dev-util/bzr/bzr-0.8.ebuild64
-rw-r--r--dev-util/bzr/files/bzr-0.8-fix-manpage-location.patch12
-rw-r--r--dev-util/bzr/files/digest-bzr-0.83
4 files changed, 88 insertions, 1 deletions
diff --git a/dev-util/bzr/ChangeLog b/dev-util/bzr/ChangeLog
index 9bddcfd5c6ac..9ff27f69a7b7 100644
--- a/dev-util/bzr/ChangeLog
+++ b/dev-util/bzr/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-util/bzr
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.13 2006/05/14 00:55:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.14 2006/05/14 16:40:59 marienz Exp $
+
+*bzr-0.8 (14 May 2006)
+
+ 14 May 2006; Marien Zwart <marienz@gentoo.org>
+ +files/bzr-0.8-fix-manpage-location.patch, -bzr-0.8_rc1.ebuild,
+ +bzr-0.8.ebuild:
+ Version bump with a patch to install the manpage in /usr/share/man instead
+ of /usr/man (thanks to exg for reporting).
14 May 2006; Diego Pettenò <flameeyes@gentoo.org> bzr-0.8_rc1.ebuild:
Add ~x86-fbsd keyword also to 0.8.
diff --git a/dev-util/bzr/bzr-0.8.ebuild b/dev-util/bzr/bzr-0.8.ebuild
new file mode 100644
index 000000000000..832c561827d2
--- /dev/null
+++ b/dev-util/bzr/bzr-0.8.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-0.8.ebuild,v 1.1 2006/05/14 16:40:59 marienz Exp $
+
+inherit distutils bash-completion elisp-common eutils
+
+DESCRIPTION="next generation distributed version control"
+HOMEPAGE="http://bazaar-vcs.org/"
+SRC_URI="http://bazaar-vcs.org/pkg/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+IUSE="emacs"
+
+DEPEND=">=dev-lang/python-2.4
+ dev-python/celementtree
+ emacs? ( virtual/emacs )
+ >=dev-python/paramiko-1.5"
+
+PYTHON_MODNAME="bzrlib"
+
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fix-manpage-location.patch"
+}
+
+src_compile() {
+ distutils_src_compile
+ if use emacs; then
+ elisp-compile contrib/emacs/bzr-mode.el || die "Emacs modules failed!"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ if use emacs; then
+ insinto "${SITELISP}"
+ doins contrib/emacs/bzr-mode.el*
+ elisp-site-file-install "${FILESDIR}/70bzr-gentoo.el"
+ fi
+ insinto /usr/share/zsh/site-functions
+ doins contrib/zsh/_bzr
+ dobashcompletion contrib/bash/bzr
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ use emacs && elisp-site-regen
+ bash-completion_pkg_postinst
+}
+
+pkg_postrm() {
+ distutils_pkg_postrm
+ # regenerate site-gentoo if we are merged USE=emacs and unmerged
+ # USE=-emacs
+ has_version virtual/emacs && elisp-site-regen
+}
+
+src_test() {
+ "${python}" bzr --no-plugins selftest || die "bzr selftest failed"
+}
diff --git a/dev-util/bzr/files/bzr-0.8-fix-manpage-location.patch b/dev-util/bzr/files/bzr-0.8-fix-manpage-location.patch
new file mode 100644
index 000000000000..f2c36e7800a7
--- /dev/null
+++ b/dev-util/bzr/files/bzr-0.8-fix-manpage-location.patch
@@ -0,0 +1,12 @@
+=== modified file 'setup.py'
+--- setup.py
++++ setup.py
+@@ -114,6 +114,6 @@
+ ],
+ scripts=['bzr'],
+ cmdclass={'install_scripts': my_install_scripts, 'build': bzr_build},
+- data_files=[('man/man1', ['bzr.1'])],
++ data_files=[('share/man/man1', ['bzr.1'])],
+ # todo: install the txt files from bzrlib.doc.api.
+ )
+
diff --git a/dev-util/bzr/files/digest-bzr-0.8 b/dev-util/bzr/files/digest-bzr-0.8
new file mode 100644
index 000000000000..e44c0d704df0
--- /dev/null
+++ b/dev-util/bzr/files/digest-bzr-0.8
@@ -0,0 +1,3 @@
+MD5 88ccc545c202701544c4e039d373a48a bzr-0.8.tar.gz 711210
+RMD160 feb6f6c4a4a7b3b5d4741c7567f918a34a393305 bzr-0.8.tar.gz 711210
+SHA256 018617c70ff979e25c89a6aa70a3751253d498e3666e775b464e3ccdc6c8b709 bzr-0.8.tar.gz 711210