diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-24 05:39:12 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-24 05:39:12 +0100 |
commit | 33d2a521bd14b0d765b0ea7b8faddbdd12127911 (patch) | |
tree | 1f730a6178a8eb3d9867c8df2188a5a2ce90eba5 /dev-python/h5py | |
parent | dev-util/stripe-mock: Remove old (diff) | |
download | gentoo-33d2a521bd14b0d765b0ea7b8faddbdd12127911.tar.gz gentoo-33d2a521bd14b0d765b0ea7b8faddbdd12127911.tar.bz2 gentoo-33d2a521bd14b0d765b0ea7b8faddbdd12127911.zip |
dev-python/h5py: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/h5py')
-rw-r--r-- | dev-python/h5py/Manifest | 1 | ||||
-rw-r--r-- | dev-python/h5py/files/h5py-3.7.0-types.patch | 36 | ||||
-rw-r--r-- | dev-python/h5py/h5py-3.7.0.ebuild | 74 |
3 files changed, 0 insertions, 111 deletions
diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index b460c61ffcd6..a61e1cbff058 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,2 +1 @@ -DIST h5py-3.7.0.tar.gz 392355 BLAKE2B efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15 SHA512 c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2 DIST h5py-3.8.0.tar.gz 400774 BLAKE2B 2e48991225170fbb728fa55a68aea795db42c7eae605d123a24a59a8730220ddc98e88dfbff60220ce8c6952ca7fc0c3e33d472acae09864a29bfe11d90fcca1 SHA512 13397f66a9fc735e1143eb9e3dd584280e955adf49de467bf56c1a98952903720480ab8d505921b7e22c16453498625ad93421a64e520f15ea3566472849a8fd diff --git a/dev-python/h5py/files/h5py-3.7.0-types.patch b/dev-python/h5py/files/h5py-3.7.0-types.patch deleted file mode 100644 index 47058879445f..000000000000 --- a/dev-python/h5py/files/h5py-3.7.0-types.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 873077a5b132c4294f0ea6af2eb29d61352c6688 Mon Sep 17 00:00:00 2001 -From: Gyeongjae Choi <def6488@gmail.com> -Date: Fri, 2 Sep 2022 07:54:44 +0000 -Subject: [PATCH] Fix incompatible pointer type - ---- - h5py/_errors.pxd | 2 +- - h5py/_errors.pyx | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/h5py/_errors.pxd b/h5py/_errors.pxd -index 13b299e27..e7791a6bd 100644 ---- a/h5py/_errors.pxd -+++ b/h5py/_errors.pxd -@@ -412,7 +412,7 @@ cdef extern from "hdf5.h": - - herr_t H5Eprint(hid_t estack_id, void *stream) - -- ctypedef herr_t (*H5E_walk_t)(int n, H5E_error_t *err_desc, void* client_data) -+ ctypedef herr_t (*H5E_walk_t)(unsigned int n, const H5E_error_t *err_desc, void* client_data) - herr_t H5Ewalk(hid_t estack_id, H5E_direction_t direction, H5E_walk_t func, void* client_data) - - # --- Functions for managing the HDF5 error callback mechanism --- -diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx -index 612052fb2..ca7b1c48c 100644 ---- a/h5py/_errors.pyx -+++ b/h5py/_errors.pyx -@@ -94,7 +94,7 @@ cdef struct err_data_t: - H5E_error_t err - int n - --cdef herr_t walk_cb(int n, H5E_error_t *desc, void *e) nogil: -+cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil: - - cdef err_data_t *ee = <err_data_t*>e - diff --git a/dev-python/h5py/h5py-3.7.0.ebuild b/dev-python/h5py/h5py-3.7.0.ebuild deleted file mode 100644 index 4bde6fa3be73..000000000000 --- a/dev-python/h5py/h5py-3.7.0.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -inherit distutils-r1 - -DESCRIPTION="Simple Python interface to HDF5 files" -HOMEPAGE=" - https://www.h5py.org/ - https://github.com/h5py/h5py/ - https://pypi.org/project/h5py/ -" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~riscv x86 ~amd64-linux ~x86-linux" -# disable mpi until mpi4py gets python3_8 -#IUSE="examples mpi" -IUSE="examples" - -#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)] -DEPEND=" - sci-libs/hdf5:=[hl(+)] -" -RDEPEND=" - ${DEPEND} - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] -" - -BDEPEND=" - dev-python/cython[${PYTHON_USEDEP}] - >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] - dev-python/pkgconfig[${PYTHON_USEDEP}] - test? ( - dev-python/QtPy[testlib,${PYTHON_USEDEP}] - ) -" -# mpi? ( virtual/mpi ) -# mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) - -distutils_enable_tests pytest -distutils_enable_sphinx docs \ - dev-python/alabaster - -#pkg_setup() { -# use mpi && export CC=mpicc -#} - -python_prepare_all() { - local PATCHES=( - "${FILESDIR}"/${P}-types.patch - ) - - # avoid pytest-mpi dep, we do not use mpi anyway - sed -i -e 's:pytest-mpi::' pytest.ini || die - distutils-r1_python_prepare_all - - export H5PY_SETUP_REQUIRES=0 -} - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -m "not mpi" -} - -python_install_all() { - use examples && dodoc -r examples - distutils-r1_python_install_all -} |