Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/cython: ChangeLog cython-0.14.1_rc2.ebuild
Date: Sun, 23 Jan 2011 23:19:55
Message-Id: 20110123231944.6C20320054@flycatcher.gentoo.org
1 arfrever 11/01/23 23:19:44
2
3 Modified: ChangeLog
4 Added: cython-0.14.1_rc2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.61 dev-python/cython/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?rev=1.61&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?rev=1.61&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?r1=1.60&r2=1.61
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v
20 retrieving revision 1.60
21 retrieving revision 1.61
22 diff -u -r1.60 -r1.61
23 --- ChangeLog 18 Jan 2011 18:15:52 -0000 1.60
24 +++ ChangeLog 23 Jan 2011 23:19:44 -0000 1.61
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/cython
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.60 2011/01/18 18:15:52 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.61 2011/01/23 23:19:44 arfrever Exp $
30 +
31 +*cython-0.14.1_rc2 (23 Jan 2011)
32 +
33 + 23 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +cython-0.14.1_rc2.ebuild:
35 + Version bump.
36
37 *cython-0.14.1_rc1 (18 Jan 2011)
38
39
40
41
42 1.1 dev-python/cython/cython-0.14.1_rc2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.14.1_rc2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.14.1_rc2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cython-0.14.1_rc2.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.14.1_rc2.ebuild,v 1.1 2011/01/23 23:19:44 arfrever Exp $
52
53 EAPI="3"
54 SUPPORT_PYTHON_ABIS="1"
55 RESTRICT_PYTHON_ABIS="*-jython"
56
57 inherit distutils
58
59 MY_PN="Cython"
60 MY_P="${MY_PN}-${PV/_/}"
61
62 DESCRIPTION="The Cython compiler for writing C extensions for the Python language"
63 HOMEPAGE="http://www.cython.org/ http://pypi.python.org/pypi/Cython"
64 SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
65
66 LICENSE="Apache-2.0"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
69 IUSE="doc examples"
70
71 DEPEND=""
72 RDEPEND=""
73
74 S="${WORKDIR}/${MY_P}"
75
76 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
77
78 DOCS="README.txt ToDo.txt USAGE.txt"
79 PYTHON_MODNAME="Cython cython.py pyximport"
80
81 src_test() {
82 testing() {
83 rm -fr BUILD
84 "$(PYTHON)" runtests.py -vv
85 }
86 python_execute_function testing
87 }
88
89 src_install() {
90 distutils_src_install
91
92 if use doc; then
93 # "-A c" is for ignoring of "Doc/primes.c".
94 dohtml -A c -r Doc/* || die "Installation of documentation failed"
95 fi
96
97 if use examples; then
98 insinto /usr/share/doc/${PF}/examples
99 doins -r Demos/* || die "Installation of examples failed"
100 fi
101 }