/[gentoo-x86]/dev-python/six/six-1.8.0.ebuild
Gentoo

Contents of /dev-python/six/six-1.8.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations) (download)
Wed Jan 28 10:30:32 2015 UTC (5 years, 2 months ago) by ago
Branch: MAIN
Changes since 1.7: +2 -2 lines
Stable for ppc, wrt bug #534366

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 maekke 1.4 # Copyright 1999-2015 Gentoo Foundation
2 radhermit 1.1 # Distributed under the terms of the GNU General Public License v2
3 ago 1.8 # $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.8.0.ebuild,v 1.7 2015/01/26 10:22:48 ago Exp $
4 radhermit 1.1
5     EAPI=5
6 floppym 1.3 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
7 radhermit 1.1
8     inherit distutils-r1
9    
10     DESCRIPTION="Python 2 and 3 compatibility library"
11     HOMEPAGE="https://bitbucket.org/gutworth/six http://pypi.python.org/pypi/six"
12     SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13    
14     LICENSE="MIT"
15     SLOT="0"
16 ago 1.8 KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
17 radhermit 1.1 IUSE="doc test"
18    
19     DEPEND="doc? ( dev-python/sphinx )
20     test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
21    
22     PATCHES=( "${FILESDIR}"/${PN}-1.5.2-mapping.patch )
23    
24     python_compile_all() {
25     use doc && emake -C documentation html
26     }
27    
28     python_test() {
29     py.test -v || die "Testing failed with ${EPYTHON}"
30     }
31    
32     python_install_all() {
33     use doc && local HTML_DOCS=( documentation/_build/html/ )
34     distutils-r1_python_install_all
35     }

  ViewVC Help
Powered by ViewVC 1.1.20