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/py: py-1.4.19.ebuild ChangeLog
Date: Wed, 29 Jan 2014 07:54:37
Message-Id: 20140129075431.E07042004C@flycatcher.gentoo.org
1 idella4 14/01/29 07:54:31
2
3 Modified: ChangeLog
4 Added: py-1.4.19.ebuild
5 Log:
6 bump; add IUSE doc, doc build & install, update test phase
7
8 (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.162 dev-python/py/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py/ChangeLog?rev=1.162&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py/ChangeLog?rev=1.162&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py/ChangeLog?r1=1.161&r2=1.162
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/py/ChangeLog,v
20 retrieving revision 1.161
21 retrieving revision 1.162
22 diff -u -r1.161 -r1.162
23 --- ChangeLog 30 Oct 2013 08:00:35 -0000 1.161
24 +++ ChangeLog 29 Jan 2014 07:54:31 -0000 1.162
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/py
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/py/ChangeLog,v 1.161 2013/10/30 08:00:35 radhermit Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/py/ChangeLog,v 1.162 2014/01/29 07:54:31 idella4 Exp $
31 +
32 +*py-1.4.19 (29 Jan 2014)
33 +
34 + 29 Jan 2014; Ian Delaney <idella4@g.o> +py-1.4.19.ebuild:
35 + bump; add IUSE doc, doc build & install, update test phase
36
37 *py-1.4.18 (30 Oct 2013)
38
39
40
41
42 1.1 dev-python/py/py-1.4.19.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py/py-1.4.19.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py/py-1.4.19.ebuild?rev=1.1&content-type=text/plain
46
47 Index: py-1.4.19.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/py/py-1.4.19.ebuild,v 1.1 2014/01/29 07:54:31 idella4 Exp $
52
53 EAPI="5"
54 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
55 inherit distutils-r1
56
57 DESCRIPTION="library with cross-python path, ini-parsing, io, code, log facilities"
58 HOMEPAGE="http://pylib.readthedocs.org/ http://pypi.python.org/pypi/py"
59 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
60
61 LICENSE="MIT"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
64 IUSE="doc test"
65
66 DEPEND="
67 dev-python/setuptools[${PYTHON_USEDEP}]
68 test? ( >=dev-python/pytest-2[${PYTHON_USEDEP}] )"
69 RDEPEND=""
70
71 DOCS=( CHANGELOG README.txt )
72
73 python_prepare_all() {
74 sed -e 's:intersphinx_mapping:_&:' -i doc/conf.py || die
75 # https://bitbucket.org/hpk42/py/issue/41/test_lock_unlock-fails-in-py-1419
76 sed -e 's:test_lock_unlock:_&:' -i testing/path/test_svnwc.py || die
77
78 distutils-r1_python_prepare_all
79 }
80
81 python_compile_all() {
82 use doc && emake -C doc html
83 }
84
85 python_test() {
86 py.test || die "testing failed with ${EPYTHON}"
87 }
88
89 python_install_all() {
90 use doc && local HTML_DOCS=( doc/_build/html/. )
91 distutils-r1_python_install_all
92 }