/[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.1 - (hide annotations) (download)
Sun Apr 1 04:09:09 2012 UTC (8 years, 4 months ago) by floppym
Branch: MAIN
New package.

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

1 floppym 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI="4"
6     SUPPORT_PYTHON_ABIS="1"
7    
8     inherit distutils
9    
10     DESCRIPTION="Python 2 and 3 compatibility library"
11     HOMEPAGE="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     KEYWORDS="~amd64 ~x86"
17     IUSE="doc"
18    
19     DEPEND="doc? ( dev-python/sphinx )"
20     RDEPEND=""
21    
22     PYTHON_MODNAME="${PN}.py"
23    
24     src_compile() {
25     distutils_src_compile
26     if use doc; then
27     cd documentation || die
28     emake html
29     fi
30     }
31    
32     src_install() {
33     distutils_src_install
34     if use doc; then
35     dohtml -r documentation/_build/html/*
36     fi
37     }

  ViewVC Help
Powered by ViewVC 1.1.20