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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FB0013835B for ; Tue, 5 Jan 2021 07:39:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2715BE0858; Tue, 5 Jan 2021 07:39:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08291E0858 for ; Tue, 5 Jan 2021 07:39:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E523B340F66 for ; Tue, 5 Jan 2021 07:39:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D73D48F for ; Tue, 5 Jan 2021 07:39:06 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1609832312.acf6bd07ef80cddb8c5dace31a6430e9ccd61a93.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/pyerfa/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/pyerfa/metadata.xml dev-python/pyerfa/pyerfa-1.7.1.1.ebuild X-VCS-Directories: dev-python/pyerfa/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: acf6bd07ef80cddb8c5dace31a6430e9ccd61a93 X-VCS-Branch: master Date: Tue, 5 Jan 2021 07:39:06 +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: c29d0ae6-9a1e-4878-ae18-86fbecad9dd7 X-Archives-Hash: e72edba2d49affebe478c83d987328e9 commit: acf6bd07ef80cddb8c5dace31a6430e9ccd61a93 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Jan 4 11:19:06 2021 +0000 Commit: Horea Christian gmail com> CommitDate: Tue Jan 5 07:38:32 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=acf6bd07 dev-python/pyerfa: new dep Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> Signed-off-by: Horea Christian chymera.eu> dev-python/pyerfa/metadata.xml | 8 ++++++++ dev-python/pyerfa/pyerfa-1.7.1.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-python/pyerfa/metadata.xml b/dev-python/pyerfa/metadata.xml new file mode 100644 index 000000000..4f4367037 --- /dev/null +++ b/dev-python/pyerfa/metadata.xml @@ -0,0 +1,8 @@ + + + + + sci-astronomy@gentoo.org + Gentoo Astronomy Project + + diff --git a/dev-python/pyerfa/pyerfa-1.7.1.1.ebuild b/dev-python/pyerfa/pyerfa-1.7.1.1.ebuild new file mode 100644 index 000000000..d8c73e666 --- /dev/null +++ b/dev-python/pyerfa/pyerfa-1.7.1.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for ERFA" +HOMEPAGE="https://github.com/liberfa/pyerfa/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# ImportError: cannot import name 'ufunc' from 'erfa' +RESTRICT="test" + +RDEPEND=" + sci-astronomy/erfa:0= + dev-python/numpy[${PYTHON_USEDEP}] +" +BDEPEND="${RDEPEND} + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-doctestplus[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/sphinx-astropy