diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index a59a0b5f78e0..ec982f43719b 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1 +1,2 @@ DIST fitsio-1.2.8.gh.tar.gz 4543207 BLAKE2B 516206b938650e59d8e22a7cb2a3ea8167d67261b37d95923114abd3a00440f9c4691962ceaa6da0e95e0f710291bc71864e522f6b88308e80d8d26a75ed6000 SHA512 ff6b066ffc03e4588311e886d3605a2adc6377bdb7bb8d12d54c8e8ecd7c476bee8c9a191eab1159d5d5954e8f5b7b784783c6910b32a5e6b62645afad1b6fc7 +DIST fitsio-1.3.0.gh.tar.gz 4990432 BLAKE2B d43b140d564326f858f45905b49d70b58fab4a2755cc3dacfe33e4df83fd929db8060dea146f681b35a60ae6a8b6f2662a9af2542a1b6150a2e3837a87d54a76 SHA512 e7e758f69fffe0c1386b30f7b1e392b4162af2ec1ca63389730ac2f5eb41cb7c2b4e9fec831411a9f37a08be80ef9bef39b6fad04d6520e03fabe5501c59ba84 diff --git a/dev-python/fitsio/fitsio-1.3.0.ebuild b/dev-python/fitsio/fitsio-1.3.0.ebuild new file mode 100644 index 000000000000..75d7b9f5fe3b --- /dev/null +++ b/dev-python/fitsio/fitsio-1.3.0.ebuild @@ -0,0 +1,43 @@ +# 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.17:=[${PYTHON_USEDEP}] + >=sci-libs/cfitsio-4.4.0:0= +" +RDEPEND=" + ${DEPEND} + dev-python/setuptools-scm[${PYTHON_USEDEP}] +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +export FITSIO_USE_SYSTEM_FITSIO=1 + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +}