dev-python/fitsio: Bump to 1.2.1

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-11-07 20:11:26 +01:00
parent 1a869563eb
commit 0d3bf7c585
2 changed files with 42 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST fitsio-1.2.0.gh.tar.gz 4582716 BLAKE2B a395318b7ae3f52f7c764dae81b9ba9e305cf92e140d7ee015e235c1448a8fb7b2f87ec6132b7d4322f5a468384f8b6a9a33382d0d9d2adc8924e9d3843d9901 SHA512 d701534d8615382dbe8e4134e0b47a2568194e746b75b6c0dc9172d30c79d2cd70052364b18506d275360c82811a7062832bb6f6d7bfb4b3be6ef51b19b62a95
DIST fitsio-1.2.1.gh.tar.gz 4584464 BLAKE2B 376d2afe2e637075fca88c24c17117600973dc81fbb006e3e8bf4ddab023db6a466653187b686a4beb75339559cb4b77e0bf927f09c991d9205ffb0e66ad17a6 SHA512 645c117c394a18cdbb0c5033a1446e1f6e6473f54d9556b7591f33873855a70860343b3e4811284d7dfa16696ef23a1abb74ee638318d7295eb85ec4b17f0309

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2023 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_{10..12} )
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:0=
"
RDEPEND="
${DEPEND}
"
distutils_enable_tests pytest
export FITSIO_USE_SYSTEM_FITSIO=1
python_test() {
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
epytest
}