Gentoo Archives: gentoo-commits

From: "Dirkjan Ochtman (djc)" <djc@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/dulwich: dulwich-0.8.3.ebuild ChangeLog
Date: Thu, 01 Mar 2012 15:56:19
Message-Id: 20120301155607.C15A72004B@flycatcher.gentoo.org
1 djc 12/03/01 15:56:07
2
3 Modified: ChangeLog
4 Added: dulwich-0.8.3.ebuild
5 Log:
6 Version bump dulwich to 0.8.3 for bug 404173.
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.48 dev-python/dulwich/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.48&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.48&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?r1=1.47&r2=1.48
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v
20 retrieving revision 1.47
21 retrieving revision 1.48
22 diff -u -r1.47 -r1.48
23 --- ChangeLog 1 Mar 2012 15:52:04 -0000 1.47
24 +++ ChangeLog 1 Mar 2012 15:56:07 -0000 1.48
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/dulwich
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.47 2012/03/01 15:52:04 djc Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.48 2012/03/01 15:56:07 djc Exp $
30 +
31 +*dulwich-0.8.3 (01 Mar 2012)
32 +
33 + 01 Mar 2012; Dirkjan Ochtman <djc@g.o> +dulwich-0.8.3.ebuild:
34 + Version bump to 0.8.3 for bug 404173 (thanks to Ian Delaney).
35
36 01 Mar 2012; Dirkjan Ochtman <djc@g.o> -dulwich-0.7.1.ebuild,
37 -dulwich-0.8.0.ebuild:
38
39
40
41 1.1 dev-python/dulwich/dulwich-0.8.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dulwich-0.8.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.8.3.ebuild,v 1.1 2012/03/01 15:56:07 djc Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="3.* *-jython"
56 DISTUTILS_SRC_TEST="nosetests"
57
58 inherit distutils
59
60 DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols."
61 HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich"
62 SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
67 IUSE=""
68
69 DEPEND="dev-python/setuptools
70 test? ( || ( dev-lang/python:2.7 dev-python/unittest2 ) )"
71 RDEPEND=""
72
73 src_prepare() {
74 distutils_src_prepare
75 sed -e "s/test_fetch_from_dulwich(/_&/" -i dulwich/tests/compat/server_utils.py
76 }
77
78 distutils_src_test_pre_hook() {
79 local module
80 for module in _diff_tree _objects _pack; do
81 ln -fs "../$(ls -d build-${PYTHON_ABI}/lib.*)/dulwich/${module}.so" "dulwich/${module}.so" || die "Symlinking dulwich/${module}.so failed with $(python_get_implementation_and_version)"
82 done
83 }
84
85 src_install() {
86 distutils_src_install
87
88 delete_tests() {
89 rm -fr "${ED}$(python_get_sitedir)/dulwich/tests"
90 }
91 python_execute_function -q delete_tests
92 }