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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Wed May 6 11:57:45 2015 UTC (5 years ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +10 -17 lines
Backport fix for windows only modules, bug #547928

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

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-9999.ebuild,v 1.11 2014/11/25 01:07:11 floppym Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
8
9 inherit distutils-r1 mercurial
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=""
14 EHG_REPO_URI="https://bitbucket.org/gutworth/six"
15
16 LICENSE="MIT"
17 SLOT="0"
18 KEYWORDS=""
19 IUSE="doc test"
20
21 DEPEND="
22 dev-python/setuptools[${PYTHON_USEDEP}]
23 doc? ( dev-python/sphinx )
24 test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
25
26 python_compile_all() {
27 use doc && emake -C documentation html
28 }
29
30 python_test() {
31 py.test -v || die "Testing failed with ${EPYTHON}"
32 }
33
34 python_install_all() {
35 use doc && local HTML_DOCS=( documentation/_build/html/ )
36 distutils-r1_python_install_all
37 }

  ViewVC Help
Powered by ViewVC 1.1.20