diff options
author | Ali Polatel <hawking@gentoo.org> | 2007-12-14 09:32:41 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2007-12-14 09:32:41 +0000 |
commit | 97c4fd6ae3b9e41ce3f4828b7d03c5d502b4e4e4 (patch) | |
tree | 122fa16f16988fcbdb0fe8ff760df8967ca8a41c /dev-util | |
parent | Version bump. (diff) | |
download | historical-97c4fd6ae3b9e41ce3f4828b7d03c5d502b4e4e4.tar.gz historical-97c4fd6ae3b9e41ce3f4828b7d03c5d502b4e4e4.tar.bz2 historical-97c4fd6ae3b9e41ce3f4828b7d03c5d502b4e4e4.zip |
Version bump.
Package-Manager: portage-2.1.4_rc9
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/bzr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/bzr/bzr-1.0.ebuild | 101 | ||||
-rw-r--r-- | dev-util/bzr/files/digest-bzr-1.0 | 3 | ||||
-rw-r--r-- | dev-util/bzrtools/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/bzrtools/bzrtools-1.0.0.ebuild | 24 | ||||
-rw-r--r-- | dev-util/bzrtools/files/digest-bzrtools-1.0.0 | 3 |
6 files changed, 143 insertions, 2 deletions
diff --git a/dev-util/bzr/ChangeLog b/dev-util/bzr/ChangeLog index 96fb9845dfcd..d8f3e6cf082a 100644 --- a/dev-util/bzr/ChangeLog +++ b/dev-util/bzr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/bzr # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.43 2007/11/14 18:54:27 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/bzr/ChangeLog,v 1.44 2007/12/14 09:30:45 hawking Exp $ + +*bzr-1.0 (14 Dec 2007) + + 14 Dec 2007; Ali Polatel <hawking@gentoo.org> +bzr-1.0.ebuild: + Version bump. *bzr-0.92-r1 (14 Nov 2007) diff --git a/dev-util/bzr/bzr-1.0.ebuild b/dev-util/bzr/bzr-1.0.ebuild new file mode 100644 index 000000000000..443d7e83eb8a --- /dev/null +++ b/dev-util/bzr/bzr-1.0.ebuild @@ -0,0 +1,101 @@ +# 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-1.0.ebuild,v 1.1 2007/12/14 09:30:45 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/* + 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" +} diff --git a/dev-util/bzr/files/digest-bzr-1.0 b/dev-util/bzr/files/digest-bzr-1.0 new file mode 100644 index 000000000000..2e0334222bc3 --- /dev/null +++ b/dev-util/bzr/files/digest-bzr-1.0 @@ -0,0 +1,3 @@ +MD5 b71c7920a157bb508284ad77abcedf94 bzr-1.0.tar.gz 3381194 +RMD160 89e26f25ba5abe04178de30ed50a726f8d44ed4d bzr-1.0.tar.gz 3381194 +SHA256 a6308bf3755630c0012ff2f0aa0fa4713b8527e8a3e629346951666590465cf9 bzr-1.0.tar.gz 3381194 diff --git a/dev-util/bzrtools/ChangeLog b/dev-util/bzrtools/ChangeLog index 187583581b59..c461adef5827 100644 --- a/dev-util/bzrtools/ChangeLog +++ b/dev-util/bzrtools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/bzrtools # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.25 2007/11/14 10:32:36 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/ChangeLog,v 1.26 2007/12/14 09:32:41 hawking Exp $ + +*bzrtools-1.0.0 (14 Dec 2007) + + 14 Dec 2007; Ali Polatel <hawking@gentoo.org> +bzrtools-1.0.0.ebuild: + Version bump. *bzrtools-0.92.1 (14 Nov 2007) diff --git a/dev-util/bzrtools/bzrtools-1.0.0.ebuild b/dev-util/bzrtools/bzrtools-1.0.0.ebuild new file mode 100644 index 000000000000..b0d477a1c445 --- /dev/null +++ b/dev-util/bzrtools/bzrtools-1.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/bzrtools/bzrtools-1.0.0.ebuild,v 1.1 2007/12/14 09:32:41 hawking 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://panoramicfeedback.com/opensource/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="=dev-util/bzr-$(get_version_component_range 1-2)*" + +DOCS="CREDITS NEWS.Shelf TODO.Shelf" + +S="${WORKDIR}/${PN}" + +PYTHON_MODNAME=bzrlib diff --git a/dev-util/bzrtools/files/digest-bzrtools-1.0.0 b/dev-util/bzrtools/files/digest-bzrtools-1.0.0 new file mode 100644 index 000000000000..8f512e27bea4 --- /dev/null +++ b/dev-util/bzrtools/files/digest-bzrtools-1.0.0 @@ -0,0 +1,3 @@ +MD5 b3ed4d9290bc65daf31d67695eb9f6a1 bzrtools-1.0.0.tar.gz 81308 +RMD160 86ee6c67e449ef1773d13c20e6854c111bde9ef4 bzrtools-1.0.0.tar.gz 81308 +SHA256 d0eb04444e45b84ef6d137dd18d4bed410fbc74889edea571aff1b93c39ded2f bzrtools-1.0.0.tar.gz 81308 |