Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/cython: cython-0.21.1.ebuild cython-0.21.2.ebuild ChangeLog
Date: Thu, 01 Jan 2015 01:25:36
Message-Id: 20150101012530.93083E9AE@oystercatcher.gentoo.org
1 idella4 15/01/01 01:25:30
2
3 Modified: cython-0.21.1.ebuild ChangeLog
4 Added: cython-0.21.2.ebuild
5 Log:
6 bump; drop pypy support due to failing testsuites, set border to version of setuptools, found to be required on testing, tidy
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.4 dev-python/cython/cython-0.21.1.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.21.1.ebuild?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.21.1.ebuild?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.21.1.ebuild?r1=1.3&r2=1.4
16
17 Index: cython-0.21.1.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.21.1.ebuild,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- cython-0.21.1.ebuild 23 Nov 2014 17:32:30 -0000 1.3
24 +++ cython-0.21.1.ebuild 1 Jan 2015 01:25:30 -0000 1.4
25 @@ -1,10 +1,10 @@
26 -# Copyright 1999-2014 Gentoo Foundation
27 +# Copyright 1999-2015 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.21.1.ebuild,v 1.3 2014/11/23 17:32:30 floppym Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.21.1.ebuild,v 1.4 2015/01/01 01:25:30 idella4 Exp $
31
32 EAPI=5
33
34 -PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
35 +PYTHON_COMPAT=( python{2_7,3_3,3_4} )
36
37 inherit distutils-r1 flag-o-matic toolchain-funcs
38
39
40
41
42 1.140 dev-python/cython/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?rev=1.140&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?rev=1.140&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/ChangeLog?r1=1.139&r2=1.140
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v
51 retrieving revision 1.139
52 retrieving revision 1.140
53 diff -u -r1.139 -r1.140
54 --- ChangeLog 1 Dec 2014 09:44:54 -0000 1.139
55 +++ ChangeLog 1 Jan 2015 01:25:30 -0000 1.140
56 @@ -1,6 +1,13 @@
57 # ChangeLog for dev-python/cython
58 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.139 2014/12/01 09:44:54 ago Exp $
60 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
61 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.140 2015/01/01 01:25:30 idella4 Exp $
62 +
63 +*cython-0.21.2 (01 Jan 2015)
64 +
65 + 01 Jan 2015; Ian Delaney <idella4@g.o> +cython-0.21.2.ebuild,
66 + cython-0.21.1.ebuild:
67 + bump; drop pypy support due to failing testsuites, set border to version of
68 + setuptools, found to be required on testing, tidy
69
70 01 Dec 2014; Agostino Sarubbo <ago@g.o> cython-0.21.ebuild:
71 Stable for sparc, wrt bug #524416
72
73
74
75 1.1 dev-python/cython/cython-0.21.2.ebuild
76
77 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.21.2.ebuild?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cython/cython-0.21.2.ebuild?rev=1.1&content-type=text/plain
79
80 Index: cython-0.21.2.ebuild
81 ===================================================================
82 # Copyright 1999-2015 Gentoo Foundation
83 # Distributed under the terms of the GNU General Public License v2
84 # $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.21.2.ebuild,v 1.1 2015/01/01 01:25:30 idella4 Exp $
85
86 EAPI=5
87
88 PYTHON_COMPAT=( python{2_7,3_3,3_4} )
89
90 inherit distutils-r1 flag-o-matic toolchain-funcs
91
92 MY_PN="Cython"
93 MY_P="${MY_PN}-${PV/_/}"
94
95 DESCRIPTION="A Python to C compiler"
96 HOMEPAGE="http://www.cython.org/ http://pypi.python.org/pypi/Cython"
97 SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
98
99 LICENSE="Apache-2.0"
100 SLOT="0"
101 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
102 IUSE="doc examples test"
103
104 RDEPEND=""
105 # On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
106 # spanning several packages. This bug has been fixed in the recent release of version 9.1
107 DEPEND="${RDEPEND}
108 >=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
109 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
110 test? ( $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' 'python*') )"
111
112 S="${WORKDIR}/${MY_PN}-${PV%_*}"
113
114 python_compile() {
115 if ! python_is_python3; then
116 local CFLAGS="${CFLAGS}"
117 local CXXFLAGS="${CXXFLAGS}"
118 append-flags -fno-strict-aliasing
119 fi
120
121 # Python gets confused when it is in sys.path before build.
122 local PYTHONPATH=
123 export PYTHONPATH
124
125 distutils-r1_python_compile
126 }
127
128 python_compile_all() {
129 use doc && unset XDG_CONFIG_HOME && emake -C docs html
130 }
131
132 python_test() {
133 tc-export CC
134 "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
135 || die "Tests fail with ${EPYTHON}"
136 }
137
138 python_install_all() {
139 local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
140 use doc && local HTML_DOCS=( docs/build/html/. )
141 use examples && local EXAMPLES=( Demos/. )
142 distutils-r1_python_install_all
143 }