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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.17 - (hide annotations) (download)
Wed Apr 8 08:05:18 2015 UTC (4 years, 11 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +2 -2 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 floppym 1.16 # Copyright 1999-2015 Gentoo Foundation
2 radhermit 1.1 # Distributed under the terms of the GNU General Public License v2
3 mgorny 1.17 # $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.3.0.ebuild,v 1.16 2015/01/19 16:09:17 floppym Exp $
4 radhermit 1.1
5     EAPI=5
6 mgorny 1.17 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
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.14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
17 radhermit 1.1 IUSE="doc test"
18    
19     DEPEND="doc? ( dev-python/sphinx )
20     test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
21    
22     python_compile_all() {
23     use doc && emake -C documentation html
24     }
25    
26     python_test() {
27     py.test || die "Testing failed with ${EPYTHON}"
28     }
29    
30     python_install_all() {
31     use doc && local HTML_DOCS=( documentation/_build/html/ )
32    
33     distutils-r1_python_install_all
34     }

  ViewVC Help
Powered by ViewVC 1.1.20