diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-01 01:07:46 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-01 01:14:19 +0100 |
commit | 4b59bd60326724f44e3c26261832f538d5bdb494 (patch) | |
tree | 5b368fa427c286bf7e10217afcf6f1e68a0644ed /dev-python | |
parent | dev-python/coverage: Remove py2 (diff) | |
download | gentoo-4b59bd60326724f44e3c26261832f538d5bdb494.tar.gz gentoo-4b59bd60326724f44e3c26261832f538d5bdb494.tar.bz2 gentoo-4b59bd60326724f44e3c26261832f538d5bdb494.zip |
dev-python/cython: Remove old (py2)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/cython/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cython/cython-0.29.15.ebuild | 80 |
2 files changed, 0 insertions, 81 deletions
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest index 52ea40b8df0a..a5e08409004e 100644 --- a/dev-python/cython/Manifest +++ b/dev-python/cython/Manifest @@ -1,2 +1 @@ -DIST cython-0.29.15.gh.tar.gz 2075879 BLAKE2B e6322656c819c6b09e235c32d2b520e8fe917c864047d028dd67041e70251025f14accbd76499b7b9290d0424989adf89321f251526e66a892bdc243ba80ba7f SHA512 bd0872359d31a41750353bb0d7f03c2a40aa2bf6e492148e693321cef15b02ae4f8d5f5a00efde7216f09a6ac06f2bb3ded9d00e27ad0cfc53605f3a9ef55af8 DIST cython-0.29.21.gh.tar.gz 2088511 BLAKE2B 7a4ddabb65a519d3c71454ac8417438a3a9c46b47489c18e7c7e82ffcb5d5f2f0c5246d0b364f8317d374c53f0c83844c73c7d2ef6b9f75f10707aaf2931ce41 SHA512 2c0c3e3fff07106eb98862f71cd5dec9ff29460cf9b9e4de74537ca5e033f7523989beb5fbdc14723beaf94a535976f75c803e791b87e017961d9694b8c37679 diff --git a/dev-python/cython/cython-0.29.15.ebuild b/dev-python/cython/cython-0.29.15.ebuild deleted file mode 100644 index 78cd7d59ec32..000000000000 --- a/dev-python/cython/cython-0.29.15.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 toolchain-funcs elisp-common - -DESCRIPTION="A Python to C compiler" -HOMEPAGE="https://cython.org https://pypi.org/project/Cython/ - https://github.com/cython/cython" -SRC_URI="https://github.com/cython/cython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -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" -IUSE="emacs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - emacs? ( >=app-editors/emacs-23.1:* ) -" -BDEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] - test? ( - $(python_gen_cond_dep 'dev-python/numpy[${PYTHON_USEDEP}]' \ - 'python3*') - )" - -PATCHES=( - "${FILESDIR}/cython-0.29.14-sphinx-update.patch" -) - -SITEFILE=50cython-gentoo.el - -distutils_enable_sphinx docs - -python_compile() { - if ! python_is_python3; then - local CFLAGS="${CFLAGS} -fno-strict-aliasing" - local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" - fi - - # Python gets confused when it is in sys.path before build. - local -x PYTHONPATH= - - distutils-r1_python_compile -} - -python_compile_all() { - use emacs && elisp-compile Tools/cython-mode.el -} - -python_test() { - tc-export CC - # https://github.com/cython/cython/issues/1911 - local -x CFLAGS="${CFLAGS} -fno-strict-overflow" - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ - || die "Tests fail with ${EPYTHON}" -} - -python_install_all() { - local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) - distutils-r1_python_install_all - - if use emacs; then - elisp-install ${PN} Tools/cython-mode.* - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} |