/[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.4 - (show annotations) (download)
Wed Apr 4 13:25:23 2012 UTC (8 years, 4 months ago) by jlec
Branch: MAIN
Changes since 1.3: +2 -2 lines
dev-python/six: Keyworded for ~-linux tested by me

(Portage version: 2.2.0_alpha99/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.3 2012/04/01 04:22:32 floppym Exp $
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 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
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