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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Dec 30 22:40:31 2010 UTC (7 years, 9 months ago) by arfrever
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Delete older ebuild.

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.15.ebuild,v 1.1 2010/02/07 02:42:39 arfrever Exp $
4
5 EAPI="2"
6 PYTHON_DEPEND="2"
7 SUPPORT_PYTHON_ABIS="1"
8
9 inherit distutils
10
11 DESCRIPTION="You can integrate gettext support, themed icons and scrollkeeper based documentation in distutils."
12 HOMEPAGE="https://launchpad.net/python-distutils-extra"
13 SRC_URI="http://launchpad.net/python-distutils-extra/trunk/${PV}/+download/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~ppc ~x86"
18 IUSE=""
19
20 DEPEND="dev-python/setuptools"
21 RDEPEND="${DEPEND}"
22 # Tests are broken.
23 RESTRICT="test"
24 RESTRICT_PYTHON_ABIS="3.*"
25
26 PYTHON_MODNAME="DistUtilsExtra"
27 DOCS="doc/FAQ doc/README doc/setup.cfg.example doc/setup.py.example"
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 # 4 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