From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pudge: pudge-0.1.3.ebuild |
Date: | Sun, 04 Apr 2010 16:30:59 |
Message-Id: | E1NySir-0003qh-QB@stork.gentoo.org |
1 | arfrever 10/04/04 16:30:53 |
2 | |
3 | Modified: pudge-0.1.3.ebuild |
4 | Log: |
5 | Update HOMEPAGE and SRC_URI. Use $(PYTHON -f). |
6 | (Portage version: HEAD/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.6 dev-python/pudge/pudge-0.1.3.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pudge/pudge-0.1.3.ebuild?rev=1.6&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pudge/pudge-0.1.3.ebuild?rev=1.6&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pudge/pudge-0.1.3.ebuild?r1=1.5&r2=1.6 |
14 | |
15 | Index: pudge-0.1.3.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pudge/pudge-0.1.3.ebuild,v |
18 | retrieving revision 1.5 |
19 | retrieving revision 1.6 |
20 | diff -u -r1.5 -r1.6 |
21 | --- pudge-0.1.3.ebuild 2 Jan 2010 22:49:03 -0000 1.5 |
22 | +++ pudge-0.1.3.ebuild 4 Apr 2010 16:30:53 -0000 1.6 |
23 | @@ -1,15 +1,16 @@ |
24 | # Copyright 1999-2010 Gentoo Foundation |
25 | # Distributed under the terms of the GNU General Public License v2 |
26 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pudge/pudge-0.1.3.ebuild,v 1.5 2010/01/02 22:49:03 arfrever Exp $ |
27 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pudge/pudge-0.1.3.ebuild,v 1.6 2010/04/04 16:30:53 arfrever Exp $ |
28 | |
29 | -EAPI="2" |
30 | +EAPI="3" |
31 | +PYTHON_DEPEND="2" |
32 | SUPPORT_PYTHON_ABIS="1" |
33 | |
34 | inherit distutils |
35 | |
36 | DESCRIPTION="A documentation generator for Python projects, using Restructured Text" |
37 | -HOMEPAGE="http://pudge.lesscode.org" |
38 | -SRC_URI="http://cheeseshop.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" |
39 | +HOMEPAGE="http://pudge.lesscode.org http://pypi.python.org/pypi/pudge" |
40 | +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" |
41 | |
42 | LICENSE="MIT" |
43 | SLOT="0" |
44 | @@ -21,14 +22,20 @@ |
45 | dev-python/pygments" |
46 | DEPEND="dev-python/setuptools |
47 | doc? ( ${RDEPEND} )" |
48 | -RESTRICT_PYTHON_ABIS="2.4 3.*" |
49 | +RESTRICT_PYTHON_ABIS="3.*" |
50 | + |
51 | +src_compile() { |
52 | + distutils_src_compile |
53 | + |
54 | + if use doc; then |
55 | + "$(PYTHON -f)" bin/pudge --modules=pudge --documents=doc/index.rst --dest=doc/html || die "Generation of documentation failed" |
56 | + fi |
57 | +} |
58 | |
59 | src_install() { |
60 | distutils_src_install |
61 | |
62 | if use doc; then |
63 | - einfo "Generation of documentation" |
64 | - ./bin/pudge --modules=pudge --documents=doc/index.rst --dest=doc/html || die "Generation of documentation failed" |
65 | dohtml -r doc/html/* |
66 | fi |
67 | } |