diff options
author | David Roman <davidroman96@gmail.com> | 2020-03-09 15:13:08 +0100 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2020-03-23 09:30:45 +0800 |
commit | 330bca4677991aeccf73998cf29b7b088e5f2d41 (patch) | |
tree | 97f052af25c47e903adc0ed142f1b63b92fae79d /sci-astronomy | |
parent | dev-python/trimesh: version bump 3.6.13 (diff) | |
download | sci-330bca4677991aeccf73998cf29b7b088e5f2d41.tar.gz sci-330bca4677991aeccf73998cf29b7b088e5f2d41.tar.bz2 sci-330bca4677991aeccf73998cf29b7b088e5f2d41.zip |
sci-astronomy/erfa: new package
Closes: https://github.com/gentoo/sci/pull/948
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/erfa/Manifest | 1 | ||||
-rw-r--r-- | sci-astronomy/erfa/erfa-1.7.0.ebuild | 30 | ||||
-rw-r--r-- | sci-astronomy/erfa/metadata.xml | 21 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sci-astronomy/erfa/Manifest b/sci-astronomy/erfa/Manifest new file mode 100644 index 000000000..0bc2bbff5 --- /dev/null +++ b/sci-astronomy/erfa/Manifest @@ -0,0 +1 @@ +DIST erfa-1.7.0.tar.gz 656949 BLAKE2B 071ae7c5e60a8904b0b93a615c1a23d8db6ea7100e822cfa842f279ce6eed341426d6ef46131dfa92c3ec605c03eeb1c7f204238ad229d4ed524fbc91e58d39c SHA512 0a25faa22cc756776df40cfd927388077f7d253ee89fd4e21c4ddb35198dafd5fd7e9904d00f419675c5f3b26232b5bd04087d4a2f175da1f89179173f98692f diff --git a/sci-astronomy/erfa/erfa-1.7.0.ebuild b/sci-astronomy/erfa/erfa-1.7.0.ebuild new file mode 100644 index 000000000..ba7c72781 --- /dev/null +++ b/sci-astronomy/erfa/erfa-1.7.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils + +DESCRIPTION="Essential Routines for Fundamental Astronomy" +HOMEPAGE="https://github.com/liberfa/erfa" +SRC_URI="https://github.com/liberfa/erfa/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" + +IUSE="static-libs" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf $(use_enable static-libs static) +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/sci-astronomy/erfa/metadata.xml b/sci-astronomy/erfa/metadata.xml new file mode 100644 index 000000000..3d7ebf32a --- /dev/null +++ b/sci-astronomy/erfa/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>davidroman96@gmail.com</email> + <name>David Roman</name> + </maintainer> + <maintainer type="project"> + <email>sci-astronomy@gentoo.org</email> + <name>Gentoo Astronomy Project</name> + </maintainer> + <longdescription lang="en"> + Essential Routines for Fundamental Astronomy is a C + library containing key algorithms for astronomy, and is based on + the SOFA library published by the International Astronomical Union + (IAU). +</longdescription> + <upstream> + <remote-id type="github">liberfa/erfa</remote-id> + </upstream> +</pkgmetadata> |