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 5D24E158088 for ; Sat, 29 Jan 2022 10:47:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D2022BC00C; Sat, 29 Jan 2022 10:47:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 D28C22BC00C for ; Sat, 29 Jan 2022 10:47:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ED09034337D for ; Sat, 29 Jan 2022 10:47:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80D302AE for ; Sat, 29 Jan 2022 10:47:50 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1643453261.cf7a9b97d0139d38645f6dd2ef911282e5096b0f.arthurzam@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.7.ebuild X-VCS-Directories: dev-python/fitsio/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: cf7a9b97d0139d38645f6dd2ef911282e5096b0f X-VCS-Branch: master Date: Sat, 29 Jan 2022 10:47:50 +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: 18a760c1-47ac-4978-bea1-b2bc5b33e312 X-Archives-Hash: b0f063046a45790b6e5b707756c1c2dc commit: cf7a9b97d0139d38645f6dd2ef911282e5096b0f Author: Arthur Zamarin gentoo org> AuthorDate: Sat Jan 29 10:46:33 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sat Jan 29 10:47:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf7a9b97 dev-python/fitsio: add 1.1.7, ebuild cleanup, fix license Closes: https://bugs.gentoo.org/771702 Closes: https://bugs.gentoo.org/748327 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/fitsio/Manifest | 1 + dev-python/fitsio/fitsio-1.1.7.ebuild | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-python/fitsio/Manifest b/dev-python/fitsio/Manifest index 6c3314878498..5d468a97cfeb 100644 --- a/dev-python/fitsio/Manifest +++ b/dev-python/fitsio/Manifest @@ -1 +1,2 @@ DIST fitsio-0.9.11.tar.gz 6020222 BLAKE2B a71a0a6a026999b06dce54beb48fab2f510951099788b51456a6e07057daa7c911d5a2841d5f15a397705459daf081ff91bff1014782c93cb1dd76faf0ef2e1d SHA512 751b9612fe051f128d8f5dea61e2d119409293051a130ee3e18836181637e8c8daea757a715012fd024678d00e234e8b6c0cc0c9229c2bd9a406db312e4607d7 +DIST fitsio-1.1.7.gh.tar.gz 5052055 BLAKE2B be9c632dcdd08325c5abb2cb9ed9eee6476b27ef2e7197298b269156346ecb72afc9f1d1c2e3ade045f69cde3afac5a6bf3fe5ecbce67fdfc1e6ede529ab1b32 SHA512 d6e81de08c38346050fbaa3e2fb51a496e76133bb0b04f20d816b51b7b7bf21ba37a400c3a6a7f966959223545c736ca6245427457154a4b5976b5a997e9cfcc diff --git a/dev-python/fitsio/fitsio-1.1.7.ebuild b/dev-python/fitsio/fitsio-1.1.7.ebuild new file mode 100644 index 000000000000..80ad81b256f8 --- /dev/null +++ b/dev-python/fitsio/fitsio-1.1.7.ebuild @@ -0,0 +1,36 @@ +# 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..10} ) +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_prepare() { + sed -e '/self.use_system_fitsio/s/False/True/' -i setup.py || die + + distutils-r1_src_prepare +} + +python_test() { + cp -r -l -n fitsio "${BUILD_DIR}/lib" || die + cd "${BUILD_DIR}/lib" || die + ${EPYTHON} -c "import fitsio; exit(fitsio.test.test())" || die "Tests failed with ${EPYTHON}" +}