commit:     44b83e623bb10696ec30b395774dd327e5e87925
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 23:19:52 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 23:19:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44b83e62

dev-python/numpy-python2: Remove last-rited pkg

Closes: https://bugs.gentoo.org/735358
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/numpy-python2/Manifest                  |   4 -
 .../files/numpy-1.15.4-no-hardcode-blas.patch      |  76 ----------
 ...-1.16.5-setup.py-install-skip-build-fails.patch |  23 ---
 dev-python/numpy-python2/metadata.xml              |  12 --
 .../numpy-python2/numpy-python2-1.16.6.ebuild      | 157 ---------------------
 profiles/package.mask                              |   7 -
 6 files changed, 279 deletions(-)

diff --git a/dev-python/numpy-python2/Manifest 
b/dev-python/numpy-python2/Manifest
deleted file mode 100644
index f76bbff74c9..00000000000
--- a/dev-python/numpy-python2/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST numpy-1.16.6.zip 5143340 BLAKE2B 
2c31473551aaf00e7d3175ce37463ce0f14ff3e77bdeb71c9f85ede634880e014d4a941b1f1c1bb107f1b01217d6a68cc71d188b7ae3edf833a6fd6a9a746acb
 SHA512 
c219841cc804c194a38b8e046b83265b8b7a35be8f33d68561ef17b085465dd11bd1e84fe1baea809af0efb09a9b13283f13728d125fcdd2221c30ec23fd0a50
-DIST numpy-html-1.16.6.zip 12190671 BLAKE2B 
c24586a40bb05fdb2f2f092778e01f7c60b17d2c695d0fb8577e988778ad80b711edf7e067a20c699946344a50febc152ab586f4653b80bcbeb489650dafbd1b
 SHA512 
ad25e7b91b992af78a6748f12d6fcbe153d96cb8667d5dc4a6b6b2a6105e24a11c32cbf63dd3314ed4aa9b65a55ec5b3a51cd7763af5dfdd133510ddd6e4ed16
-DIST numpy-ref-1.16.6.pdf 5183393 BLAKE2B 
e92a8a7a32ab45d2fdfd6760e62d8d9b5b3f89e202a29e18ef1b6ce49ec56bbfea0e48e0c47b4c35cad02783fa1db33726a0f4fed4a50b0d8ed84babced8b79e
 SHA512 
66dbb684f4140874d19826b479c781e16e7992a7cec46137f785f9a8fa071911966fbb3932cbcdcd040bbb5fbefac8c96d511ef623a57fc268aac9331aae8d22
-DIST numpy-user-1.16.6.pdf 621980 BLAKE2B 
ec735ff7057935d3a7f33f291792b74618f5dc10ee091c434f49c77e58f683821af9cce46286564ac9b8cb0111498f9d1b657d0c343e0a4313c3f895982dca8b
 SHA512 
ff03719c91707a39b4bc388558838f72d4412f34dd0b07f2a0b2cf8fedac6811e8789985013cf1f23c7a650f115655f71e9cadc51ef4e7ae6e49d7552752409a

diff --git a/dev-python/numpy-python2/files/numpy-1.15.4-no-hardcode-blas.patch 
b/dev-python/numpy-python2/files/numpy-1.15.4-no-hardcode-blas.patch
deleted file mode 100644
index 979b56bd6dc..00000000000
--- a/dev-python/numpy-python2/files/numpy-1.15.4-no-hardcode-blas.patch
+++ /dev/null
@@ -1,76 +0,0 @@
-diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
-index 65d7de316..a85640d30 100644
---- a/numpy/distutils/system_info.py
-+++ b/numpy/distutils/system_info.py
-@@ -364,29 +364,7 @@ def get_info(name, notfound_action=0):
-       1 - display warning message
-       2 - raise error
-     """
--    cl = {'atlas': atlas_info,  # use lapack_opt or blas_opt instead
--          'atlas_threads': atlas_threads_info,                # ditto
--          'atlas_blas': atlas_blas_info,
--          'atlas_blas_threads': atlas_blas_threads_info,
--          'lapack_atlas': lapack_atlas_info,  # use lapack_opt instead
--          'lapack_atlas_threads': lapack_atlas_threads_info,  # ditto
--          'atlas_3_10': atlas_3_10_info,  # use lapack_opt or blas_opt instead
--          'atlas_3_10_threads': atlas_3_10_threads_info,                # 
ditto
--          'atlas_3_10_blas': atlas_3_10_blas_info,
--          'atlas_3_10_blas_threads': atlas_3_10_blas_threads_info,
--          'lapack_atlas_3_10': lapack_atlas_3_10_info,  # use lapack_opt 
instead
--          'lapack_atlas_3_10_threads': lapack_atlas_3_10_threads_info,  # 
ditto
--          'mkl': mkl_info,
--          # openblas which may or may not have embedded lapack
--          'openblas': openblas_info,          # use blas_opt instead
--          # openblas with embedded lapack
--          'openblas_lapack': openblas_lapack_info, # use blas_opt instead
--          'openblas_clapack': openblas_clapack_info, # use blas_opt instead
--          'blis': blis_info,                  # use blas_opt instead
--          'lapack_mkl': lapack_mkl_info,      # use lapack_opt instead
--          'blas_mkl': blas_mkl_info,          # use blas_opt instead
--          'accelerate': accelerate_info,      # use blas_opt instead
--          'x11': x11_info,
-+    cl = {'x11': x11_info,
-           'fft_opt': fft_opt_info,
-           'fftw': fftw_info,
-           'fftw2': fftw2_info,
-@@ -731,10 +709,7 @@ class system_info(object):
-         return [b for b in [a.strip() for a in libs.split(',')] if b]
- 
-     def get_libraries(self, key='libraries'):
--        if hasattr(self, '_lib_names'):
--            return self.get_libs(key, default=self._lib_names)
--        else:
--            return self.get_libs(key, '')
-+        return self.get_libs(key, '')
- 
-     def library_extensions(self):
-         c = customized_ccompiler()
-@@ -1685,7 +1660,7 @@ class blas_info(system_info):
-             lib = self.has_cblas(info)
-             if lib is not None:
-                 info['language'] = 'c'
--                info['libraries'] = [lib]
-+                info['libraries'] = lib
-                 info['define_macros'] = [('HAVE_CBLAS', None)]
-         self.set_info(**info)
- 
-@@ -1717,16 +1692,16 @@ class blas_info(system_info):
-                 # check for cblas lib, and if not present check for blas lib.
-                 try:
-                     c.link_executable(obj, os.path.join(tmpdir, "a.out"),
--                                      libraries=["cblas"],
-+                                      libraries=info["libraries"],
-                                       library_dirs=info['library_dirs'],
-                                       
extra_postargs=info.get('extra_link_args', []))
--                    res = "cblas"
-+                    res = info["libraries"]
-                 except distutils.ccompiler.LinkError:
-                     c.link_executable(obj, os.path.join(tmpdir, "a.out"),
-                                       libraries=["blas"],
-                                       library_dirs=info['library_dirs'],
-                                       
extra_postargs=info.get('extra_link_args', []))
--                    res = "blas"
-+                    res = ["blas"]
-             except distutils.ccompiler.CompileError:
-                 res = None
-         finally:

diff --git 
a/dev-python/numpy-python2/files/numpy-1.16.5-setup.py-install-skip-build-fails.patch
 
b/dev-python/numpy-python2/files/numpy-1.16.5-setup.py-install-skip-build-fails.patch
deleted file mode 100644
index aa141de27f4..00000000000
--- 
a/dev-python/numpy-python2/files/numpy-1.16.5-setup.py-install-skip-build-fails.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From b8e741c66f71071c3406e592e1537570731bcb35 Mon Sep 17 00:00:00 2001
-From: mattip <matti.pi...@gmail.com>
-Date: Sun, 26 May 2019 08:55:53 +0300
-Subject: [PATCH] BUG: setup.py install --skip-build fails
-
----
- numpy/distutils/command/install_clib.py | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/numpy/distutils/command/install_clib.py 
b/numpy/distutils/command/install_clib.py
-index 662aa00bda9..6a73f7e3308 100644
---- a/numpy/distutils/command/install_clib.py
-+++ b/numpy/distutils/command/install_clib.py
-@@ -19,6 +19,9 @@ def finalize_options(self):
- 
-     def run (self):
-         build_clib_cmd = get_cmd("build_clib")
-+        if not build_clib_cmd.build_clib:
-+            # can happen if the user specified `--skip-build`
-+            build_clib_cmd.finalize_options()
-         build_dir = build_clib_cmd.build_clib
- 
-         # We need the compiler to get the library name -> filename association

diff --git a/dev-python/numpy-python2/metadata.xml 
b/dev-python/numpy-python2/metadata.xml
deleted file mode 100644
index 02598282f7e..00000000000
--- a/dev-python/numpy-python2/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <maintainer type="project">
-    <email>s...@gentoo.org</email>
-    <name>Gentoo Science Project</name>
-  </maintainer>
-  <maintainer type="project">
-    <email>pyt...@gentoo.org</email>
-    <name>Python</name>
-  </maintainer>
-</pkgmetadata>

diff --git a/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild 
b/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild
deleted file mode 100644
index 653528daf82..00000000000
--- a/dev-python/numpy-python2/numpy-python2-1.16.6.ebuild
+++ /dev/null
@@ -1,157 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-
-PYTHON_COMPAT=( python2_7 )
-PYTHON_REQ_USE="threads(+)"
-
-FORTRAN_NEEDED=lapack
-
-inherit distutils-r1 flag-o-matic fortran-2 multiprocessing toolchain-funcs
-
-MY_PN="numpy"
-DOC_PV="1.16.6"
-
-DESCRIPTION="Fast array and numerical python library"
-HOMEPAGE="https://www.numpy.org";
-SRC_URI="
-       mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.zip
-       doc? (
-               https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip 
-> numpy-html-${DOC_PV}.zip
-               https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> 
numpy-ref-${DOC_PV}.pdf
-               https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf 
-> numpy-user-${DOC_PV}.pdf
-       )"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris 
~x86-solaris"
-IUSE="doc lapack"
-RESTRICT="test"
-
-RDEPEND="
-       !<dev-python/numpy-1.17
-       lapack? (
-               virtual/cblas
-               virtual/lapack
-       )
-"
-DEPEND="${RDEPEND}"
-
-BDEPEND="
-       app-arch/unzip
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       lapack? ( virtual/pkgconfig )
-"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-PATCHES=(
-       "${FILESDIR}"/${MY_PN}-1.15.4-no-hardcode-blas.patch
-       "${FILESDIR}"/numpy-1.16.5-setup.py-install-skip-build-fails.patch
-)
-
-src_unpack() {
-       default
-       if use doc; then
-               unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
-       fi
-}
-
-pc_incdir() {
-       $(tc-getPKG_CONFIG) --cflags-only-I $@ | \
-               sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||'
-}
-
-pc_libdir() {
-       $(tc-getPKG_CONFIG) --libs-only-L $@ | \
-               sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||'
-}
-
-pc_libs() {
-       $(tc-getPKG_CONFIG) --libs-only-l $@ | \
-               sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
-               -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
-               | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
-}
-
-python_prepare_all() {
-       if use lapack; then
-               append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas 
lapack)"
-               local incdir="${EPREFIX}"/usr/include
-               local libdir="${EPREFIX}"/usr/$(get_libdir)
-               cat >> site.cfg <<-EOF || die
-                       [blas]
-                       include_dirs = $(pc_incdir cblas):${incdir}
-                       library_dirs = $(pc_libdir cblas blas):${libdir}
-                       blas_libs = $(pc_libs cblas blas)
-                       [lapack]
-                       library_dirs = $(pc_libdir lapack):${libdir}
-                       lapack_libs = $(pc_libs lapack)
-               EOF
-       else
-               export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
-       fi
-
-       export CC="$(tc-getCC) ${CFLAGS}"
-
-       append-flags -fno-strict-aliasing
-
-       # See progress in http://projects.scipy.org/scipy/numpy/ticket/573
-       # with the subtle difference that we don't want to break Darwin where
-       # -shared is not a valid linker argument
-       if [[ ${CHOST} != *-darwin* ]]; then
-               append-ldflags -shared
-       fi
-
-       # only one fortran to link with:
-       # linking with cblas and lapack library will force
-       # autodetecting and linking to all available fortran compilers
-       append-fflags -fPIC
-       if use lapack; then
-               NUMPY_FCONFIG="config_fc --noopt --noarch"
-               # workaround bug 335908
-               [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" 
--fcompiler=gnu95"
-       fi
-
-       # don't version f2py, we will handle it.
-       sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
-
-       # disable fuzzed tests
-       find numpy/*/tests -name '*.py' -exec sed -i \
-               -e 's:def \(.*_fuzz\):def _\1:' {} + || die
-       # very memory- and disk-hungry
-       sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_compile() {
-       export MAKEOPTS=-j1 #660754
-
-       local python_makeopts_jobs=""
-       python_is_python3 || python_makeopts_jobs="-j $(makeopts_jobs)"
-       distutils-r1_python_compile \
-               ${python_makeopts_jobs} \
-               ${NUMPY_FCONFIG}
-}
-
-python_install() {
-       # https://github.com/numpy/numpy/issues/16005
-       local mydistutilsargs=( build_src )
-       distutils-r1_python_install ${NUMPY_FCONFIG}
-       python_optimize
-}
-
-python_install_all() {
-       local DOCS=( THANKS.txt )
-
-       if use doc; then
-               local HTML_DOCS=( "${WORKDIR}"/html/. )
-               DOCS+=( "${DISTDIR}"/${MY_PN}-{user,ref}-${DOC_PV}.pdf )
-       fi
-
-       distutils-r1_python_install_all
-
-       # Let latest version to provide f2py link
-       rm "${ED}"/usr/bin/f2py || die
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 49836a57dca..b7fab6032d2 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -242,13 +242,6 @@ dev-haskell/hgettext
 # bug 762715
 <net-irc/unrealircd-5.0.0
 
-# Michał Górny <mgo...@gentoo.org> (2021-01-01)
-# RenPy requires Python 2.7 at runtime, and py3 port has not been
-# released yet.  Even if it were, the games would probably need porting
-# anyway.
-# Removal in 30 days.  Bug #735358.
-dev-python/numpy-python2
-
 # Jonas Stein <jst...@gentoo.org> (2020-12-29)
 # Unusable without alsa.
 # Masked for removal after 2021-02-01

Reply via email to