Gentoo Archives: gentoo-commits

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