Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/dulwich: dulwich-0.8.1.ebuild ChangeLog
Date: Mon, 31 Oct 2011 20:53:10
Message-Id: 20111031205300.007E72004B@flycatcher.gentoo.org
1 grobian 11/10/31 20:52:59
2
3 Modified: ChangeLog
4 Added: dulwich-0.8.1.ebuild
5 Log:
6 Version bump, fixes: https://launchpad.net/dulwich/+milestone/0.8.1
7
8 (Portage version: 2.2.01.19572-prefix/cvs/Darwin i386)
9
10 Revision Changes Path
11 1.37 dev-python/dulwich/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.37&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.37&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?r1=1.36&r2=1.37
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v
20 retrieving revision 1.36
21 retrieving revision 1.37
22 diff -u -r1.36 -r1.37
23 --- ChangeLog 1 Sep 2011 16:38:03 -0000 1.36
24 +++ ChangeLog 31 Oct 2011 20:52:59 -0000 1.37
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/dulwich
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.36 2011/09/01 16:38:03 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.37 2011/10/31 20:52:59 grobian Exp $
30 +
31 +*dulwich-0.8.1 (31 Oct 2011)
32 +
33 + 31 Oct 2011; Fabian Groffen <grobian@g.o> +dulwich-0.8.1.ebuild:
34 + Version bump, fixes: https://launchpad.net/dulwich/+milestone/0.8.1
35
36 01 Sep 2011; Fabian Groffen <grobian@g.o> metadata.xml:
37 Take co-maintainership of dulwhich
38
39
40
41 1.1 dev-python/dulwich/dulwich-0.8.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dulwich-0.8.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.1.ebuild,v 1.1 2011/10/31 20:52:59 grobian 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 eutils
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 ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
67 IUSE=""
68
69 DEPEND="dev-python/setuptools
70 test? ( || ( dev-lang/python:2.7 dev-python/unittest2 dev-python/testtools ) )"
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) $(python_get_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 }