Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/python-distutils-extra: python-distutils-extra-2.33-r1.ebuild ChangeLog
Date: Sun, 24 Feb 2013 15:27:02
Message-Id: 20130224152658.1D4392171D@flycatcher.gentoo.org
1 mgorny 13/02/24 15:26:58
2
3 Modified: ChangeLog
4 Added: python-distutils-extra-2.33-r1.ebuild
5 Log:
6 Migrate the older version to distutils-r1 as required by x11-terms/terra.
7
8 (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 9627F456F9DA7643!)
9
10 Revision Changes Path
11 1.23 dev-python/python-distutils-extra/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-distutils-extra/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-distutils-extra/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-distutils-extra/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 12 Feb 2013 01:06:57 -0000 1.22
24 +++ ChangeLog 24 Feb 2013 15:26:57 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/python-distutils-extra
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/ChangeLog,v 1.22 2013/02/12 01:06:57 mgorny Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/ChangeLog,v 1.23 2013/02/24 15:26:57 mgorny Exp $
30 +
31 +*python-distutils-extra-2.33-r1 (24 Feb 2013)
32 +
33 + 24 Feb 2013; Michał Górny <mgorny@g.o>
34 + +python-distutils-extra-2.33-r1.ebuild:
35 + Migrate the older version to distutils-r1 as required by x11-terms/terra.
36
37 *python-distutils-extra-2.37-r1 (12 Feb 2013)
38
39
40
41
42 1.1 dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: python-distutils-extra-2.33-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.33-r1.ebuild,v 1.1 2013/02/24 15:26:57 mgorny Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
56
57 inherit distutils-r1
58
59 DESCRIPTION="Gettext support, themed icons and scrollkeeper-based documentation in distutils"
60 HOMEPAGE="https://launchpad.net/python-distutils-extra"
61 SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE=""
67
68 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
69 RDEPEND="${DEPEND}"
70
71 DOCS=( doc/{FAQ,README,setup.cfg.example,setup.py.example} )
72
73 python_prepare_all() {
74 # Disable broken tests.
75 sed \
76 -e "s/test_desktop/_&/" \
77 -e "s/test_po(/_&/" \
78 -e "s/test_policykit/_&/" \
79 -e "s/test_requires_provides/_&/" \
80 -i test/auto.py
81
82 distutils-r1_python_prepare_all
83 }
84
85 python_test() {
86 # 5 tests fail with disabled byte-compilation (they rely on exact
87 # output from python).
88 local -x PYTHONDONTWRITEBYTECODE
89
90 cp -R -l test "${BUILD_DIR}"/ || die
91
92 cd "${BUILD_DIR}" || die
93 "${PYTHON}" test/auto.py || die "Tests fail with ${EPYTHON}"
94 }