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_rc3.ebuild
Date: Fri, 28 Jan 2011 21:48:51
Message-Id: 20110128214839.DCA6220054@flycatcher.gentoo.org
1 arfrever 11/01/28 21:48:39
2
3 Modified: ChangeLog
4 Added: cython-0.14.1_rc3.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha19_p6/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.62 dev-python/cython/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?rev=1.62&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?rev=1.62&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?r1=1.61&r2=1.62
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v
20 retrieving revision 1.61
21 retrieving revision 1.62
22 diff -u -r1.61 -r1.62
23 --- ChangeLog 23 Jan 2011 23:19:44 -0000 1.61
24 +++ ChangeLog 28 Jan 2011 21:48:39 -0000 1.62
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.61 2011/01/23 23:19:44 arfrever Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.62 2011/01/28 21:48:39 arfrever Exp $
30 +
31 +*cython-0.14.1_rc3 (28 Jan 2011)
32 +
33 + 28 Jan 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
34 + +cython-0.14.1_rc3.ebuild:
35 + Version bump.
36
37 *cython-0.14.1_rc2 (23 Jan 2011)
38
39
40
41
42 1.1 dev-python/cython/cython-0.14.1_rc3.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.14.1_rc3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.14.1_rc3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cython-0.14.1_rc3.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_rc3.ebuild,v 1.1 2011/01/28 21:48:39 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 "$(PYTHON)" runtests.py -vv --work-dir tests-${PYTHON_ABI}
84 }
85 python_execute_function testing
86 }
87
88 src_install() {
89 distutils_src_install
90
91 if use doc; then
92 # "-A c" is for ignoring of "Doc/primes.c".
93 dohtml -A c -r Doc/* || die "Installation of documentation failed"
94 fi
95
96 if use examples; then
97 insinto /usr/share/doc/${PF}/examples
98 doins -r Demos/* || die "Installation of examples failed"
99 fi
100 }