From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4CD2C15806E for ; Fri, 26 May 2023 17:44:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3B18E08A5; Fri, 26 May 2023 17:44:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CA805E08A5 for ; Fri, 26 May 2023 17:44:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A61B834105B for ; Fri, 26 May 2023 17:44:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0E8C0A85 for ; Fri, 26 May 2023 17:44:20 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1685122209.7935d39ec4bcd3b38bf35881c7bb52bd0f737466.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/fitsio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/fitsio/Manifest dev-python/fitsio/fitsio-1.1.9.ebuild X-VCS-Directories: dev-python/fitsio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7935d39ec4bcd3b38bf35881c7bb52bd0f737466 X-VCS-Branch: master Date: Fri, 26 May 2023 17:44:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e2c521c5-956a-40f7-afe3-e5b614f72fad X-Archives-Hash: 28ee6a8daac98b5ca216d2004a5a57f4 commit: 7935d39ec4bcd3b38bf35881c7bb52bd0f737466 Author: Michał Górny gentoo org> AuthorDate: Fri May 26 17:30:09 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri May 26 17:30:09 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7935d39e dev-python/fitsio: Bump to 1.1.9 Signed-off-by: Michał Górny gentoo.org> dev-python/fitsio/Manifest | 1 + dev-python/fitsio/fitsio-1.1.9.ebuild | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index b236bdca4c69..3223a1a87139 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1 +1,2 @@ DIST fitsio-1.1.8.gh.tar.gz 5052021 BLAKE2B fd54450ccce61a502b803e85df92821a0f64c91e6c8a535b09da6d6e68df1a0299ffc57e87b514d46f635d83dbabc15dc67a99d84fc93ca11ba052fab9472210 SHA512 8ff7c675d39c74ae821dde29ebbfaa5686a4c8e4454bf6ec4b7edce2f6a2e026aa3fac584af1647e7913748202c8c8e3d58deba9bf07253e3fe4606fd2b52c93 +DIST fitsio-1.1.9.gh.tar.gz 5052730 BLAKE2B 4169eed73e825f37bc5f5e6a2b27942b08f14d0e38c8037aa094031cd1b85e60ba3be8499c7d1225e78c093581aafe681177e4acb7da553bda2b0992ea38d6f2 SHA512 9840e9e48a11d454bd02cf19167ba977fa624842172ac538c7d9c5a446fbe0ef6fa7ee146f3878232e5b35570b2eec731e597503346adcfab38a1d0bada2b463 diff --git a/dev-python/fitsio/fitsio-1.1.9.ebuild b/dev-python/fitsio/fitsio-1.1.9.ebuild new file mode 100644 index 000000000000..aae8b9bbdd5a --- /dev/null +++ b/dev-python/fitsio/fitsio-1.1.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 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..11} ) + +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 + +src_configure() { + cat >> setup.cfg <<-EOF || die + [build_ext] + use_system_fitsio = True + EOF +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + epytest +}