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: ChangeLog dulwich-0.8.7.ebuild
Date: Mon, 31 Dec 2012 10:50:50
Message-Id: 20121231105039.7F58D2171D@flycatcher.gentoo.org
1 djc 12/12/31 10:50:39
2
3 Modified: ChangeLog
4 Added: dulwich-0.8.7.ebuild
5 Log:
6 Version bump dulwich to 0.8.7.
7
8 (Portage version: 2.1.11.38/cvs/Linux x86_64, signed Manifest commit with key 6B065BFB)
9
10 Revision Changes Path
11 1.57 dev-python/dulwich/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 31 Dec 2012 10:48:49 -0000 1.56
24 +++ ChangeLog 31 Dec 2012 10:50:39 -0000 1.57
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.56 2012/12/31 10:48:49 djc Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.57 2012/12/31 10:50:39 djc Exp $
30 +
31 +*dulwich-0.8.7 (31 Dec 2012)
32 +
33 + 31 Dec 2012; Dirkjan Ochtman <djc@g.o> +dulwich-0.8.7.ebuild:
34 + Version bump to 0.8.7.
35
36 31 Dec 2012; Dirkjan Ochtman <djc@g.o> -dulwich-0.8.1.ebuild,
37 -dulwich-0.8.3.ebuild:
38
39
40
41 1.1 dev-python/dulwich/dulwich-0.8.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dulwich-0.8.7.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.7.ebuild,v 1.1 2012/12/31 10:50:39 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="~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 }