From 3ca7a521e79841f7247feb67780a70722c997d55 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 27 Sep 2022 21:10:49 +0100 Subject: gentoo auto-resync : 27:09:2022 - 21:10:48 --- dev-python/fitsio/Manifest | 2 ++ dev-python/fitsio/fitsio-1.1.8.ebuild | 37 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-python/fitsio/fitsio-1.1.8.ebuild (limited to 'dev-python/fitsio') diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index 98c853a8d83d..d8e20ed66087 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1,3 +1,5 @@ DIST fitsio-1.1.7.gh.tar.gz 5052055 BLAKE2B be9c632dcdd08325c5abb2cb9ed9eee6476b27ef2e7197298b269156346ecb72afc9f1d1c2e3ade045f69cde3afac5a6bf3fe5ecbce67fdfc1e6ede529ab1b32 SHA512 d6e81de08c38346050fbaa3e2fb51a496e76133bb0b04f20d816b51b7b7bf21ba37a400c3a6a7f966959223545c736ca6245427457154a4b5976b5a997e9cfcc +DIST fitsio-1.1.8.gh.tar.gz 5052021 BLAKE2B fd54450ccce61a502b803e85df92821a0f64c91e6c8a535b09da6d6e68df1a0299ffc57e87b514d46f635d83dbabc15dc67a99d84fc93ca11ba052fab9472210 SHA512 8ff7c675d39c74ae821dde29ebbfaa5686a4c8e4454bf6ec4b7edce2f6a2e026aa3fac584af1647e7913748202c8c8e3d58deba9bf07253e3fe4606fd2b52c93 EBUILD fitsio-1.1.7.ebuild 808 BLAKE2B 4057c48c09baff321fd7e51726f2b9b6e0887146ebb20d8204a9eaab18e51a9e7ec5f6fe7b3555e6618a207a835017b52eda42a9c5217d88afc7e2c8d703bf9c SHA512 8a72c943d498a07a1194bc1c93fe3719a9741526aa94165ca6de0b378af9f261ec1c75f3307f62c0b7f4fed6b0ad2d5533ae81ed61c01448f48c2a461f9021e8 +EBUILD fitsio-1.1.8.ebuild 808 BLAKE2B 5e04033604ccbe6326f729738bbdb3e219c96ad2a02628053e4174455747ab3754d0c214c0e02520f983cbd8b756d4fcc1d3eb5e674b700635728d6fdad95c47 SHA512 d47c39db6f75addeebfe5866e93ad9c33b8e2eda4e1b2ccd1b623eae25839625abd546e937a68fa0e17dd78789db62fd823b6abc585186b3805e90fd35f52895 MISC metadata.xml 947 BLAKE2B d51c4feb2baade20680a4568b05c28e217d4216f6035dfcbda05876bb7c4d804dc2b02576e2e67eb2b1890e18c86bca9ab4644b0fee69d213ece257d204681d5 SHA512 e8a29ec957adf538929d3639723cfe317c57f6c1d5b7a89a697a0f99dacdab1e21edb774acdb2dcb426f90e1221f9d0b9c008abaf462354d42797ab6bacf9162 diff --git a/dev-python/fitsio/fitsio-1.1.8.ebuild b/dev-python/fitsio/fitsio-1.1.8.ebuild new file mode 100644 index 000000000000..b4730fcfeca7 --- /dev/null +++ b/dev-python/fitsio/fitsio-1.1.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="Python library to read from and write to FITS files" +HOMEPAGE="https://github.com/esheldon/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" + +RDEPEND=" + >=dev-python/numpy-1.11[${PYTHON_USEDEP}] + sci-libs/cfitsio:0= +" +BDEPEND="${RDEPEND}" + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + use_system_fitsio = True + EOF +} + +python_test() { + cd "${T}" || die + "${EPYTHON}" -c "import fitsio; exit(fitsio.test.test())" || + die "Tests failed with ${EPYTHON}" +} -- cgit v1.2.3