1 |
commit: 5587422114688eb5148b7bf0965674e60c7ed159 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 1 06:40:32 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 1 07:03:13 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55874221 |
7 |
|
8 |
dev-python/cython: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/cython/Manifest | 1 + |
14 |
dev-python/cython/cython-0.23.3.ebuild | 62 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest |
18 |
index f8c9951..2907728 100644 |
19 |
--- a/dev-python/cython/Manifest |
20 |
+++ b/dev-python/cython/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST Cython-0.22.tar.gz 1584483 SHA256 14307e7a69af9a0d0e0024d446af7e51cc0e3e4d0dfb10d36ba837e5e5844015 SHA512 856220fa579e272ac38dcef091760f527431ff3b98df9af6e68416fcf77d9659ac5abe5c7dee41331f359614637a4ff452033085335ee499830ed126ab584267 WHIRLPOOL d9919e1fe33f7ea02833c485e10667d8470d7c69901b2419c6c4c1d464f9ef2444795e14903cc66b6fee40ec5a4c20308c331ad93fd8818f207d0a21cccf9b2b |
23 |
DIST Cython-0.23.2.tar.gz 1627642 SHA256 85a8713db65d9ad3e7e2f01e6ac424d4ae2a40349f1391b2b0f494ccb7e0fda7 SHA512 ae1d20f3efc2ae9eeb73d1d536895992280b4b3222bd6911bae886971cb222c98a581a770c48d65ec1fa40cfa7b7639580fe86e4986b5fba5c9257d351dfc1a3 WHIRLPOOL c019b43508104f0ce9375b1eed740d9bf4ba9bdff66fccbc4b272f61a9899327d1e3a1026215f4014db89aefb0f69caafd4e055271cd67500b95ad3fb3ab5263 |
24 |
+DIST Cython-0.23.3.tar.gz 1628634 SHA256 590274ac8dbd1e62cc79d94eb2e2f4ae60cea91a9f8d50b8697d39aba451e82e SHA512 93d02fb7009fe005a91ccf83a3428c449e46c4ff913993e71affdee5a4155d932dcf93238fb85194f44c8b5dd7acd3e3dd83e86b407e4c41e6895abf1f3499ae WHIRLPOOL aa3a289f10608628991b368e9a6bda0821c5f957d1536963e7336ee81e04f554bb7fcce8c2bab429bde1ef7d1490a75770a45caec83d809aaf41f60b36f37924 |
25 |
|
26 |
diff --git a/dev-python/cython/cython-0.23.3.ebuild b/dev-python/cython/cython-0.23.3.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..ea5a078 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cython/cython-0.23.3.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
39 |
+ |
40 |
+inherit distutils-r1 flag-o-matic toolchain-funcs |
41 |
+ |
42 |
+MY_PN="Cython" |
43 |
+MY_P="${MY_PN}-${PV/_/}" |
44 |
+ |
45 |
+DESCRIPTION="A Python to C compiler" |
46 |
+HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" |
47 |
+SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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" |
52 |
+IUSE="doc examples test" |
53 |
+ |
54 |
+RDEPEND="" |
55 |
+# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
56 |
+# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
57 |
+DEPEND="${RDEPEND} |
58 |
+ >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
59 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
60 |
+ test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
61 |
+ |
62 |
+S="${WORKDIR}/${MY_PN}-${PV%_*}" |
63 |
+ |
64 |
+python_compile() { |
65 |
+ if ! python_is_python3; then |
66 |
+ local CFLAGS="${CFLAGS}" |
67 |
+ local CXXFLAGS="${CXXFLAGS}" |
68 |
+ append-flags -fno-strict-aliasing |
69 |
+ fi |
70 |
+ |
71 |
+ # Python gets confused when it is in sys.path before build. |
72 |
+ local PYTHONPATH= |
73 |
+ export PYTHONPATH |
74 |
+ |
75 |
+ distutils-r1_python_compile |
76 |
+} |
77 |
+ |
78 |
+python_compile_all() { |
79 |
+ use doc && unset XDG_CONFIG_HOME && emake -C docs html |
80 |
+} |
81 |
+ |
82 |
+python_test() { |
83 |
+ tc-export CC |
84 |
+ "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
85 |
+ || die "Tests fail with ${EPYTHON}" |
86 |
+} |
87 |
+ |
88 |
+python_install_all() { |
89 |
+ local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
90 |
+ use doc && local HTML_DOCS=( docs/build/html/. ) |
91 |
+ use examples && local EXAMPLES=( Demos/. ) |
92 |
+ distutils-r1_python_install_all |
93 |
+} |