Merge lp:~fauli/bzr-gentoo-overlay/bzr-live-overhaul into lp:bzr-gentoo-overlay

Proposed by Christian Faulhammer
Status: Merged
Merged at revision: 377
Proposed branch: lp:~fauli/bzr-gentoo-overlay/bzr-live-overhaul
Merge into: lp:bzr-gentoo-overlay
Diff against target: 129 lines (+26/-19)
4 files modified
dev-vcs/bzr-difftools/Manifest (+1/-1)
dev-vcs/bzr-difftools/bzr-difftools-9999.ebuild (+1/-1)
dev-vcs/bzr/Manifest (+1/-1)
dev-vcs/bzr/bzr-9999.ebuild (+23/-16)
To merge this branch: bzr merge lp:~fauli/bzr-gentoo-overlay/bzr-live-overhaul
Reviewer Review Type Date Requested Status
Martin von Gagern Approve
Review via email: mp+72351@code.launchpad.net

Description of the change

Updated the live ebuilds for bzr and bzr-difftools.

To post a comment you must log in.
Revision history for this message
Martin von Gagern (gagern) wrote :

Looks like a definite improvement. difftools should probably support multiple ABIs as well, and the bzr ebuild will fail for FEATURES=bash-completion, but even so it's already an improvement. Will merge and push, and address the other issues in a week or two unless you beat me to it.

review: Approve
Revision history for this message
Vincent Ladeuil (vila) wrote :

Coming from bug #830405 and giving a quick look (I don't understand most of the stuff here :-/) but still:

53 +test_dep=">=dev-python/testtools-0.9.2

I'm pretty sure we require *at least* 0.9.5 (though older (circa 2.0 era) bzr selftest may not like it)

54 + dev-python/medusa

This was needed for the ftp tests but we now prefer pyftplib (see bug #781140 too),

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'dev-vcs/bzr-difftools/Manifest'
--- dev-vcs/bzr-difftools/Manifest 2010-11-27 11:11:12 +0000
+++ dev-vcs/bzr-difftools/Manifest 2011-08-21 17:30:25 +0000
@@ -1,2 +1,2 @@
1EBUILD bzr-difftools-9999.ebuild 545 RMD160 9cdbd1347a6bbc0f1c8ac5ba1f6718807079cdef SHA1 3b6b306f533a819b44afa18a9379b99a198d30cb SHA256 c31ba941e62f937d474c32e710b51ca1b299546d15502f660634e49fc8f06a561EBUILD bzr-difftools-9999.ebuild 548 RMD160 9d4e75c17cb33de608d93c095c816a3d0802f1d0 SHA1 a976e7b6f3cb2ee0d9a359bd391d621f9337638b SHA256 c778befd39ba30d93c8459a63540498209757e9e8ab840719806136231ab5563
2MISC metadata.xml 285 RMD160 a8952a49acb5b00e48df37554397820e313c99b9 SHA1 4fcb8a3ef1ef0a98a45e198fde764ea292e08ee8 SHA256 b44ef9ceebc8a707893640732ebd31680a99fbaab6cbbe3d9bf99f4c5486e0d42MISC metadata.xml 285 RMD160 a8952a49acb5b00e48df37554397820e313c99b9 SHA1 4fcb8a3ef1ef0a98a45e198fde764ea292e08ee8 SHA256 b44ef9ceebc8a707893640732ebd31680a99fbaab6cbbe3d9bf99f4c5486e0d4
33
=== modified file 'dev-vcs/bzr-difftools/bzr-difftools-9999.ebuild'
--- dev-vcs/bzr-difftools/bzr-difftools-9999.ebuild 2010-11-27 11:11:12 +0000
+++ dev-vcs/bzr-difftools/bzr-difftools-9999.ebuild 2011-08-21 17:30:25 +0000
@@ -23,6 +23,6 @@
23RDEPEND="${DEPEND}"23RDEPEND="${DEPEND}"
2424
25src_install() {25src_install() {
26 insinto $(python_get_sitedir)/bzrlib/plugins/difftools26 insinto $(python_get_sitedir -f)/bzrlib/plugins/difftools
27 doins *27 doins *
28}28}
2929
=== modified file 'dev-vcs/bzr/Manifest'
--- dev-vcs/bzr/Manifest 2010-12-20 18:28:01 +0000
+++ dev-vcs/bzr/Manifest 2011-08-21 17:30:25 +0000
@@ -1,5 +1,5 @@
1AUX 71bzr-gentoo.el 83 RMD160 409d99a9841616acedb77766074f65fe02c71ef0 SHA1 41ed64ffdbf3ab80a3fd054ca868ed82f3622da2 SHA256 4c60e63d561d32420b34d6749fed1b93dbfca7f235ec1c46402fc368ca707d1c1AUX 71bzr-gentoo.el 83 RMD160 409d99a9841616acedb77766074f65fe02c71ef0 SHA1 41ed64ffdbf3ab80a3fd054ca868ed82f3622da2 SHA256 4c60e63d561d32420b34d6749fed1b93dbfca7f235ec1c46402fc368ca707d1c
2AUX bzr-0.90-tests-fix_root.patch 1173 RMD160 572b86dbf99620abe5090b72a9a29c3d6d2ea566 SHA1 a41671354dcf7498039c421e81bc7d9fbbc7bb29 SHA256 b2275d04401bd4ba36c0a565f5e6b7c8471ca50acd48bbf5f5d1995b197809ec2AUX bzr-0.90-tests-fix_root.patch 1173 RMD160 572b86dbf99620abe5090b72a9a29c3d6d2ea566 SHA1 a41671354dcf7498039c421e81bc7d9fbbc7bb29 SHA256 b2275d04401bd4ba36c0a565f5e6b7c8471ca50acd48bbf5f5d1995b197809ec
3AUX bzr-0.90-tests-sgid.patch 611 RMD160 09a40cb4424e7dc86b48a577152cc7297c6333db SHA1 b7c42cb9b5cd5de4ebe11378870c6cf8eae52591 SHA256 e7514aa51c23405ba619c323b1bd6dbafffe5c584d8274d4e1df0c2347fd55a73AUX bzr-0.90-tests-sgid.patch 611 RMD160 09a40cb4424e7dc86b48a577152cc7297c6333db SHA1 b7c42cb9b5cd5de4ebe11378870c6cf8eae52591 SHA256 e7514aa51c23405ba619c323b1bd6dbafffe5c584d8274d4e1df0c2347fd55a7
4EBUILD bzr-9999.ebuild 2960 RMD160 dec6241851375b228b6e2d8b8a6d35ba9a26da78 SHA1 1bcf46469813615121422e2c38462d92ae53c7cb SHA256 dd5b4d10fc5636eeb06a2665ef1c6bcddc777056e99962f3f08fdc96b0327a644EBUILD bzr-9999.ebuild 2967 RMD160 a7fddd7a6989997354a89ec2d58aa5d029b24a8e SHA1 2687d449dd1375f6e4f8fad7a49fa06135a092d2 SHA256 5a56410e03683d1e9e9222f5197c748e3af824b05326b046b3f8e30cbe32699e
5MISC metadata.xml 712 RMD160 36b19a78e61a946c4bd8db576c4ee1ee3039f9f8 SHA1 bc90063835a8043bea6940cba69c0134d6b34e0a SHA256 dcfc4ef80c924142d79801e013ba53c17731d6813e130dd23d7007dd4011a2bb5MISC metadata.xml 712 RMD160 36b19a78e61a946c4bd8db576c4ee1ee3039f9f8 SHA1 bc90063835a8043bea6940cba69c0134d6b34e0a SHA256 dcfc4ef80c924142d79801e013ba53c17731d6813e130dd23d7007dd4011a2bb
66
=== modified file 'dev-vcs/bzr/bzr-9999.ebuild'
--- dev-vcs/bzr/bzr-9999.ebuild 2010-11-27 11:11:12 +0000
+++ dev-vcs/bzr/bzr-9999.ebuild 2011-08-21 17:30:25 +0000
@@ -1,4 +1,4 @@
1# Copyright 1999-2010 Gentoo Foundation1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v22# Distributed under the terms of the GNU General Public License v2
3# $Header: $3# $Header: $
44
@@ -19,44 +19,45 @@
19KEYWORDS=""19KEYWORDS=""
20IUSE="curl doc emacs kerberos +sftp test"20IUSE="curl doc emacs kerberos +sftp test"
2121
22python_rdep="|| ( >=dev-lang/python-2.5 dev-python/celementtree )22python_rdep="|| ( dev-lang/python:2.7[xml] dev-lang/python:2.6[xml] dev-lang/python:2.5[xml] dev-python/celementtree )
23 sftp? ( >=dev-python/paramiko-1.5 )23 sftp? ( >=dev-python/paramiko-1.5 )
24 curl? ( dev-python/pycurl )24 curl? ( dev-python/pycurl )
25 kerberos? ( dev-python/pykerberos )25 kerberos? ( dev-python/pykerberos )"
26 sys-libs/zlib"26test_dep=">=dev-python/testtools-0.9.2
27test_dep=">=dev-python/testtools-0.9.2"27 dev-python/medusa
28 dev-python/subunit"
28DEPEND="dev-python/pyrex29DEPEND="dev-python/pyrex
29 !=dev-python/pyrex-0.9.6.330 !=dev-python/pyrex-0.9.6.3
30 emacs? ( virtual/emacs )31 emacs? ( virtual/emacs )
31 test? (32 test? (
32 ${python_rdep}33 ${python_rdep}
33 ${test_dep}34 ${test_dep}
34 || ( dev-python/pyftpdlib dev-python/medusa )
35 )"35 )"
36RDEPEND="${python_rdep}36RDEPEND="${python_rdep}
37 test? ( ${test_dep} )"37 test? ( ${test_dep} )"
3838
39
40PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
41DOCS="doc/*.txt"
42
39PYTHON_MODNAME="bzrlib"43PYTHON_MODNAME="bzrlib"
40SITEFILE=71${PN}-gentoo.el44SITEFILE=71${PN}-gentoo.el
4145
42DOCS="README NEWS doc/*.txt"
43
44src_prepare() {46src_prepare() {
45 # Don't run lock permission tests when running as root47 distutils_src_prepare
46 epatch "${FILESDIR}"/${PN}-0.90-tests-fix_root.patch
47 # Fix permission errors when run under directories with setgid set.
48 epatch "${FILESDIR}"/${PN}-0.90-tests-sgid.patch
49}48}
5049
51src_compile() {50src_compile() {
52 distutils_src_compile51 distutils_src_compile
52
53 if use emacs; then53 if use emacs; then
54 elisp-compile contrib/emacs/bzr-mode.el || die54 elisp-compile contrib/emacs/bzr-mode.el || die
55 fi55 fi
56}56}
5757
58src_install() {58src_install() {
59 distutils_src_install --install-data /usr/share59 distutils_src_install --install-data "${EPREFIX}/usr/share"
60
60 if use doc; then61 if use doc; then
61 docinto developers62 docinto developers
62 dodoc doc/developers/*63 dodoc doc/developers/*
@@ -83,7 +84,7 @@
83 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die84 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
84 # don't add automatically to the load-path, so the sitefile85 # don't add automatically to the load-path, so the sitefile
85 # can do a conditional loading86 # can do a conditional loading
86 touch "${D}${SITELISP}/${PN}/.nosearch"87 touch "${ED}${SITELISP}/${PN}/.nosearch"
87 fi88 fi
88 insinto /usr/share/zsh/site-functions89 insinto /usr/share/zsh/site-functions
89 doins contrib/zsh/_bzr90 doins contrib/zsh/_bzr
@@ -93,6 +94,7 @@
93pkg_postinst() {94pkg_postinst() {
94 distutils_pkg_postinst95 distutils_pkg_postinst
95 bash-completion_pkg_postinst96 bash-completion_pkg_postinst
97
96 if use emacs; then98 if use emacs; then
97 elisp-site-regen99 elisp-site-regen
98 elog "If you are using a GNU Emacs version greater than 22.1, bzr support"100 elog "If you are using a GNU Emacs version greater than 22.1, bzr support"
@@ -109,6 +111,11 @@
109}111}
110112
111src_test() {113src_test() {
112 PYTHONPATH="build/lib*" "${python}" "${S}"/bzr --no-plugins selftest \114 testing() {
113 || die115 LC_ALL="C" "$(PYTHON)" bzr --no-plugins selftest ${skip_tests:+-x} ${skip_tests}
116 }
117 python_execute_function testing
118
119 # Just to make sure we don't hit any errors on later stages.
120 python_disable_pyc
114}121}

Subscribers

People subscribed via source and target branches