commit:     eba0f282de56acba075b686e84ee3cedd9fff753
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 03:59:44 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 03:59:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba0f282

dev-python/fitsio: Bump to 1.2.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/fitsio/Manifest            |  1 +
 dev-python/fitsio/fitsio-1.2.2.ebuild | 41 +++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest
index 4931e6bf5cee..36ca23672b6d 100644
--- a/dev-python/fitsio/Manifest
+++ b/dev-python/fitsio/Manifest
@@ -1,2 +1,3 @@
 DIST fitsio-1.2.1-gcc-14.patch 30464 BLAKE2B 
328d6321b68bd2f568aea649d2d8d7db4c2f8077f1208cec6199b1cc9399446f063d1010d586b77d635727c2285e9504bbfab614fbaae59f6c4638c7f7188372
 SHA512 
e1fea1968688cf265bfc8735c95b1ca211628fdea901d37b3cb4f76239c0a7c8e589fb78429e3535e3e1a2c25e1aec8929fe21db3a32d929774267c559464c2a
 DIST fitsio-1.2.1.gh.tar.gz 4584464 BLAKE2B 
376d2afe2e637075fca88c24c17117600973dc81fbb006e3e8bf4ddab023db6a466653187b686a4beb75339559cb4b77e0bf927f09c991d9205ffb0e66ad17a6
 SHA512 
645c117c394a18cdbb0c5033a1446e1f6e6473f54d9556b7591f33873855a70860343b3e4811284d7dfa16696ef23a1abb74ee638318d7295eb85ec4b17f0309
+DIST fitsio-1.2.2.gh.tar.gz 4584305 BLAKE2B 
285037e173d9e4dca1ac6d32012a23310c10bf3d1299af275b93dd749f34fe8f417e7d2f9062e9362416a1e6d4b2876a351041e1102c07209b89e0fdac6b647f
 SHA512 
a479490cfdda28481b2e5d04033e7dcb9c97b99f22f2cb29c7bdb38015bd5a2d2ea7ccd291e109a0551b0340575ab5123fb8edc924766a15548112fdeb700677

diff --git a/dev-python/fitsio/fitsio-1.2.2.ebuild 
b/dev-python/fitsio/fitsio-1.2.2.ebuild
new file mode 100644
index 000000000000..c0c1388a3eba
--- /dev/null
+++ b/dev-python/fitsio/fitsio-1.2.2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 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:0=
+"
+RDEPEND="
+       ${DEPEND}
+"
+
+distutils_enable_tests pytest
+
+export FITSIO_USE_SYSTEM_FITSIO=1
+
+python_test() {
+       cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+       epytest
+}

Reply via email to