diff options
-rw-r--r-- | dev-util/bzr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/bzr/Manifest | 9 | ||||
-rw-r--r-- | dev-util/bzr/bzr-1.8-r1.ebuild | 108 |
3 files changed, 119 insertions, 5 deletions
diff --git a/dev-util/bzr/ChangeLog b/dev-util/bzr/ChangeLog index 99113b2bad1b..a1c1be53225c 100644 --- a/dev-util/bzr/ChangeLog +++ b/dev-util/bzr/ChangeLog @@ -1,6 +1,11 @@ # 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.65 2008/10/19 14:46:04 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.66 2008/10/21 17:17:04 hawking Exp $ + +*bzr-1.8-r1 (21 Oct 2008) + + 21 Oct 2008; Ali Polatel <hawking@gentoo.org> +bzr-1.8-r1.ebuild: + Add doc use flag #243012. Add die to dodoc calls. 19 Oct 2008; Markus Meier <maekke@gentoo.org> bzr-1.6.1.ebuild: amd64/x86 stable, bug #241740 diff --git a/dev-util/bzr/Manifest b/dev-util/bzr/Manifest index 3863c8cffc86..3c7137736d4f 100644 --- a/dev-util/bzr/Manifest +++ b/dev-util/bzr/Manifest @@ -13,13 +13,14 @@ DIST bzr-1.8.tar.gz 3818860 RMD160 87194bbbe5cd585e48fcdbf6b63e202bcbf95b4a SHA1 EBUILD bzr-1.5.ebuild 2944 RMD160 966f77d6cfdf534c1bcce0ae907680447f94f31b SHA1 5b22a868709e4955e44425636714492d7d4acb13 SHA256 b34686d7605f615431ec170edcc28cda7f43ccecb917f9c3fffbfc96d3b2f8f6 EBUILD bzr-1.6.1.ebuild 2945 RMD160 fc07ab6435cd0e6a8f72b2f5af7b92a0b9e12513 SHA1 ea6a565f684fece9bd451c1f82d1d6d70f3dffba SHA256 ce441ea1bc75983d4964091c65580de71d7c1daf844cac5909c736ee08b772a4 EBUILD bzr-1.7.1.ebuild 2945 RMD160 c3d4d072acb77cbf62dec66e77fd34aecb38bac4 SHA1 2ab42f8db46ab01cea4ecf4a0653c5d8dbabcac8 SHA256 186563d95692d7401d30bf6cfaabb7fb1cc86c56da59302894ba5e1b4778bad5 +EBUILD bzr-1.8-r1.ebuild 3025 RMD160 5eeb1472f2e7d5cc67f146314c05622ca65d0402 SHA1 603f1e579593208d7d2d05c1e9b3f326e113429d SHA256 992044ab9e9ea66f8c54325745682c5ae0b77ca119e77acedbd6efcd3d110e4e EBUILD bzr-1.8.ebuild 2942 RMD160 106ae6633401f5bfdb67e0c44c9a0350d3c0631f SHA1 02ad7ac36515c1b1713983c053e1e9e97447052c SHA256 1995cfd8325140e79daf8d5b1932fdee088910737446104763fe69cc68b6ad74 -MISC ChangeLog 10590 RMD160 eb67b77bf158e3e49e2ab3612e1292e0886e76cc SHA1 bf1029c96f1cd752b9547a253723483409488558 SHA256 542113808d69308888ea8a54c09e887cb8d78786f321a993a9b0315aca31dc4d +MISC ChangeLog 10739 RMD160 44ecc9a0672d11290953596720041069cbd332fc SHA1 71655427377773c22f689af3713d5df82ef4b5ec SHA256 c256ff286b328a83b4a3230b40fdac1c68c985c0b24c96b89c56c9f7fe8add2f MISC metadata.xml 860 RMD160 98865988f16354ad7610236ea23edc1413944bf6 SHA1 b6aaf1352b5ecfec4ac3721bc6284d131ba45247 SHA256 71854455dc212e6bb7a361619da8278c06e6d4439a19cf5ec0b1082a994be972 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkj7SIUACgkQkKaRLQcq0GKZwwCgqF3UrZoWiqVwS64sIYMP2UMt -Rx8An1I6QVGs0DLaFp5mgIKIz0MNqkbd -=Hc7s +iEYEARECAAYFAkj+DpkACgkQQU4yORhF8iCciACfVuXyAgTOJfTlLI/2qOtOA1aE +G7MAoMusUSUalxlc01V2HIMRK5kfWSKp +=MGsz -----END PGP SIGNATURE----- diff --git a/dev-util/bzr/bzr-1.8-r1.ebuild b/dev-util/bzr/bzr-1.8-r1.ebuild new file mode 100644 index 000000000000..973c5a274bb0 --- /dev/null +++ b/dev-util/bzr/bzr-1.8-r1.ebuild @@ -0,0 +1,108 @@ +# 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.8-r1.ebuild,v 1.1 2008/10/21 17:17:04 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 doc 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}-1.8-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 + + if use doc; then + docinto developers + dodoc doc/developers/* || die "dodoc failed" + for doc in mini-tutorial tutorials user-{guide,reference}; do + docinto $doc + dodoc doc/en/$doc/* || die "dodoc failed" + done + fi + + 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 +} |