Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyx: ChangeLog pyx-0.11.1.ebuild
Date: Fri, 29 Jul 2011 22:54:49
Message-Id: 20110729225435.DD9742004B@flycatcher.gentoo.org
1 bicatali 11/07/29 22:54:35
2
3 Modified: ChangeLog
4 Added: pyx-0.11.1.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.1.10.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.28 dev-python/pyx/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyx/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyx/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyx/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/pyx/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 2 Jan 2011 16:15:48 -0000 1.27
24 +++ ChangeLog 29 Jul 2011 22:54:35 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/pyx
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyx/ChangeLog,v 1.27 2011/01/02 16:15:48 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyx/ChangeLog,v 1.28 2011/07/29 22:54:35 bicatali Exp $
30 +
31 +*pyx-0.11.1 (29 Jul 2011)
32 +
33 + 29 Jul 2011; Sébastien Fabbro <bicatali@g.o> +pyx-0.11.1.ebuild:
34 + Version bump
35
36 02 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
37 -pyx-0.10.ebuild:
38
39
40
41 1.1 dev-python/pyx/pyx-0.11.1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyx/pyx-0.11.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyx/pyx-0.11.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pyx-0.11.1.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/pyx/pyx-0.11.1.ebuild,v 1.1 2011/07/29 22:54:35 bicatali Exp $
51
52 EAPI="3"
53 PYTHON_DEPEND="2"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="3.* *-jython"
56
57 inherit distutils eutils
58
59 MY_P="${P/pyx/PyX}"
60
61 DESCRIPTION="Python package for the generation of encapsulated PostScript figures"
62 HOMEPAGE="http://pyx.sourceforge.net/"
63 SRC_URI="mirror://sourceforge/pyx/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
68 IUSE="doc"
69
70 RDEPEND="virtual/tex-base"
71 DEPEND="${RDEPEND}
72 doc? ( virtual/latex-base )"
73
74 S="${WORKDIR}/${MY_P}"
75
76 DOCS="AUTHORS CHANGES"
77
78 src_prepare() {
79 distutils_src_prepare
80 sed -i \
81 -e 's/^build_t1code=.*/build_t1code=1/' \
82 -e 's/^build_pykpathsea=.*/build_pykpathsea=1/' \
83 setup.cfg || die "setup.cfg fix failed"
84 }
85
86 src_compile() {
87 distutils_src_compile
88 if use doc; then
89 cd "${S}/faq"
90 VARTEXFONTS="${T}"/fonts make pdf
91 fi
92 }
93
94 src_install() {
95 distutils_src_install
96 use doc && dodoc faq/pyxfaq.pdf
97 }