Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-util/bzr
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.54 2008/05/22 16:46:05 hawking Exp $
*bzr-1.5 (22 May 2008)
22 May 2008; Ali Polatel
Version bump.
*bzr-1.4 (10 May 2008)
10 May 2008; Ali Polatel
Version bump.
05 May 2008; Olivier Crête
amd64 Stable
24 Mar 2008; Christian Faulhammer
stable x86, bug 212968
23 Mar 2008; Ali Polatel
Fix tests related to pyc handling.
21 Mar 2008; Ali Polatel
Added longdescription, added myself as maintainer.
*bzr-1.3 (20 Mar 2008)
20 Mar 2008; Ali Polatel
Version bump.
12 Mar 2008; Christian Heim
Removing Marien Zwart (marienz, #107204) from metadata.xml.
15 Jan 2008; Lukasz Strzygowski
-bzr-1.0.ebuild:
Dropped old versions.
*bzr-1.1 (15 Jan 2008)
15 Jan 2008; Lukasz Strzygowski
Version bump (bug #205914).
*bzr-1.0 (14 Dec 2007)
14 Dec 2007; Ali Polatel
Version bump.
*bzr-0.92-r1 (14 Nov 2007)
14 Nov 2007; Ali Polatel
+files/bzr-0.92-no-pyrex.patch, -bzr-0.92.ebuild, +bzr-0.92-r1.ebuild:
revbump. don't regenerate .c files from .pyx when pyrex is found, upstream
ships them already.
14 Nov 2007; Lukasz Strzygowski
-files/bzr-0.16-timed-tests-fix.patch, -bzr-0.16.ebuild, -bzr-0.90.ebuild,
-bzr-0.91.ebuild, -bzr-0.91-r1.ebuild:
Dropped old versions.
*bzr-0.92 (14 Nov 2007)
14 Nov 2007; Lukasz Strzygowski
Version bump (bug #199112). Fixed celementtree dep, added sftp use-flag
(bug #196486). Cleanup.
*bzr-0.91-r1 (05 Oct 2007)
05 Oct 2007; Ali Polatel
+bzr-0.91-r1.ebuild:
revbump. updated emacs support, bug 194691. Thanks to Christian Faulhammer
*bzr-0.91 (26 Sep 2007)
26 Sep 2007; Ali Polatel
version bump.
*bzr-0.90 (06 Sep 2007)
06 Sep 2007; Ali Polatel
+files/bzr-0.90-tests-fix_root.patch, +files/bzr-0.90-tests-sgid.patch,
+bzr-0.90.ebuild:
Version bump. Added a patch to fix tests when running w/o userpriv (bug
173301) and another patch to fix permission tests when running beneath a
directory with the setgid bit set. Pass --install-data /usr/share option to
distutils_src_install instead of patching for man page location.
10 Jul 2007; Markus Ullmann
Stable on x86
10 Jul 2007; Markus Ullmann
RESTRICT test as noted on bug #173301
*bzr-0.17 (22 Jun 2007)
22 Jun 2007; Marien Zwart
-files/bzr-0.10-fix-manpage-location.patch, -bzr-0.15.ebuild,
bzr-0.16.ebuild, +bzr-0.17.ebuild:
Version bump and fix bug #182639 (elisp-site-regen condition in postrm).
04 Jun 2007; Marien Zwart
bzr-0.16.ebuild:
Enhance DESCRIPTION.
11 May 2007; Marien Zwart
Remove stale version.
*bzr-0.16 (11 May 2007)
11 May 2007; Marien Zwart
+files/bzr-0.16-fix-manpage-location.patch,
+files/bzr-0.16-timed-tests-fix.patch, +bzr-0.16.ebuild:
Version bump.
02 Apr 2007; Marien Zwart
-files/bzr-0.8.2-paramiko-1.6-compat.patch,
-files/bzr-0.8.2-push-repository.patch,
-files/bzr-0.8-fix-manpage-location.patch,
-files/bzr-0.9-binary-diff.patch, -files/bzr-0.10-python-2.5-compat.patch:
Clean up files dir.
*bzr-0.15 (02 Apr 2007)
02 Apr 2007; Marien Zwart
Version bump.
05 Mar 2007; Marius Mauch
bzr-0.14.ebuild:
Replacing einfo with elog
*bzr-0.14 (26 Jan 2007)
26 Jan 2007; Marien Zwart
+bzr-0.14.ebuild:
Version bump, remove old ebuild.
18 Jan 2007; Ferris McCormick
Add ~sparc keyword. Builds, runs tests, and installs fine with USE='curl test
emacs'.
*bzr-0.13 (05 Dec 2006)
05 Dec 2006; Marien Zwart
-bzr-0.13_rc1.ebuild, +bzr-0.13.ebuild:
Version bump, clean old versions.
*bzr-0.13_rc1 (28 Nov 2006)
28 Nov 2006; Marien Zwart
Version bump (in package.mask).
*bzr-0.12 (30 Oct 2006)
30 Oct 2006; Marien Zwart
-bzr-0.10-r1.ebuild, +bzr-0.12.ebuild:
Version bump, add curl USE flag.
*bzr-0.11 (02 Oct 2006)
02 Oct 2006; Marien Zwart
-bzr-0.11_rc1.ebuild, -bzr-0.11_rc2.ebuild, +bzr-0.11.ebuild:
Version bump, remove old versions.
*bzr-0.11_rc2 (27 Sep 2006)
27 Sep 2006; Marien Zwart
Version bump (still in package.mask).
*bzr-0.11_rc1 (25 Sep 2006)
25 Sep 2006; Marien Zwart
Version bump (package.masked release candidate).
*bzr-0.10-r1 (24 Sep 2006)
24 Sep 2006; Marien Zwart
+files/bzr-0.10-python-2.5-compat.patch, -bzr-0.6.2.ebuild,
-bzr-0.7.ebuild, -bzr-0.8.ebuild, -bzr-0.8.2.ebuild, -bzr-0.8.2-r1.ebuild,
bzr-0.9.ebuild, bzr-0.10.ebuild, +bzr-0.10-r1.ebuild:
Clean up old versions. Fix dependency bug spotted by Flameeyes. Bump to
0.10-r1 with a patch to mostly work with python 2.5.
*bzr-0.10 (04 Sep 2006)
04 Sep 2006; Marien Zwart
+files/bzr-0.10-fix-manpage-location.patch, +bzr-0.10.ebuild:
Version bump.
*bzr-0.9 (24 Aug 2006)
24 Aug 2006; Marien Zwart
+files/bzr-0.9-binary-diff.patch, +bzr-0.9.ebuild:
Version bump, closes bug #144312, thanks to Geoff Weber
11 Jul 2006; Aron Griffis
Mark 0.8.2-r1 ~ia64
*bzr-0.8.2-r1 (25 May 2006)
25 May 2006; Marien Zwart
+files/bzr-0.8.2-push-repository.patch, files/70bzr-gentoo.el,
+bzr-0.8.2-r1.ebuild:
Add a patch from upstream for "bzr push" pushing too much. Do not include
the .el extension when loading bzr-mode so the .elc gets picked up.
*bzr-0.8.2 (17 May 2006)
17 May 2006; Marien Zwart
+files/bzr-0.8.2-paramiko-1.6-compat.patch, +bzr-0.8.2.ebuild:
Version bump with a patch to work with paramiko-1.6 a bit better.
*bzr-0.8 (14 May 2006)
14 May 2006; Marien Zwart
+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ò
Add ~x86-fbsd keyword also to 0.8.
12 May 2006; Diego Pettenò
Add ~x86-fbsd keyword.
*bzr-0.8_rc1 (18 Apr 2006)
18 Apr 2006; Marien Zwart
Version bump.
02 Apr 2006; Marien Zwart
-bzr-0.6.ebuild, bzr-0.7.ebuild:
Fix paramiko dependency, thanks to AnMaster on irc for noticing it was not
specific enough. Remove old ebuilds.
*bzr-0.7 (27 Jan 2006)
27 Jan 2006; Marien Zwart
metadata.xml, +bzr-0.7.ebuild:
Version bump to 0.7 (bug #120487), add bash and zsh completion, emacs mode
(bug #120406) and src_test. Add myself and the python herd to metadata.xml.
*bzr-0.6.2 (06 Jan 2006)
06 Jan 2006; Anders Rune Jensen
New version.
*bzr-0.6 (30 Oct 2005)
30 Oct 2005; Anders Rune Jensen
-bzr-0.0.7.ebuild, -bzr-0.0.8.ebuild:
New version. Remove old versions.
*bzr-0.0.9 (07 Oct 2005)
07 Oct 2005; Anders Rune Jensen
New version
*bzr-0.0.8 (20 Sep 2005)
20 Jul 2005; Anders Rune Jensen
New version
05 Jul 2005; David Holm
-bzr-0.0.4.ebuild:
Remove old versions. Fix #105244.
*bzr-0.0.7 (02 Sep 2005)
02 Sep 2005; Anders Rune Jensen
New version
05 Jul 2005; David Holm
Added to ~ppc.
*bzr-0.0.5 (05 Jul 2005)
05 Jul 2005; Anders Rune Jensen
New version
*bzr-0.0.4 (08 May 2005)
08 May 2005; Anders Rune Jensen
Initial import. Fixes #91682.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX 70bzr-gentoo.el 51 RMD160 6493432732fa0a735e8c9235ca087bc7afea6042 SHA1 4b7363c494cc67c303b095969f5275685c98e06d SHA256 f62b36bca53b70c8f2e828233187b9beb39bc604b1e51b910478f123e3fa7417
AUX 71bzr-gentoo.el 124 RMD160 530e4492147cd92d1df4d8a8c013e547e9627f20 SHA1 fe59139e07a8645e4b70017bc90bb911e7f96cc3 SHA256 ee56abfbf84a5e01e62fa0a1ae38488e08bd842e527ffd229e85b8d48b607b4c
AUX bzr-0.16-fix-manpage-location.patch 396 RMD160 89e706aace63a2a771aa0411d3d2a4dd81df7b16 SHA1 9afccc3c68ec5a946008d92cb8164bd3ee0d36ae SHA256 82a17b7af4707f83b22c287369027e5ceb5d784759012ddb700fc1285c025e4e
AUX bzr-0.90-tests-fix_root.patch 1173 RMD160 572b86dbf99620abe5090b72a9a29c3d6d2ea566 SHA1 a41671354dcf7498039c421e81bc7d9fbbc7bb29 SHA256 b2275d04401bd4ba36c0a565f5e6b7c8471ca50acd48bbf5f5d1995b197809ec
AUX bzr-0.90-tests-sgid.patch 607 RMD160 d40336d5c98fb777bdc1366b42ae4fb00e9d56f1 SHA1 5608d6a2e2215453523441ff9890e11aebbc289e SHA256 8bff8a500f96bbade348a11fdc70d00f9166774b8cc0a08c8d8dd3e33326bbcc
AUX bzr-0.92-no-pyrex.patch 843 RMD160 0bb7974e1d9b3976c49f3db6eba84ecb080cc187 SHA1 4c10b2f76dcb17570224262644e82cf136231bbb SHA256 b3285e4b163ed322e5227d0368060eb9360aa99f65a91a38effeef49d494e58c
DIST bzr-0.17.tar.gz 1500584 RMD160 f459a59013242e985403e3d451ee8d3c0f3d38b8 SHA1 bd5b8fb0a4ee73f023e7b1cf365fc3aa1064ca12 SHA256 687c8a31993f6453d32a3947543109008be27cf84cf16b7b81aaf6c5083a2f6d
DIST bzr-1.1.tar.gz 3425781 RMD160 1a57f127bb452aa842d6c1a41578cea964bc1bf3 SHA1 a34af746c6c9fef5c8d063fab892e368aa7e74ab SHA256 ece3273c6e090828394f6f8606575e424c3f8182a2c3d796ef5e880c50e1f3e2
DIST bzr-1.3.tar.gz 3477457 RMD160 e7be7c90e448bf22ec58c811505c6dd1519a7e4b SHA1 e6a92ab0abfe54bfc0fa492f11dc65bb759acb47 SHA256 45ae1d20b8a0cb1d450443d969fb5175b90bc5e6e183a65484936cf8be046b7c
DIST bzr-1.4.tar.gz 3506804 RMD160 70f3686aa1aaa6e36b93962fe24b955aa0bd5552 SHA1 167460c57ca0d2983ccb9e9ecf8b673f4ca7566d SHA256 b353e5cd0bec6cd62219c704858d5ada79b13e589e8b56c6d6d3a5845a10877e
DIST bzr-1.5.tar.gz 3535058 RMD160 6a63e69f1d77ff389f11f33f7bddd824d134fc5e SHA1 24fa534e64d5a0060b38fb0a40d1752f50274a41 SHA256 7b01ee4faeeb16e236bae2b93136cf1e1501b1c34c8e8fd9dcf1161a6d954c71
EBUILD bzr-0.17.ebuild 1804 RMD160 5ec6d8ebd1c269f6164bd8772f9ce57eee068c97 SHA1 23d96bd58546d5fed51f9c8874d6f555621adcd6 SHA256 c38c26beb493d615d9e733f291236160ddd44a265b97e06b962eeeb24b1d6cc3
EBUILD bzr-1.1.ebuild 2664 RMD160 d49d2c2bc5394fd9d025dfbe79ddce01d64de701 SHA1 00084492be3d01dc3bf6666ef883a0cfe226e328 SHA256 01415e38629c58cb93877679526864db6e6fa0e7dd9aad9b4759b9b8027392d4
EBUILD bzr-1.3.ebuild 2838 RMD160 a365d611b8dd2b91a2fed5c8d4a23f0fa52ff46f SHA1 02a0ac7550ea4802c24a8357ff4f31c4e010dbe3 SHA256 790c4392f82ee7edb053e5c608d3b2b41cf66604d57baae8069d7234aa010ce0
EBUILD bzr-1.4.ebuild 2791 RMD160 ae7fabc3e6fb5a80e50d218469ceb2f486b0482e SHA1 410f4f9154f4a05211af532523f7c27f36139ca7 SHA256 96ed6f98b0327033008f57c8d79b8a11561822fa2e1cdc3a9f9cb8348ce6eb4f
EBUILD bzr-1.5.ebuild 2947 RMD160 bb8feb52413136e4baa7a91035f2353ebf8246d1 SHA1 5e66d0830a7a2cea1cc086ad8ea3574fca413953 SHA256 8be410c953e671bac54c5cbfe10217c3f1aa09d378e053aa9660eb7ce22bf4a3
MISC ChangeLog 8984 RMD160 b47676c0b0d569c788f81ad08e6bc69f3832ab99 SHA1 f303251a257193293b04be8985e2fa37895bac87 SHA256 2c9abb157b10c90b375f5736d39befcaee31dc5e5f55fba6ecd9c3e9c4372864
MISC metadata.xml 695 RMD160 93c5e4dcfd08050f69c6bb5ff40425915edd12d5 SHA1 73987e39d4ab584245d8d1b9e081164c0d5f4090 SHA256 cf123943f7420c9e59196f05390d0665358406c1d295a9f00ccef3b7dadcef25
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkg1o1cACgkQQU4yORhF8iBKtwCgvdfSWaawL3kr/GR3kPMMDWSh
gLIAn0W2XzAUwRh3DMgXU6wuYf4Wkl5q
=Bzie
-----END PGP SIGNATURE-----
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-0.17.ebuild,v 1.3 2007/07/10 23:25:54 jokey Exp $
inherit distutils bash-completion elisp-common eutils
MY_P=${P/_rc/rc}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Bazaar is a next generation distributed version control system."
HOMEPAGE="http://bazaar-vcs.org/"
SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc x86 ~x86-fbsd"
IUSE="curl emacs test"
python_rdep="dev-python/celementtree
>=dev-python/paramiko-1.5
curl? ( dev-python/pycurl )"
DEPEND=">=dev-lang/python-2.4
emacs? ( virtual/emacs )
test? (
$python_rdep
dev-python/medusa
)"
RDEPEND=">=dev-lang/python-2.4
$python_rdep"
PYTHON_MODNAME="bzrlib"
DOCS="doc/*.txt"
# disable until bug #173301 is solved
RESTRICT="test"
src_unpack() {
unpack ${A}
cd "${S}"
# Install the manpage in /usr/share/man instead of /usr/man
epatch "${FILESDIR}/${PN}-0.16-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
docinto developers
dodoc doc/developers/*
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
use emacs && elisp-site-regen
}
src_test() {
"${python}" bzr --no-plugins selftest || die "bzr selftest failed"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.1.ebuild,v 1.2 2008/03/24 08:52:49 opfer Exp $
NEED_PYTHON=2.4
inherit distutils bash-completion elisp-common eutils
MY_P=${P/_rc/rc}
DESCRIPTION="Bazaar is a next generation distributed version control system."
HOMEPAGE="http://bazaar-vcs.org/"
SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc x86 ~x86-fbsd"
IUSE="curl emacs sftp test"
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 )
curl? ( dev-python/pycurl )
sftp? ( dev-python/paramiko )"
DEPEND="emacs? ( virtual/emacs )
test? (
$RDEPEND
dev-python/medusa
)"
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="bzrlib"
SITEFILE=71bzr-gentoo.el
DOCS="doc/*.txt"
src_unpack() {
distutils_src_unpack
# Don't regenerate .c files from .pyx when pyrex is found.
epatch "${FILESDIR}/${PN}-0.92-no-pyrex.patch"
# Don't run lock permission tests when running as root
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
# Fix permission errors when run under directories with setgid set.
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.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 --install-data /usr/share
docinto developers
dodoc doc/developers/*
docinto user-guide
dodoc doc/en/user-guide/*
docinto user-reference
dodoc doc/en/user-reference/*
docinto mini-tutorial
dodoc doc/en/mini-tutorial/*
if use emacs; then
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
# don't add automatically to the load-path, so the sitefile
# can do a conditional loading
touch "${D}${SITELISP}/${PN}/.nosearch"
fi
insinto /usr/share/zsh/site-functions
doins contrib/zsh/_bzr
dobashcompletion contrib/bash/bzr
}
pkg_postinst() {
distutils_pkg_postinst
bash-completion_pkg_postinst
if use emacs; then
elisp-site-regen
elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
elog "is already included. This ebuild does not automatically activate bzr support"
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
elog "file by adding"
elog " (load \"bzr-mode\")"
fi
}
pkg_postrm() {
distutils_pkg_postrm
use emacs && elisp-site-regen
}
src_test() {
"${python}" bzr --no-plugins selftest || die "bzr selftest failed"
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.3.ebuild,v 1.3 2008/05/05 03:29:27 tester Exp $
NEED_PYTHON=2.4
inherit distutils bash-completion elisp-common eutils
MY_P=${P/_rc/rc}
DESCRIPTION="Bazaar is a next generation distributed version control system."
HOMEPAGE="http://bazaar-vcs.org/"
SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="curl emacs sftp test"
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 )
curl? ( dev-python/pycurl )
sftp? ( dev-python/paramiko )"
DEPEND="emacs? ( virtual/emacs )
test? (
$RDEPEND
dev-python/medusa
)"
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="bzrlib"
SITEFILE=71bzr-gentoo.el
DOCS="doc/*.txt"
src_unpack() {
distutils_src_unpack
# Don't regenerate .c files from .pyx when pyrex is found.
epatch "${FILESDIR}/${PN}-0.92-no-pyrex.patch"
# Don't run lock permission tests when running as root
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
# Fix permission errors when run under directories with setgid set.
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.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 --install-data /usr/share
docinto developers
dodoc doc/developers/*
docinto user-guide
dodoc doc/en/user-guide/*
docinto user-reference
dodoc doc/en/user-reference/*
docinto mini-tutorial
dodoc doc/en/mini-tutorial/*
if use emacs; then
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
# don't add automatically to the load-path, so the sitefile
# can do a conditional loading
touch "${D}${SITELISP}/${PN}/.nosearch"
fi
insinto /usr/share/zsh/site-functions
doins contrib/zsh/_bzr
dobashcompletion contrib/bash/bzr
}
pkg_postinst() {
distutils_pkg_postinst
bash-completion_pkg_postinst
if use emacs; then
elisp-site-regen
elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
elog "is already included. This ebuild does not automatically activate bzr support"
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
elog "file by adding"
elog " (load \"bzr-mode\")"
fi
}
pkg_postrm() {
distutils_pkg_postrm
use emacs && elisp-site-regen
}
src_test() {
# Some tests expect the usual pyc compiling behaviour.
unset PYTHON_DONTCOMPILE
"${python}" bzr --no-plugins selftest || die "bzr selftest failed"
# Just to make sure we don't hit any errors on later stages.
export PYTHON_DONTCOMPILE=1
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.4.ebuild,v 1.1 2008/05/10 09:24:24 hawking Exp $
NEED_PYTHON=2.4
inherit distutils bash-completion elisp-common eutils
MY_P=${P/_rc/rc}
DESCRIPTION="Bazaar is a next generation distributed version control system."
HOMEPAGE="http://bazaar-vcs.org/"
SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="curl emacs sftp test"
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 )
curl? ( dev-python/pycurl )
sftp? ( dev-python/paramiko )"
DEPEND="emacs? ( virtual/emacs )
test? (
$RDEPEND
dev-python/medusa
)"
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="bzrlib"
SITEFILE=71bzr-gentoo.el
DOCS="doc/*.txt"
src_unpack() {
distutils_src_unpack
# Don't regenerate .c files from .pyx when pyrex is found.
epatch "${FILESDIR}/${PN}-0.92-no-pyrex.patch"
# Don't run lock permission tests when running as root
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
# Fix permission errors when run under directories with setgid set.
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.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 --install-data /usr/share
docinto developers
dodoc doc/developers/*
for doc in mini-tutorial tutorials user-{guide,reference}; do
docinto $doc
dodoc doc/en/$doc/*
done
if use emacs; then
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
# don't add automatically to the load-path, so the sitefile
# can do a conditional loading
touch "${D}${SITELISP}/${PN}/.nosearch"
fi
insinto /usr/share/zsh/site-functions
doins contrib/zsh/_bzr
dobashcompletion contrib/bash/bzr
}
pkg_postinst() {
distutils_pkg_postinst
bash-completion_pkg_postinst
if use emacs; then
elisp-site-regen
elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
elog "is already included. This ebuild does not automatically activate bzr support"
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
elog "file by adding"
elog " (load \"bzr-mode\")"
fi
}
pkg_postrm() {
distutils_pkg_postrm
use emacs && elisp-site-regen
}
src_test() {
# Some tests expect the usual pyc compiling behaviour.
unset PYTHON_DONTCOMPILE
"${python}" bzr --no-plugins selftest || die "bzr selftest failed"
# Just to make sure we don't hit any errors on later stages.
export PYTHON_DONTCOMPILE=1
}
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/bzr-1.5.ebuild,v 1.1 2008/05/22 16:46:05 hawking Exp $
NEED_PYTHON=2.4
inherit distutils bash-completion elisp-common eutils versionator
MY_PV=${PV/_rc/rc}
MY_P=${PN}-${MY_PV}
SERIES=$(get_version_component_range 1-2)
DESCRIPTION="Bazaar is a next generation distributed version control system."
HOMEPAGE="http://bazaar-vcs.org/"
#SRC_URI="http://bazaar-vcs.org/releases/src/${MY_P}.tar.gz"
SRC_URI="http://launchpad.net/bzr/${SERIES}/${MY_PV}/+download/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="curl emacs sftp test"
RDEPEND="|| ( dev-python/celementtree >=dev-lang/python-2.5 )
curl? ( dev-python/pycurl )
sftp? ( dev-python/paramiko )"
DEPEND="emacs? ( virtual/emacs )
test? (
$RDEPEND
dev-python/medusa
)"
S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="bzrlib"
SITEFILE=71bzr-gentoo.el
DOCS="doc/*.txt"
src_unpack() {
distutils_src_unpack
# Don't regenerate .c files from .pyx when pyrex is found.
epatch "${FILESDIR}/${PN}-0.92-no-pyrex.patch"
# Don't run lock permission tests when running as root
epatch "${FILESDIR}/${PN}-0.90-tests-fix_root.patch"
# Fix permission errors when run under directories with setgid set.
epatch "${FILESDIR}/${PN}-0.90-tests-sgid.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 --install-data /usr/share
docinto developers
dodoc doc/developers/*
for doc in mini-tutorial tutorials user-{guide,reference}; do
docinto $doc
dodoc doc/en/$doc/*
done
if use emacs; then
elisp-install ${PN} contrib/emacs/*.el* || die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die "elisp-site-file-install failed"
# don't add automatically to the load-path, so the sitefile
# can do a conditional loading
touch "${D}${SITELISP}/${PN}/.nosearch"
fi
insinto /usr/share/zsh/site-functions
doins contrib/zsh/_bzr
dobashcompletion contrib/bash/bzr
}
pkg_postinst() {
distutils_pkg_postinst
bash-completion_pkg_postinst
if use emacs; then
elisp-site-regen
elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
elog "is already included. This ebuild does not automatically activate bzr support"
elog "in versions below, but prepares it in a way you can load it from your ~/.emacs"
elog "file by adding"
elog " (load \"bzr-mode\")"
fi
}
pkg_postrm() {
distutils_pkg_postrm
use emacs && elisp-site-regen
}
src_test() {
# Some tests expect the usual pyc compiling behaviour.
unset PYTHON_DONTCOMPILE
"${python}" bzr --no-plugins selftest || die "bzr selftest failed"
# Just to make sure we don't hit any errors on later stages.
export PYTHON_DONTCOMPILE=1
}
Bazaar (``bzr``) is a decentralized revision control system, designed to be
easy for developers and end users alike. Bazaar is part of the GNU project
to develop a complete free operating system.
Bazaar was formerly known as Bazaar-NG. It's the successor to ``baz``, a
fork of GNU arch, but shares no code. (To upgrade from Baz, use the
``baz-import`` command in the bzrtools plugin.)