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.12.1.ebuild
Date: Thu, 04 Feb 2010 20:50:31
Message-Id: E1Nd8ej-00014E-Mr@stork.gentoo.org
1 arfrever 10/02/04 20:50:29
2
3 Modified: ChangeLog
4 Added: cython-0.12.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 15321-svn/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.41 dev-python/cython/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cython/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cython/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cython/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 1 Feb 2010 16:34:10 -0000 1.40
23 +++ ChangeLog 4 Feb 2010 20:50:29 -0000 1.41
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/cython
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.40 2010/02/01 16:34:10 hwoarang Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.41 2010/02/04 20:50:29 arfrever Exp $
29 +
30 +*cython-0.12.1 (04 Feb 2010)
31 +
32 + 04 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
33 + +cython-0.12.1.ebuild:
34 + Version bump.
35
36 01 Feb 2010; Markos Chandras <hwoarang@g.o> cython-0.12.ebuild:
37 Stable on amd64 wrt bug #298794
38
39
40
41 1.1 dev-python/cython/cython-0.12.1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cython/cython-0.12.1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/cython/cython-0.12.1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cython-0.12.1.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.12.1.ebuild,v 1.1 2010/02/04 20:50:29 arfrever Exp $
51
52 EAPI="2"
53 SUPPORT_PYTHON_ABIS="1"
54
55 inherit distutils
56
57 MY_PN="Cython"
58 MY_P="${MY_PN}-${PV/_/.}"
59
60 DESCRIPTION="A language for writing Python extension modules based on pyrex"
61 HOMEPAGE="http://www.cython.org/ http://pypi.python.org/pypi/Cython"
62 SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz
63 http://www.cython.org/release/${MY_P}.tar.gz"
64
65 LICENSE="PSF-2.4"
66 SLOT="0"
67 KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
68 IUSE="doc examples"
69
70 DEPEND=""
71 RDEPEND=""
72
73 S="${WORKDIR}/${MY_P}"
74
75 PYTHON_MODNAME="${MY_PN} pyximport"
76 DOCS="ToDo.txt USAGE.txt"
77
78 src_test() {
79 testing() {
80 # Tests fail with Python 3 due to bug in Python.
81 # http://bugs.python.org/issue7173
82 [[ "${PYTHON_ABI}" == 3.* ]] && return
83
84 rm -fr BUILD
85 # Tests sometimes hang with forking enabled.
86 "$(PYTHON)" runtests.py --no-fork -vv
87 }
88 python_execute_function testing
89 }
90
91 src_install() {
92 distutils_src_install
93
94 # '-A c' is for ignoring of Doc/primes.c.
95 use doc && dohtml -A c -r Doc/*
96
97 if use examples; then
98 # Demos/ has files with .so,~ suffixes.
99 # So we have to specify precisely what to install.
100 insinto /usr/share/doc/${PF}/examples
101 doins Demos/Makefile* Demos/setup.py Demos/*.{py,pyx}
102 fi
103 }