summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/fitsio/Manifest1
-rw-r--r--dev-python/fitsio/fitsio-1.2.6.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest
index ae2b2d06dc02..8a2173ee67fc 100644
--- a/dev-python/fitsio/Manifest
+++ b/dev-python/fitsio/Manifest
@@ -1 +1,2 @@
DIST fitsio-1.2.5.gh.tar.gz 4540023 BLAKE2B 9a10a4643524bc8e1219eea19776c067ab14c929825baf2ebd3b9b4565db975ea545397359e24eb452f573a8a068df7452b374c07b46ee88e30fb386e61509ac SHA512 e47e95561cc9b6ca7922b131c953d9f40608e4c755f86bd9b96e66f981b3427633631861e5e4e3eef546d207465021f404e3feae234db222244b6c8738c4a9fa
+DIST fitsio-1.2.6.gh.tar.gz 4540865 BLAKE2B a5acb2cbc105ce055255196c840708414b4da46fa3274da8c617590d1ab96fc36da3c19a79bca6fd2525b0c1d10802881fbed70ad69a5aea2d969529f57ccf9f SHA512 e8ffed41633c261bdb4663745396d94a3e36e70feb9fe8bca32e0d46d4d126e94df2d723e4fbf82a4b910315b211ca3c9fba44fcba387649cb8f48c6a917463e
diff --git a/dev-python/fitsio/fitsio-1.2.6.ebuild b/dev-python/fitsio/fitsio-1.2.6.ebuild
new file mode 100644
index 000000000000..0ea5f9f101b4
--- /dev/null
+++ b/dev-python/fitsio/fitsio-1.2.6.ebuild
@@ -0,0 +1,41 @@
+# 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..13} )
+
+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}
+"
+
+distutils_enable_tests pytest
+
+export FITSIO_USE_SYSTEM_FITSIO=1
+
+python_test() {
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+ epytest
+}