/[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.8 - (hide annotations) (download)
Sat Sep 29 16:28:51 2012 UTC (7 years, 9 months ago) by grobian
Branch: MAIN
Changes since 1.7: +2 -2 lines
Marked ~x86-macos

(Portage version: 2.2.01.21143-prefix/cvs/Darwin i386)

1 floppym 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 grobian 1.8 # $Header: /var/cvsroot/gentoo-x86/dev-python/six/six-1.1.0.ebuild,v 1.7 2012/08/06 07:53:02 patrick Exp $
4 floppym 1.1
5     EAPI="4"
6     SUPPORT_PYTHON_ABIS="1"
7 patrick 1.7 RESTRICT_PYTHON_ABIS="2.5-jython"
8 floppym 1.1
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 grobian 1.8 KEYWORDS="amd64 ~ia64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-macos"
18 floppym 1.1 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