commit: ee841e3acbf872e870e8c950c394a91e788e5669 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sat Jan 25 05:56:29 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sat Jan 25 06:24:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee841e3a
dev-python/fitsio: Bump to 1.2.5 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/fitsio/Manifest | 1 + dev-python/fitsio/fitsio-1.2.5.ebuild | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index 84fc18966eea..8042170760c3 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1,2 +1,3 @@ DIST fitsio-1.2.3.gh.tar.gz 4507743 BLAKE2B 2b38b9b1be3eb7ab5ed67954f6c1310c03a99cbae71bb5716702d31bc69e09f8d73fb86696edb06bba78093d48ad784f280e7023fadc932190a82ce6748cf5af SHA512 11c2e8e26019bdc364d2a566c0680baa85d93a0a49eb9e5fc0ccc79f2566c616634a8bf10f1d8dbb4c1393675d11bb8d4e469d2f30a8cb88bfa73697ac9d4c57 DIST fitsio-1.2.4.gh.tar.gz 4540756 BLAKE2B 445a6d2c5dd267fdf7eca5359eb378930b8a111c24c68c1728f00818aa2f04dabe486147e1c56fd36c8a096e4bcd89c6ed382b9bbfbd29f9b24f9a4195fa17ae SHA512 ca51957a413ee45b0adc71c97409e8055acf1c27f8f42838a4814ed9b5530a30c75579a4a567199d6524bdcd32de5c82fabdee1440577f1cc915543285ee7fe1 +DIST fitsio-1.2.5.gh.tar.gz 4540023 BLAKE2B 9a10a4643524bc8e1219eea19776c067ab14c929825baf2ebd3b9b4565db975ea545397359e24eb452f573a8a068df7452b374c07b46ee88e30fb386e61509ac SHA512 e47e95561cc9b6ca7922b131c953d9f40608e4c755f86bd9b96e66f981b3427633631861e5e4e3eef546d207465021f404e3feae234db222244b6c8738c4a9fa diff --git a/dev-python/fitsio/fitsio-1.2.5.ebuild b/dev-python/fitsio/fitsio-1.2.5.ebuild new file mode 100644 index 000000000000..2223881c4e44 --- /dev/null +++ b/dev-python/fitsio/fitsio-1.2.5.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_{10..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 +}