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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Aug 6 07:53:02 2012 UTC (7 years, 11 months ago) by patrick
Branch: MAIN
Changes since 1.6: +2 -1 lines
Restricting jython

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 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.1.0.ebuild,v 1.6 2012/07/14 17:34:20 johu Exp $
4
5 EAPI="4"
6 SUPPORT_PYTHON_ABIS="1"
7 RESTRICT_PYTHON_ABIS="2.5-jython"
8
9 inherit distutils
10
11 DESCRIPTION="Python 2 and 3 compatibility library"
12 HOMEPAGE="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="amd64 ~ia64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux"
18 IUSE="doc"
19
20 DEPEND="doc? ( dev-python/sphinx )"
21 RDEPEND=""
22
23 PYTHON_MODNAME="${PN}.py"
24
25 src_compile() {
26 distutils_src_compile
27 if use doc; then
28 cd documentation || die
29 emake html
30 fi
31 }
32
33 src_install() {
34 distutils_src_install
35 if use doc; then
36 dohtml -r documentation/_build/html/*
37 fi
38 }

  ViewVC Help
Powered by ViewVC 1.1.20