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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Sun Aug 10 21:18:50 2014 UTC (4 years, 4 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

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

  ViewVC Help
Powered by ViewVC 1.1.20