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

Contents of /dev-python/six/six-1.9.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jul 29 19:14:33 2015 UTC (4 years, 10 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Keyworded for *-solaris

(Portage version: 2.2.20-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)

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

  ViewVC Help
Powered by ViewVC 1.1.20