/[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.11 - (show annotations) (download)
Fri Jan 2 18:11:20 2015 UTC (5 years, 7 months ago) by djc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +1 -1 lines
FILE REMOVED
Version bump six to 1.9.0 and remove old versions

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 30380381)

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.10 2012/12/17 17:54:35 ago 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 ~x86-macos"
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