commit: 8e442fd84a12784c0f1b053a8e282677d947b216 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Nov 13 03:14:19 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Nov 13 03:38:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e442fd8
dev-python/fitsio: Remove old Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/fitsio/Manifest | 1 - .../fitsio/files/fitsio-1.2.6-numpy-2.3.patch | 49 ---------------------- dev-python/fitsio/fitsio-1.2.6-r1.ebuild | 47 --------------------- 3 files changed, 97 deletions(-) diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index 4a1f168716e8..a59a0b5f78e0 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1,2 +1 @@ -DIST fitsio-1.2.6.gh.tar.gz 4540865 BLAKE2B a5acb2cbc105ce055255196c840708414b4da46fa3274da8c617590d1ab96fc36da3c19a79bca6fd2525b0c1d10802881fbed70ad69a5aea2d969529f57ccf9f SHA512 e8ffed41633c261bdb4663745396d94a3e36e70feb9fe8bca32e0d46d4d126e94df2d723e4fbf82a4b910315b211ca3c9fba44fcba387649cb8f48c6a917463e DIST fitsio-1.2.8.gh.tar.gz 4543207 BLAKE2B 516206b938650e59d8e22a7cb2a3ea8167d67261b37d95923114abd3a00440f9c4691962ceaa6da0e95e0f710291bc71864e522f6b88308e80d8d26a75ed6000 SHA512 ff6b066ffc03e4588311e886d3605a2adc6377bdb7bb8d12d54c8e8ecd7c476bee8c9a191eab1159d5d5954e8f5b7b784783c6910b32a5e6b62645afad1b6fc7 diff --git a/dev-python/fitsio/files/fitsio-1.2.6-numpy-2.3.patch b/dev-python/fitsio/files/fitsio-1.2.6-numpy-2.3.patch deleted file mode 100644 index da2d7e7d175a..000000000000 --- a/dev-python/fitsio/files/fitsio-1.2.6-numpy-2.3.patch +++ /dev/null @@ -1,49 +0,0 @@ -From b3b1af26b1c23a3e3e1b185b1e80bd7f55771fe7 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]> -Date: Wed, 18 Jun 2025 10:57:02 +0200 -Subject: [PATCH] Replace deprecated `NPY_*` constants - -Replaced the deprecated `NPY_*` constants with `NPY_ARRAY_*`. -The latter were introduced in NumPy 1.7, and the former were finally -removed in 2.3.0. - -Fixes #429 ---- - fitsio/fitsio_pywrap.c | 8 ++++---- - setup.py | 4 ++-- - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/fitsio/fitsio_pywrap.c b/fitsio/fitsio_pywrap.c -index 8bba6be..957643d 100644 ---- a/fitsio/fitsio_pywrap.c -+++ b/fitsio/fitsio_pywrap.c -@@ -2356,10 +2356,10 @@ int write_var_num_column( - int mindepth=1, maxdepth=0; - PyObject* context=NULL; - int requirements = -- NPY_C_CONTIGUOUS -- | NPY_ALIGNED -- | NPY_NOTSWAPPED -- | NPY_ELEMENTSTRIDES; -+ NPY_ARRAY_C_CONTIGUOUS -+ | NPY_ARRAY_ALIGNED -+ | NPY_ARRAY_NOTSWAPPED -+ | NPY_ARRAY_ELEMENTSTRIDES; - - int res=0; - -diff --git a/setup.py b/setup.py -index 7de67a7..ef549c5 100644 ---- a/setup.py -+++ b/setup.py -@@ -327,8 +327,8 @@ def check_system_cfitsio_objects(self, obj_name): - url="https://github.com/esheldon/fitsio", - author="Erin Scott Sheldon", - author_email="[email protected]", -- setup_requires=['numpy'], -- install_requires=['numpy'], -+ setup_requires=['numpy>=1.7'], -+ install_requires=['numpy>=1.7'], - packages=find_packages(), - include_package_data=True, - ext_modules=[ext], diff --git a/dev-python/fitsio/fitsio-1.2.6-r1.ebuild b/dev-python/fitsio/fitsio-1.2.6-r1.ebuild deleted file mode 100644 index 025a470957d0..000000000000 --- a/dev-python/fitsio/fitsio-1.2.6-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{11..14} ) - -inherit distutils-r1 - -DESCRIPTION="Python library to read from and write to FITS files" -HOMEPAGE=" - https://github.com/esheldon/fitsio/ - https://pypi.org/project/fitsio/ -" -SRC_URI=" - https://github.com/esheldon/fitsio/archive/${PV}.tar.gz - -> ${P}.gh.tar.gz -" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -DEPEND=" - >=dev-python/numpy-1.11:=[${PYTHON_USEDEP}] - >=sci-libs/cfitsio-4.4.0:0= -" -RDEPEND=" - ${DEPEND} -" - -EPYTEST_PLUGINS=() -distutils_enable_tests pytest - -PATCHES=( - # https://github.com/esheldon/fitsio/pull/430 - "${FILESDIR}/${P}-numpy-2.3.patch" -) - -export FITSIO_USE_SYSTEM_FITSIO=1 - -python_test() { - cd "${BUILD_DIR}/install$(python_get_sitedir)" || die - epytest -}
