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.9.7.ebuild ChangeLog
Date: Fri, 20 Jun 2014 02:58:11
Message-Id: 20140620025805.EFC072004F@flycatcher.gentoo.org
1 idella4 14/06/20 02:58:05
2
3 Modified: ChangeLog
4 Added: dulwich-0.9.7.ebuild
5 Log:
6 drop py2.6 pypy2_0, add IUSE examples, dep for tests, updrade test phase, closes Bug #513392
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.79 dev-python/dulwich/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 31 Mar 2014 21:16:47 -0000 1.78
24 +++ ChangeLog 20 Jun 2014 02:58:05 -0000 1.79
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/dulwich
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.78 2014/03/31 21:16:47 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/ChangeLog,v 1.79 2014/06/20 02:58:05 idella4 Exp $
30 +
31 +*dulwich-0.9.7 (20 Jun 2014)
32 +
33 + 20 Jun 2014; Ian Delaney <idella4@g.o> +dulwich-0.9.7.ebuild:
34 + drop py2.6 pypy2_0, add IUSE examples, dep for tests, updrade test phase,
35 + closes Bug #513392
36
37 31 Mar 2014; Michał Górny <mgorny@g.o> dulwich-0.9.4.ebuild,
38 dulwich-0.9.5.ebuild:
39
40
41
42 1.1 dev-python/dulwich/dulwich-0.9.7.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.9.7.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/dulwich/dulwich-0.9.7.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dulwich-0.9.7.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/dulwich/dulwich-0.9.7.ebuild,v 1.1 2014/06/20 02:58:05 idella4 Exp $
52
53 EAPI=5
54 PYTHON_COMPAT=( python2_7 pypy )
55
56 inherit distutils-r1
57
58 DESCRIPTION="Dulwich is a pure-Python implementation of the Git file formats and protocols."
59 HOMEPAGE="https://github.com/jelmer/dulwich/ http://pypi.python.org/pypi/dulwich"
60 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
65 IUSE="doc examples test"
66
67 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
68 test? ( dev-python/gevent[$(python_gen_usedep python2_7)]
69 virtual/python-unittest2[${PYTHON_USEDEP}]
70 )"
71 RDEPEND=""
72 DISTUTILS_IN_SOURCE_BUILD=1
73
74 python_compile_all() {
75 use doc && emake -C docs html
76 }
77
78 python_test() {
79 # https://github.com/jelmer/dulwich/issues/196
80 if [[ "${EPYTHON}" == pypy ]]; then
81 "${PYTHON}" -m unittest dulwich.tests.test_suite || die "Tests failed under pypy"
82 else
83 emake check
84 fi
85 }
86
87 python_install_all() {
88 use doc && local HTML_DOCS=( docs/build/html/. )
89 use examples && local EXAMPLES=( examples/. )
90 distutils-r1_python_install_all
91 }