[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/

2024-08-06 Thread Andreas Sturmlechner
commit: b7ea809f76f0505df21958345793aa13495533f3
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Aug  6 19:53:11 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Aug  6 20:09:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7ea809f

sci-libs/libnova: update EAPI 7 -> 8, fix build w/ GCC-14

Closes: https://bugs.gentoo.org/886455
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/libnova/files/libnova-0.16.0-cflags.patch | 23 +
 sci-libs/libnova/files/libnova-0.16.0-gcc14.patch  | 24 ++
 sci-libs/libnova/libnova-0.16.0.ebuild | 12 +--
 3 files changed, 53 insertions(+), 6 deletions(-)

diff --git a/sci-libs/libnova/files/libnova-0.16.0-cflags.patch 
b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch
new file mode 100644
index ..fcb06a9360c9
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-cflags.patch
@@ -0,0 +1,23 @@
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -1,6 +1,6 @@
+ ## Process this file with automake to produce Makefile.in
+ 
+-AM_CFLAGS = -Wall -O3 $(AVX_CFLAGS)
++AM_CFLAGS = $(AVX_CFLAGS)
+ 
+ SUBDIRS = libnova elp
+ 
+--- a/src/elp/Makefile.am
 b/src/elp/Makefile.am
+@@ -1,6 +1,6 @@
+ noinst_LTLIBRARIES = libelp.la
+ 
+-AM_CFLAGS = -I ../ -Wall -O3 $(AVX_CFLAGS)
++AM_CFLAGS = -I ../ $(AVX_CFLAGS)
+ 
+ libelp_la_SOURCES = \
+   elp1.c \
+-- 
+2.45.2
+

diff --git a/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch 
b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch
new file mode 100644
index ..330952d058bf
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-gcc14.patch
@@ -0,0 +1,24 @@
+From 1be82238860bba941b1b16c6f31763577a17b8af Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner 
+Date: Tue, 6 Aug 2024 21:49:52 +0200
+Subject: Fix build with >=GCC-14
+
+---
+ src/parallax.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/parallax.c b/src/parallax.c
+index 733e26c..0c11f04 100644
+--- a/src/parallax.c
 b/src/parallax.c
+@@ -17,6 +17,7 @@
+  */
+ 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+-- 
+2.45.2
+

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index bc3ef11b3d3a..c590ea70af79 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools
 
@@ -16,17 +16,17 @@ IUSE="doc examples"
 
 BDEPEND="doc? ( app-text/doxygen )"
 
-PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
+PATCHES=(
+   "${FILESDIR}"/${P}-slibtool.patch
+   "${FILESDIR}"/${P}-cflags.patch
+   "${FILESDIR}"/${P}-gcc14.patch # bug 886455
+)
 
 src_prepare() {
default
eautoreconf
 }
 
-src_configure() {
-   econf --disable-static
-}
-
 src_compile() {
default
use doc && emake -C doc doc



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2021-11-03 Thread Yixun Lan
commit: 9bf7fb8b78ce2135cf0aa81ae8df759670d0f179
Author: Alex Fan  yahoo  com>
AuthorDate: Wed Nov  3 09:29:51 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Nov  4 05:42:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf7fb8b

sci-libs/libnova: keyword 0.16.0 for ~riscv

Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 sci-libs/libnova/libnova-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index 6d070e3c26f..703af61efa6 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
 
 LICENSE="LGPL-2"
 SLOT="0/0.16"
-KEYWORDS="amd64 ~hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 BDEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/

2021-05-04 Thread Lars Wendler
commit: dd96e548ff290f898c7707057d028ec72433ab9d
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May  4 14:35:57 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May  4 15:13:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd96e548

sci-libs/libnova: Fix for slibtool

Thanks-to: orbea  riseup.net>
Upstream-PR: https://sourceforge.net/p/libnova/libnova/merge-requests/2/
Closes: https://bugs.gentoo.org/778881
Signed-off-by: Lars Wendler  gentoo.org>

 .../libnova/files/libnova-0.16.0-slibtool.patch| 26 ++
 sci-libs/libnova/libnova-0.16.0.ebuild |  2 ++
 2 files changed, 28 insertions(+)

diff --git a/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch 
b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch
new file mode 100644
index 000..746f46f443f
--- /dev/null
+++ b/sci-libs/libnova/files/libnova-0.16.0-slibtool.patch
@@ -0,0 +1,26 @@
+From 857957a9229b49044070301da24b84dcb2bb0d67 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Sun, 28 Mar 2021 07:49:22 -0700
+Subject: [PATCH] build: Link with the libelp .la file.
+
+---
+ src/Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index aab450c..6d2b62e 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -46,8 +46,7 @@ noinst_HEADERS = \
+   lunar-priv.h
+ 
+ libnova_la_LIBADD = \
+-  -Lelp/ \
+-  -lelp
++  elp/libelp.la
+ 
+ libnova_la_LDFLAGS = \
+   -version-info $(LT_VERSION) \
+-- 
+2.29.2
+

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index 8a1f2fcfda7..6d070e3c26f 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -16,6 +16,8 @@ IUSE="doc examples"
 
 BDEPEND="doc? ( app-doc/doxygen )"
 
+PATCHES=( "${FILESDIR}"/${P}-slibtool.patch )
+
 src_prepare() {
default
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2020-02-12 Thread Andreas Sturmlechner
commit: ce7ee526adbe74cac8f11f7538ef5d6fdb6f084d
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Feb 12 15:25:26 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Feb 12 15:25:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce7ee526

sci-libs/libnova: Drop 0.15.0

Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/libnova/Manifest  |  1 -
 sci-libs/libnova/libnova-0.15.0.ebuild | 50 --
 2 files changed, 51 deletions(-)

diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest
index 344cba8f312..23aa8e94f86 100644
--- a/sci-libs/libnova/Manifest
+++ b/sci-libs/libnova/Manifest
@@ -1,2 +1 @@
-DIST libnova-0.15.0.tar.gz 1533794 BLAKE2B 
e87ffd3b8a895ca7ac9913ad3aacff526718442546df5687f2156718f72166527e69af4bcb65bac5df1fda89fc6fc8fe9876a4b74392986771cf157dc48c
 SHA512 
77ab0ccbfe462c03a21e88656cb4d6389994ea1da0ee8da997f19a83d24ad8fd9e505e70e1580b75332e826e5b7859b5f2af4417f65eb811440493ba586f2574
 DIST libnova-0.16.0.tar.xz 909212 BLAKE2B 
ae7efef8295dafd3715c37506d7403fc38a951c9a7c43e41e3c6ca3c922243a396052bbb71f07901bbd3aae2b2bee183efbd9e3e9c50dce72379f6ced80d5701
 SHA512 
f1c33421b7f09097223afe1bd5c31fa9a4591e4c965ba8a5ae1f164367717aa03986970ffe9c01e400b27aea43843fbb67cfbfe6ef44ec2c519f524aab9ea86f

diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild 
b/sci-libs/libnova/libnova-0.15.0.ebuild
deleted file mode 100644
index a0f7d8f6be4..000
--- a/sci-libs/libnova/libnova-0.15.0.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools
-
-DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
-HOMEPAGE="http://libnova.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples static-libs"
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND=""
-
-src_prepare() {
-   default
-   sed -i -e '/CFLAGS=-Wall/d' configure.in || die
-   mv configure.{in,ac} || die
-   eautoreconf
-}
-
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
-src_compile() {
-   default
-   use doc && emake -C doc doc
-}
-
-src_install() {
-   use doc && HTML_DOCS=( doc/html/. )
-   default
-
-   if use examples; then
-   emake clean
-   rm examples/Makefile* || die
-   dodoc -r examples
-   docompress -x /usr/share/doc/${PF}/examples
-   fi
-
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2020-02-12 Thread Agostino Sarubbo
commit: f625fa02d60e9ce0a661f1ea299789c661696341
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Feb 12 15:09:48 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Feb 12 15:09:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f625fa02

sci-libs/libnova: x86 stable wrt bug #701942

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/libnova/libnova-0.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index 185ddf19bb9..e30955f870a 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
 
 LICENSE="LGPL-2"
 SLOT="0/0.16"
-KEYWORDS="amd64 hppa ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2019-12-12 Thread Sergei Trofimovich
commit: b0f38df93f65c6ba2cdc1ad9345b0e38aa269909
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Dec 13 07:41:41 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Dec 13 07:41:41 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f38df9

sci-libs/libnova: stable 0.16.0 for hppa, bug #701942

Package-Manager: Portage-2.3.81, Repoman-2.3.20
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/libnova/libnova-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index 6ff06d9b7de..185ddf19bb9 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
 
 LICENSE="LGPL-2"
 SLOT="0/0.16"
-KEYWORDS="amd64 ~hppa ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2019-12-10 Thread Agostino Sarubbo
commit: 8ef041a755f45ff0f51afd3fc2d44520fa98e46e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 10 10:54:09 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 10 10:54:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef041a7

sci-libs/libnova: ppc stable wrt bug #701942

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/libnova/libnova-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index e4a750f3f0f..6ff06d9b7de 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
 
 LICENSE="LGPL-2"
 SLOT="0/0.16"
-KEYWORDS="amd64 ~hppa ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2019-12-10 Thread Agostino Sarubbo
commit: 302f6088d96f8c80dfc6dcd30d4390421ca06e3c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 10 08:56:24 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 10 08:56:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=302f6088

sci-libs/libnova: ppc64 stable wrt bug #701942

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/libnova/libnova-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index add0f59ac4e..e4a750f3f0f 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
 
 LICENSE="LGPL-2"
 SLOT="0/0.16"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2019-12-09 Thread Agostino Sarubbo
commit: 9538786aa7669a4b2ca6004167393d98b4bcca7b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec  9 15:24:58 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec  9 15:24:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9538786a

sci-libs/libnova: amd64 stable wrt bug #701942

Package-Manager: Portage-2.3.79, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/libnova/libnova-0.16.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
index 7d3e9344735..add0f59ac4e 100644
--- a/sci-libs/libnova/libnova-0.16.0.ebuild
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
 
 LICENSE="LGPL-2"
 SLOT="0/0.16"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2019-11-20 Thread Andreas Sturmlechner
commit: ff2566ea218834a85008e385a89f97f7d46415e5
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Nov 20 19:44:02 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Nov 20 20:36:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff2566ea

sci-libs/libnova: 0.16.0 version bump

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/libnova/Manifest  |  1 +
 sci-libs/libnova/libnova-0.16.0.ebuild | 45 ++
 2 files changed, 46 insertions(+)

diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest
index 932ef1e1088..344cba8f312 100644
--- a/sci-libs/libnova/Manifest
+++ b/sci-libs/libnova/Manifest
@@ -1 +1,2 @@
 DIST libnova-0.15.0.tar.gz 1533794 BLAKE2B 
e87ffd3b8a895ca7ac9913ad3aacff526718442546df5687f2156718f72166527e69af4bcb65bac5df1fda89fc6fc8fe9876a4b74392986771cf157dc48c
 SHA512 
77ab0ccbfe462c03a21e88656cb4d6389994ea1da0ee8da997f19a83d24ad8fd9e505e70e1580b75332e826e5b7859b5f2af4417f65eb811440493ba586f2574
+DIST libnova-0.16.0.tar.xz 909212 BLAKE2B 
ae7efef8295dafd3715c37506d7403fc38a951c9a7c43e41e3c6ca3c922243a396052bbb71f07901bbd3aae2b2bee183efbd9e3e9c50dce72379f6ced80d5701
 SHA512 
f1c33421b7f09097223afe1bd5c31fa9a4591e4c965ba8a5ae1f164367717aa03986970ffe9c01e400b27aea43843fbb67cfbfe6ef44ec2c519f524aab9ea86f

diff --git a/sci-libs/libnova/libnova-0.16.0.ebuild 
b/sci-libs/libnova/libnova-0.16.0.ebuild
new file mode 100644
index 000..7d3e9344735
--- /dev/null
+++ b/sci-libs/libnova/libnova-0.16.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
+HOMEPAGE="http://libnova.sourceforge.net/";
+SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P}.tar.xz";
+
+LICENSE="LGPL-2"
+SLOT="0/0.16"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples"
+
+DEPEND="doc? ( app-doc/doxygen )"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf --disable-static
+}
+
+src_compile() {
+   default
+   use doc && emake -C doc doc
+}
+
+src_install() {
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
+   if use examples; then
+   emake clean
+   rm examples/Makefile* || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   find "${D}" -name '*.la' -type f -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2018-04-18 Thread David Seifert
commit: ade2f89d9b7fe0d54667b56503502e555bca40a6
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 18 19:31:18 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 18 19:31:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade2f89d

sci-libs/libnova: Mark hppa/ppc stable, #648818

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 sci-libs/libnova/libnova-0.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild 
b/sci-libs/libnova/libnova-0.15.0.ebuild
index ae5bae19956..a0f7d8f6be4 100644
--- a/sci-libs/libnova/libnova-0.15.0.ebuild
+++ b/sci-libs/libnova/libnova-0.15.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/files/, sci-libs/libnova/

2018-04-18 Thread David Seifert
commit: de4549f584ea54af6e9a731b526c3c678cbf5c37
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 18 19:32:26 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 18 19:32:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de4549f5

sci-libs/libnova: Remove old

Closes: https://bugs.gentoo.org/648818
Package-Manager: Portage-2.3.30, Repoman-2.3.9

 sci-libs/libnova/Manifest  |  2 -
 .../libnova/files/libnova-0.12.1-configure.patch   | 17 
 sci-libs/libnova/libnova-0.12.3.ebuild | 51 --
 sci-libs/libnova/libnova-0.14.0.ebuild | 39 -
 4 files changed, 109 deletions(-)

diff --git a/sci-libs/libnova/Manifest b/sci-libs/libnova/Manifest
index 7ad8bce787b..932ef1e1088 100644
--- a/sci-libs/libnova/Manifest
+++ b/sci-libs/libnova/Manifest
@@ -1,3 +1 @@
-DIST libnova-0.12.3.tar.gz 1505676 BLAKE2B 
96ece7030bcbfa831c6daa3ef02a1a9d100bd5145d881a9596e0a42ba1917dde007e79da95a433870957c526d0be65f8cb480b5633b0e9a5115a731688e79aea
 SHA512 
e39c55c339dc2d7c899ffb7d0a898a5c2d6ebca5cf3a788db21d84f230a7379bfc0dd4736ed7ae66d8a449d1be9d68b8a4382ae55af4aa638bb734402c43bc72
-DIST libnova-0.14.0.tar.gz 1547373 BLAKE2B 
75078d77868419e3cc6d6a7b5c513ebbf32062e4c08c54d5fa80d6e0f4d44eff8118b5d3df4b32d5e14e2f1b9eb989b154391a98eb79dcc83b2cf5f22bad67e6
 SHA512 
373d32e4f380563f895483d9054cf19bbfc69e32089f75dc91f84daf28610eba94f5615b0eb7004b25b9c702450d594463606b349b93dc9cde46d0d860029da7
 DIST libnova-0.15.0.tar.gz 1533794 BLAKE2B 
e87ffd3b8a895ca7ac9913ad3aacff526718442546df5687f2156718f72166527e69af4bcb65bac5df1fda89fc6fc8fe9876a4b74392986771cf157dc48c
 SHA512 
77ab0ccbfe462c03a21e88656cb4d6389994ea1da0ee8da997f19a83d24ad8fd9e505e70e1580b75332e826e5b7859b5f2af4417f65eb811440493ba586f2574

diff --git a/sci-libs/libnova/files/libnova-0.12.1-configure.patch 
b/sci-libs/libnova/files/libnova-0.12.1-configure.patch
deleted file mode 100644
index b87b27d75dc..000
--- a/sci-libs/libnova/files/libnova-0.12.1-configure.patch
+++ /dev/null
@@ -1,17 +0,0 @@
 configure.in.orig  2007-11-25 19:24:54.503391146 +
-+++ configure.in   2007-11-25 19:26:16.736077320 +
-@@ -54,7 +54,6 @@
- AC_STRUCT_TM
- 
- LIBS="$LIBS -lm"
--CFLAGS=-Wall
- 
- # Checks for header files.
- AC_HEADER_STDC
-@@ -74,5 +73,6 @@
- src/libnova/Makefile
- lntest/Makefile
- doc/Makefile
-+doc/doxyfile
- examples/Makefile
- ])

diff --git a/sci-libs/libnova/libnova-0.12.3.ebuild 
b/sci-libs/libnova/libnova-0.12.3.ebuild
deleted file mode 100644
index f531c830dbd..000
--- a/sci-libs/libnova/libnova-0.12.3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=2
-inherit eutils autotools flag-o-matic
-
-DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
-HOMEPAGE="http://libnova.sourceforge.net/";
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 hppa ppc ppc64 x86"
-IUSE="doc examples"
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND=""
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-0.12.1-configure.patch
-   # 0.12.3 does not pass test with > -02
-   replace-flags -O? -O1
-   eautoreconf
-}
-
-src_compile() {
-   emake || die "emake failed"
-   if use doc; then
-   cd doc
-   emake doc || die "emake in doc failed"
-   fi
-}
-
-src_test() {
-   emake check || die "emake check failed"
-   "${S}"/lntest/lntest || die "lntest failed"
-}
-
-src_install() {
-   emake DESTDIR="${D}" install || die "emake install failed"
-   dodoc AUTHORS ChangeLog NEWS README || die
-   if use doc; then
-   dohtml doc/html/* || die "dohtml failed"
-   fi
-   if use examples; then
-   make clean
-   rm -f examples/Makefile*
-   insinto /usr/share/doc/${PF}
-   doins -r examples || die
-   fi
-}

diff --git a/sci-libs/libnova/libnova-0.14.0.ebuild 
b/sci-libs/libnova/libnova-0.14.0.ebuild
deleted file mode 100644
index 23a5867f38e..000
--- a/sci-libs/libnova/libnova-0.14.0.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-inherit eutils
-
-DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
-HOMEPAGE="http://libnova.sourceforge.net/";
-SRC_URI="https://dev.gentoo.org/~bicatali/${P}.tar.gz";
-# bad tar ball on sf, rebuild it from svn
-#SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
-IUSE="doc examples static-libs"
-
-DEPEND="doc? ( app-doc/doxygen )"
-RDEPEND=""
-
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
-src_compile() {
-   emake
-   use doc && emake doc
-}
-
-src_install() 

[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2018-04-18 Thread David Seifert
commit: 096dd1caf829e0fc6e26efd0105fc418e9668f90
Author: David Seifert  gentoo  org>
AuthorDate: Wed Apr 18 19:28:54 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Apr 18 19:28:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=096dd1ca

sci-libs/libnova: Port to EAPI 6

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 sci-libs/libnova/libnova-0.15.0.ebuild | 34 ++
 1 file changed, 22 insertions(+), 12 deletions(-)

diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild 
b/sci-libs/libnova/libnova-0.15.0.ebuild
index 5f190893d75..ae5bae19956 100644
--- a/sci-libs/libnova/libnova-0.15.0.ebuild
+++ b/sci-libs/libnova/libnova-0.15.0.ebuild
@@ -1,10 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
-AUTOTOOLS_AUTORECONF=1
-inherit autotools-utils
+inherit autotools
 
 DESCRIPTION="Celestial Mechanics and Astronomical Calculation Library"
 HOMEPAGE="http://libnova.sourceforge.net/";
@@ -19,22 +18,33 @@ DEPEND="doc? ( app-doc/doxygen )"
 RDEPEND=""
 
 src_prepare() {
+   default
sed -i -e '/CFLAGS=-Wall/d' configure.in || die
-   autotools-utils_src_prepare
+   mv configure.{in,ac} || die
+   eautoreconf
+}
+
+src_configure() {
+   econf $(use_enable static-libs static)
 }
 
 src_compile() {
-   autotools-utils_src_compile
-   use doc && autotools-utils_src_compile -C doc doc
+   default
+   use doc && emake -C doc doc
 }
 
 src_install() {
-   autotools-utils_src_install
-   use doc && dohtml doc/html/*
+   use doc && HTML_DOCS=( doc/html/. )
+   default
+
if use examples; then
-   make clean
-   rm examples/Makefile*
-   insinto /usr/share/doc/${PF}
-   doins -r examples
+   emake clean
+   rm examples/Makefile* || die
+   dodoc -r examples
+   docompress -x /usr/share/doc/${PF}/examples
+   fi
+
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2018-04-07 Thread Sergei Trofimovich
commit: 59c81e82457fe5bd66a45fc4913789f8dabbea92
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Apr  7 21:28:59 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr  7 21:30:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59c81e82

sci-libs/libnova: stable 0.15.0 for ppc64, bug #648818

Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --include-arches="ppc64"

 sci-libs/libnova/libnova-0.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild 
b/sci-libs/libnova/libnova-0.15.0.ebuild
index 8e4aa22c43d..5f190893d75 100644
--- a/sci-libs/libnova/libnova-0.15.0.ebuild
+++ b/sci-libs/libnova/libnova-0.15.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2018-03-13 Thread Thomas Deutschmann
commit: 095387655fcebc0024649c3fa30ed1befc790680
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Mar 13 22:12:54 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Mar 13 22:25:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09538765

sci-libs/libnova: x86 stable (bug #648818)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-libs/libnova/libnova-0.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild 
b/sci-libs/libnova/libnova-0.15.0.ebuild
index aec842e9e59..8e4aa22c43d 100644
--- a/sci-libs/libnova/libnova-0.15.0.ebuild
+++ b/sci-libs/libnova/libnova-0.15.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/libnova/

2018-03-07 Thread Agostino Sarubbo
commit: 400fee9671ae4782601acf6b89df712a01986121
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Mar  7 13:50:18 2018 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Mar  7 13:50:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400fee96

sci-libs/libnova: amd64 stable wrt bug #648818

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.19, Repoman-2.3.6
RepoMan-Options: --include-arches="amd64"

 sci-libs/libnova/libnova-0.15.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/libnova/libnova-0.15.0.ebuild 
b/sci-libs/libnova/libnova-0.15.0.ebuild
index ac3503b0034..aec842e9e59 100644
--- a/sci-libs/libnova/libnova-0.15.0.ebuild
+++ b/sci-libs/libnova/libnova-0.15.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="doc examples static-libs"
 
 DEPEND="doc? ( app-doc/doxygen )"