1 |
commit: 4b59bd60326724f44e3c26261832f538d5bdb494 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 1 00:07:46 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 1 00:14:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b59bd60 |
7 |
|
8 |
dev-python/cython: Remove old (py2) |
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.15.ebuild | 80 --------------------------------- |
14 |
2 files changed, 81 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest |
17 |
index 52ea40b8df0..a5e08409004 100644 |
18 |
--- a/dev-python/cython/Manifest |
19 |
+++ b/dev-python/cython/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST cython-0.29.15.gh.tar.gz 2075879 BLAKE2B e6322656c819c6b09e235c32d2b520e8fe917c864047d028dd67041e70251025f14accbd76499b7b9290d0424989adf89321f251526e66a892bdc243ba80ba7f SHA512 bd0872359d31a41750353bb0d7f03c2a40aa2bf6e492148e693321cef15b02ae4f8d5f5a00efde7216f09a6ac06f2bb3ded9d00e27ad0cfc53605f3a9ef55af8 |
22 |
DIST cython-0.29.21.gh.tar.gz 2088511 BLAKE2B 7a4ddabb65a519d3c71454ac8417438a3a9c46b47489c18e7c7e82ffcb5d5f2f0c5246d0b364f8317d374c53f0c83844c73c7d2ef6b9f75f10707aaf2931ce41 SHA512 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679 |
23 |
|
24 |
diff --git a/dev-python/cython/cython-0.29.15.ebuild b/dev-python/cython/cython-0.29.15.ebuild |
25 |
deleted file mode 100644 |
26 |
index 78cd7d59ec3..00000000000 |
27 |
--- a/dev-python/cython/cython-0.29.15.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,80 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) |
36 |
-PYTHON_REQ_USE="threads(+)" |
37 |
- |
38 |
-inherit distutils-r1 toolchain-funcs elisp-common |
39 |
- |
40 |
-DESCRIPTION="A Python to C compiler" |
41 |
-HOMEPAGE="https://cython.org https://pypi.org/project/Cython/ |
42 |
- https://github.com/cython/cython" |
43 |
-SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" |
44 |
- |
45 |
-LICENSE="Apache-2.0" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
48 |
-IUSE="emacs test" |
49 |
-RESTRICT="!test? ( test )" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
53 |
-" |
54 |
-BDEPEND="${RDEPEND} |
55 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
- test? ( |
57 |
- $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \ |
58 |
- 'python3*') |
59 |
- )" |
60 |
- |
61 |
-PATCHES=( |
62 |
- "${FILESDIR}/cython-0.29.14-sphinx-update.patch" |
63 |
-) |
64 |
- |
65 |
-SITEFILE=50cython-gentoo.el |
66 |
- |
67 |
-distutils_enable_sphinx docs |
68 |
- |
69 |
-python_compile() { |
70 |
- if ! python_is_python3; then |
71 |
- local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
72 |
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
73 |
- fi |
74 |
- |
75 |
- # Python gets confused when it is in sys.path before build. |
76 |
- local -x PYTHONPATH= |
77 |
- |
78 |
- distutils-r1_python_compile |
79 |
-} |
80 |
- |
81 |
-python_compile_all() { |
82 |
- use emacs && elisp-compile Tools/cython-mode.el |
83 |
-} |
84 |
- |
85 |
-python_test() { |
86 |
- tc-export CC |
87 |
- # https://github.com/cython/cython/issues/1911 |
88 |
- local -x CFLAGS="${CFLAGS} -fno-strict-overflow" |
89 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
90 |
- || die "Tests fail with ${EPYTHON}" |
91 |
-} |
92 |
- |
93 |
-python_install_all() { |
94 |
- local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) |
95 |
- distutils-r1_python_install_all |
96 |
- |
97 |
- if use emacs; then |
98 |
- elisp-install ${PN} Tools/cython-mode.* |
99 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
100 |
- fi |
101 |
-} |
102 |
- |
103 |
-pkg_postinst() { |
104 |
- use emacs && elisp-site-regen |
105 |
-} |
106 |
- |
107 |
-pkg_postrm() { |
108 |
- use emacs && elisp-site-regen |
109 |
-} |