Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-astronomy/libthesky/
Date: Sun, 27 Sep 2020 12:35:20
Message-Id: 1601210109.5ea7859cdddb3f0d0af0cb95643de7542b3e641a.epsilon-0@gentoo
1 commit: 5ea7859cdddb3f0d0af0cb95643de7542b3e641a
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Sun Sep 27 12:31:57 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Sun Sep 27 12:35:09 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5ea7859c
7
8 sci-astronomy/libthesky: version bump to 0.4.1
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 sci-astronomy/libthesky/libthesky-0.4.1.ebuild | 38 ++++++++++++++++++++++++++
14 1 file changed, 38 insertions(+)
15
16 diff --git a/sci-astronomy/libthesky/libthesky-0.4.1.ebuild b/sci-astronomy/libthesky/libthesky-0.4.1.ebuild
17 new file mode 100644
18 index 000000000..8bb4600e8
19 --- /dev/null
20 +++ b/sci-astronomy/libthesky/libthesky-0.4.1.ebuild
21 @@ -0,0 +1,38 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +CMAKE_BUILD_TYPE=Release
28 +inherit cmake fortran-2
29 +
30 +DESCRIPTION="Fortran library to compute positions of celestial bodies"
31 +HOMEPAGE="http://libthesky.sourceforge.net/"
32 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
33 + mirror://sourceforge/${PN}/libthesky-data-20160409.tar.bz2
34 +"
35 +
36 +LICENSE="GPL-3"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~x86"
39 +IUSE="static-libs"
40 +
41 +DEPEND="~sci-libs/libsufr-0.7.5[static-libs?]"
42 +RDEPEND="${DEPEND}"
43 +
44 +src_unpack() {
45 + default
46 +
47 + gunzip -r "${S}"/man || die
48 +
49 + mv "${WORKDIR}"/data "${S}" || die
50 +}
51 +
52 +src_configure() {
53 + local mycmakeargs=(
54 + -DCMAKE_VERBOSE_MAKEFILE=ON
55 + -DCREATE_SHAREDLIB=ON
56 + -DCREATE_STATICLIB=$(usex static-libs)
57 + )
58 + cmake_src_configure
59 +}