Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/dulwich: dulwich-0.8.7-r1.ebuild ChangeLog
Date: Tue, 04 Jun 2013 06:46:44
Message-Id: 20130604064639.3041D2171D@flycatcher.gentoo.org
1 idella4 13/06/04 06:46:39
2
3 Modified: ChangeLog
4 Added: dulwich-0.8.7-r1.ebuild
5 Log:
6 revbump, migrate -> distutils-r1, add pypy support, doc build
7
8 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.63 dev-python/dulwich/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.63&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.63&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?r1=1.62&r2=1.63
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v
20 retrieving revision 1.62
21 retrieving revision 1.63
22 diff -u -r1.62 -r1.63
23 --- ChangeLog 3 Jun 2013 05:55:58 -0000 1.62
24 +++ ChangeLog 4 Jun 2013 06:46:39 -0000 1.63
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/dulwich
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.62 2013/06/03 05:55:58 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.63 2013/06/04 06:46:39 idella4 Exp $
30 +
31 +*dulwich-0.8.7-r1 (04 Jun 2013)
32 +
33 + 04 Jun 2013; Ian Delaney <idella4@g.o> +dulwich-0.8.7-r1.ebuild:
34 + revbump, migrate -> distutils-r1, add pypy support, doc build
35
36 *dulwich-0.9.0 (03 Jun 2013)
37
38
39
40
41 1.1 dev-python/dulwich/dulwich-0.8.7-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.7-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.8.7-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dulwich-0.8.7-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/06/04 06:46:39 idella4 Exp $
51
52 EAPI=5
53 PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
54
55 inherit distutils-r1
56
57 DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols."
58 HOMEPAGE="http://samba.org/~jelmer/dulwich/ http://pypi.python.org/pypi/dulwich"
59 SRC_URI="http://samba.org/~jelmer/dulwich/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
64 IUSE="doc test"
65
66 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
67 test? ( virtual/python-unittest2[${PYTHON_USEDEP}] )"
68 RDEPEND=""
69
70 python_prepare_all() {
71 sed -e "s/test_fetch_from_dulwich(/_&/" -i dulwich/tests/compat/server_utils.py
72 use test && DISTUTILS_IN_SOURCE_BUILD=1
73 distutils-r1_python_prepare_all
74 }
75
76 python_compile_all() {
77 use doc && emake -C docs html
78 }
79
80 python_test() {
81 pushd "${BUILD_DIR}"/../ &> /dev/null
82 local module
83 for module in _diff_tree _objects _pack; do
84 ln -fs "${BUILD_DIR}/lib/${PN}/${module}.so" "dulwich/${module}.so" \
85 || die "Symlinking dulwich/${module}.so failed with $(python_get_implementation_and_version)"
86 done
87 nosetests || die
88 }
89
90 python_install_all() {
91 use doc && local HTML_DOCS=( docs/build/html/. )
92 distutils-r1_python_install_all
93 }