1 |
commit: 10fd4ab255b729b60fb6838d108151f773e338b0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 31 15:57:17 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 31 17:38:23 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10fd4ab2 |
7 |
|
8 |
dev-python/cython: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cython/Manifest | 1 - |
13 |
dev-python/cython/cython-0.29.30.ebuild | 90 --------------------------------- |
14 |
2 files changed, 91 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest |
17 |
index 3f80946566a6..885bc551e474 100644 |
18 |
--- a/dev-python/cython/Manifest |
19 |
+++ b/dev-python/cython/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST cython-0.29.30.gh.tar.gz 2105561 BLAKE2B c995bc710d2c397b8d6e4edee0f989e43969a51efb29b83643149d8c4110ae0331a35b9cc2ec7a45a43fea19ab8d63f1ef934f92d451c62d057e0e04ec79a871 SHA512 f6b07adfa1ebe9d52dfb72857ffd40b35d8777914299de101c7b96ee2d64cdd85ac0374ed41b382881b1f3ce535a9af9419dfabee9a4781a3f818125292627d4 |
22 |
DIST cython-0.29.32.gh.tar.gz 2110417 BLAKE2B 008ffe325c87d165bf45afb2ff92db5286f611bbe425d0e9f18b530202135ca21f5f5ab564a4d0c6251ec2479ea0fd19207274a255fb1faf8863d3b067d17ae9 SHA512 55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f |
23 |
|
24 |
diff --git a/dev-python/cython/cython-0.29.30.ebuild b/dev-python/cython/cython-0.29.30.ebuild |
25 |
deleted file mode 100644 |
26 |
index 090829e0f3ab..000000000000 |
27 |
--- a/dev-python/cython/cython-0.29.30.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,90 +0,0 @@ |
30 |
-# Copyright 1999-2022 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=8 |
34 |
- |
35 |
-DISTUTILS_USE_PEP517=setuptools |
36 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
37 |
-PYTHON_REQ_USE="threads(+)" |
38 |
- |
39 |
-inherit distutils-r1 toolchain-funcs elisp-common |
40 |
- |
41 |
-DESCRIPTION="A Python to C compiler" |
42 |
-HOMEPAGE=" |
43 |
- https://cython.org/ |
44 |
- https://github.com/cython/cython/ |
45 |
- https://pypi.org/project/Cython/ |
46 |
-" |
47 |
-SRC_URI=" |
48 |
- https://github.com/cython/cython/archive/${PV}.tar.gz |
49 |
- -> ${P}.gh.tar.gz |
50 |
-" |
51 |
- |
52 |
-LICENSE="Apache-2.0" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" |
55 |
-IUSE="emacs test" |
56 |
-RESTRICT="!test? ( test )" |
57 |
- |
58 |
-RDEPEND=" |
59 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
60 |
-" |
61 |
-BDEPEND=" |
62 |
- ${RDEPEND} |
63 |
- test? ( |
64 |
- $(python_gen_cond_dep ' |
65 |
- dev-python/numpy[${PYTHON_USEDEP}] |
66 |
- ' python3_{8..10}) |
67 |
- ) |
68 |
-" |
69 |
- |
70 |
-PATCHES=( |
71 |
- "${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch" |
72 |
- "${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch" |
73 |
-) |
74 |
- |
75 |
-SITEFILE=50cython-gentoo.el |
76 |
- |
77 |
-distutils_enable_sphinx docs |
78 |
- |
79 |
-python_compile() { |
80 |
- # Python gets confused when it is in sys.path before build. |
81 |
- local -x PYTHONPATH= |
82 |
- |
83 |
- distutils-r1_python_compile |
84 |
-} |
85 |
- |
86 |
-python_compile_all() { |
87 |
- use emacs && elisp-compile Tools/cython-mode.el |
88 |
-} |
89 |
- |
90 |
-python_test() { |
91 |
- if has "${EPYTHON}" pypy3 python3.11; then |
92 |
- einfo "Skipping tests on ${EPYTHON} (xfail)" |
93 |
- return |
94 |
- fi |
95 |
- |
96 |
- tc-export CC |
97 |
- # https://github.com/cython/cython/issues/1911 |
98 |
- local -x CFLAGS="${CFLAGS} -fno-strict-overflow" |
99 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests || |
100 |
- die "Tests fail with ${EPYTHON}" |
101 |
-} |
102 |
- |
103 |
-python_install_all() { |
104 |
- local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) |
105 |
- distutils-r1_python_install_all |
106 |
- |
107 |
- if use emacs; then |
108 |
- elisp-install ${PN} Tools/cython-mode.* |
109 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
110 |
- fi |
111 |
-} |
112 |
- |
113 |
-pkg_postinst() { |
114 |
- use emacs && elisp-site-regen |
115 |
-} |
116 |
- |
117 |
-pkg_postrm() { |
118 |
- use emacs && elisp-site-regen |
119 |
-} |