/[gentoo-x86]/dev-python/python-distutils-extra/python-distutils-extra-2.19.ebuild
Gentoo

Contents of /dev-python/python-distutils-extra/python-distutils-extra-2.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Aug 29 06:17:05 2012 UTC (6 years, 1 month ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bump

(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/python-distutils-extra/python-distutils-extra-2.19.ebuild,v 1.1 2010/07/15 17:31:57 arfrever Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="3.*"
9
10 inherit distutils
11
12 DESCRIPTION="You can integrate gettext support, themed icons and scrollkeeper based documentation in distutils."
13 HOMEPAGE="https://launchpad.net/python-distutils-extra"
14 SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/dist-${P}.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~ppc ~x86"
19 IUSE=""
20
21 DEPEND="dev-python/setuptools"
22 RDEPEND="${DEPEND}"
23 # Tests are broken.
24 RESTRICT="test"
25
26 DOCS="doc/FAQ doc/README doc/setup.cfg.example doc/setup.py.example"
27 PYTHON_MODNAME="DistUtilsExtra"
28
29 src_prepare() {
30 # Disable broken tests.
31 sed \
32 -e "s/test_desktop/_&/" \
33 -e "s/test_policykit/_&/" \
34 -e "s/test_requires_provides/_&/" \
35 -i test/auto.py || die "sed failed"
36 }
37
38 src_test() {
39 # 5 tests fail with disabled byte-compilation.
40 python_enable_pyc
41
42 testing() {
43 "$(PYTHON)" test/auto.py
44 }
45 python_execute_function testing
46
47 python_disable_pyc
48 }

  ViewVC Help
Powered by ViewVC 1.1.20