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

2024-03-26 Thread Sam James
commit: 7be0b55ba35b18a15055f0ede7b9628d9c723129
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 27 05:56:04 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 05:59:02 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be0b55b

sci-libs/getdata: add libltdl dep

Closes: https://bugs.gentoo.org/923316
Signed-off-by: Sam James  gentoo.org>

 .../getdata/{getdata-0.11.0-r1.ebuild => getdata-0.11.0-r2.ebuild} | 1 +
 sci-libs/getdata/getdata-0.11.0.ebuild | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/getdata/getdata-0.11.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.11.0-r2.ebuild
similarity index 98%
rename from sci-libs/getdata/getdata-0.11.0-r1.ebuild
rename to sci-libs/getdata/getdata-0.11.0-r2.ebuild
index 9cf6e52c8ec2..843b844afc0b 100644
--- a/sci-libs/getdata/getdata-0.11.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.11.0-r2.ebuild
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
 
 DEPEND="
+   dev-libs/libltdl
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )

diff --git a/sci-libs/getdata/getdata-0.11.0.ebuild 
b/sci-libs/getdata/getdata-0.11.0.ebuild
index 4b0f5f033a18..ef397493899d 100644
--- a/sci-libs/getdata/getdata-0.11.0.ebuild
+++ b/sci-libs/getdata/getdata-0.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
 
 DEPEND="
+   dev-libs/libltdl
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )



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

2024-03-26 Thread Sam James
commit: 211e79b4dcc80a75fb9aae5734a98ab2b0c12237
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 27 05:58:52 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 05:59:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=211e79b4

sci-libs/getdata: fix bashisms in configure

Signed-off-by: Sam James  gentoo.org>

 .../files/getdata-0.11.0-bashisms-configure.patch  | 66 ++
 sci-libs/getdata/getdata-0.11.0-r2.ebuild  |  1 +
 2 files changed, 67 insertions(+)

diff --git a/sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch 
b/sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch
new file mode 100644
index ..df3915f7b849
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch
@@ -0,0 +1,66 @@
+--- a/configure.ac
 b/configure.ac
+@@ -571,7 +571,7 @@ if test "x${use_modules}" != "xno"; then
+   LDFLAGS=$saved_ldflags
+   LIBS=$saved_libs
+ 
+-  if test "x$have_ltdl" == "xno"; then
++  if test "x$have_ltdl" = "xno"; then
+ AC_MSG_ERROR([libltdl is required to build modules.  Please either 
specify the location of the libltdl library using --with-ltdl=PREFIX or else 
disable the building of modules by using --disable-modules])
+   fi
+ 
+@@ -601,18 +601,18 @@ AC_SUBST([LIBLTDL])
+ AC_SUBST([LTDLINCL])
+ 
+ dnl check if we found a C++ compiler
+-if test "x$CXX" == "x"; then
++if test "x$CXX" = "x"; then
+   make_cxxbindings=no
+ fi
+ 
+ dnl check if we found a Fortran 77 compiler
+-if test "x$F77" == "x"; then
++if test "x$F77" = "x"; then
+   make_f77bindings=no
+   make_f95bindings=no
+ fi
+ 
+ dnl check if we found a free-form Fortran compiler
+-if test "x$FC" == "x"; then
++if test "x$FC" = "x"; then
+   make_f95bindings=no
+ fi
+ 
+@@ -641,7 +641,7 @@ fi
+ dnl F77 stuff
+ if test "x$make_f77bindings" != "xno"; then
+   AC_F77_WRAPPERS
+-  if test "x$ac_cv_f77_mangling" == "xunknown"; then
++  if test "x$ac_cv_f77_mangling" = "xunknown"; then
+ make_f77bindings=no
+ make_f95bindings=no
+   fi
+@@ -1065,7 +1065,7 @@ else
+   AC_MSG_RESULT([$use_slim])
+   AC_MSG_CHECKING([for zzip support])
+   AC_MSG_RESULT([$use_zzip])
+-  if test "$use_slim$use_zzip" == "yesyes"; then
++  if test "$use_slim$use_zzip" = "yesyes"; then
+ if test $zzslim_override = "yes"; then
+   AC_MSG_CHECKING([for zzslim support])
+   AC_MSG_RESULT([yes (forced)])
+@@ -1200,11 +1200,11 @@ AC_CONFIG_FILES([test/Makefile])
+ AC_CONFIG_FILES([util/Makefile])
+ 
+ dnl Automake conditionals
+-AM_CONDITIONAL(GETDATA_DEBUG, [test "x$enable_debug" == "xyes"])
++AM_CONDITIONAL(GETDATA_DEBUG, [test "x$enable_debug" = "xyes"])
+ AM_CONDITIONAL(HAVE_SED, [ test "x${SED}" != 'x' ])
+ AM_CONDITIONAL(INTEL_F77_COMPILER,
+-   [test "x$gd_cv_f77_compiler_intel" == "xyes"])
+-AM_CONDITIONAL(INTEL_FC_COMPILER, [test "x$gd_cv_fc_compiler_intel" == 
"xyes"])
++   [test "x$gd_cv_f77_compiler_intel" = "xyes"])
++AM_CONDITIONAL(INTEL_FC_COMPILER, [test "x$gd_cv_fc_compiler_intel" = "xyes"])
+ AM_CONDITIONAL(INCLUDE_LEGACY_API, [test "x$include_legacy_api" != "xno"])
+ AM_CONDITIONAL(MAKE_CXXBINDINGS, [test "x$make_cxxbindings" = "xyes"])
+ AM_CONDITIONAL(MAKE_F77BINDINGS, [test "x$make_f77bindings" != "xno"])

diff --git a/sci-libs/getdata/getdata-0.11.0-r2.ebuild 
b/sci-libs/getdata/getdata-0.11.0-r2.ebuild
index 843b844afc0b..db7e24e11bc4 100644
--- a/sci-libs/getdata/getdata-0.11.0-r2.ebuild
+++ b/sci-libs/getdata/getdata-0.11.0-r2.ebuild
@@ -26,6 +26,7 @@ RDEPEND="${DEPEND}"
 
 PATCHES=(
"${FILESDIR}"/${PN}-0.11.0-fix-gzseek64-not-found.patch
+   "${FILESDIR}"/${PN}-0.11.0-bashisms-configure.patch
 )
 
 src_prepare() {



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

2024-03-26 Thread Sam James
commit: b9e76b2a7afae653c6a81bbb8864b30448651628
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar 27 04:42:01 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 04:49:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e76b2a

sci-libs/getdata: mark as LTO-unsafe

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/getdata/getdata-0.11.0-r1.ebuild | 8 +++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sci-libs/getdata/getdata-0.11.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.11.0-r1.ebuild
index 698d2697d850..9cf6e52c8ec2 100644
--- a/sci-libs/getdata/getdata-0.11.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.11.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -33,6 +33,12 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   #
+   # In theory I could report a bug. In practice the project has ignored 
all
+   # bug reports since immediately after switching to github.
+   filter-lto
+
# GCC 10 workaround
# bug #723076
append-fflags $(test-flags-FC -fallow-argument-mismatch)



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

2024-03-26 Thread Sam James
commit: b2119b5c3243ed505651f3ea902649bc3f5cc3ba
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar 27 04:34:13 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 04:49:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2119b5c

sci-libs/getdata: add github upstream metadata

In theory the sourceforge site claims to be defunct. In practice the
github repo is abandoned immediately after switching too...

https://sourceforge.net/p/getdata/code/1178/

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/getdata/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/getdata/metadata.xml b/sci-libs/getdata/metadata.xml
index 716f2c3c2ae5..d1f4f454496b 100644
--- a/sci-libs/getdata/metadata.xml
+++ b/sci-libs/getdata/metadata.xml
@@ -12,6 +12,7 @@
   provide a fast, simple format for storing and reading data.
   
   
+ketiltrout/getdata
 getdata
   
 



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

2023-09-11 Thread Andrew Ammerlaan
commit: 202a693441376765277704d514f3baa2523d0a73
Author: Brahmajit Das  gmail  com>
AuthorDate: Fri Jun 16 05:51:12 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Sep 11 07:31:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202a6934

sci-libs/getdata: Fix error: call to undeclared function gzseek64

Closes: https://bugs.gentoo.org/898278
Signed-off-by: Brahmajit Das  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31476
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../getdata-0.11.0-fix-gzseek64-not-found.patch| 12 +
 sci-libs/getdata/getdata-0.11.0-r1.ebuild  | 63 ++
 2 files changed, 75 insertions(+)

diff --git a/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch 
b/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch
new file mode 100644
index ..09a250e955f9
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.11.0-fix-gzseek64-not-found.patch
@@ -0,0 +1,12 @@
+Refer: https://stackoverflow.com/a/42695228
+Bug: https://bugs.gentoo.org/898278
+--- a/src/gzip.c
 b/src/gzip.c
+@@ -21,6 +21,7 @@
+ #include "internal.h"
+ 
+ #ifdef HAVE_ZLIB_H
++#define Z_LARGE64
+ #include 
+ #endif
+ 

diff --git a/sci-libs/getdata/getdata-0.11.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.11.0-r1.ebuild
new file mode 100644
index ..698d2697d850
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.11.0-r1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+inherit autotools fortran-2 flag-o-matic
+
+DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
+HOMEPAGE="https://getdata.sourceforge.net";
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
+
+DEPEND="
+   bzip2? ( app-arch/bzip2 )
+   lzma? ( app-arch/xz-utils )
+   perl? ( dev-lang/perl )
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.11.0-fix-gzseek64-not-found.patch
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # GCC 10 workaround
+   # bug #723076
+   append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
+   econf \
+   --disable-idl \
+   --disable-matlab \
+   --disable-php \
+   --with-libz \
+   --without-libslim \
+   --without-libzzip \
+   $(use_with bzip2 libbz2) \
+   $(use_enable cxx cplusplus) \
+   $(use_enable debug) \
+   $(use_with flac libFLAC) \
+   $(use_enable fortran) \
+   $(use_enable fortran fortran95) \
+   $(use_with lzma liblzma) \
+   $(use_enable perl) \
+   $(usex perl --with-perl-dir=vendor) \
+   --disable-python \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



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

2022-11-19 Thread Andrew Ammerlaan
commit: 2af4e785a6a9d37ef4e304ef2a9d037313f0f321
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sat Nov 19 09:04:05 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sat Nov 19 11:39:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2af4e785

sci-libs/getdata: use HTTPS, fix LICENSE

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/sci-libs/getdata/getdata-0.11.0.ebuild 
b/sci-libs/getdata/getdata-0.11.0.ebuild
index b80fd2fefb1b..4b0f5f033a18 100644
--- a/sci-libs/getdata/getdata-0.11.0.ebuild
+++ b/sci-libs/getdata/getdata-0.11.0.ebuild
@@ -8,11 +8,11 @@ FORTRAN_NEEDED=fortran
 inherit autotools fortran-2 flag-o-matic
 
 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
-HOMEPAGE="http://getdata.sourceforge.net/";
+HOMEPAGE="https://getdata.sourceforge.net";
 SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
 
 SLOT="0"
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2.1+"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
 



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

2022-02-26 Thread Andreas Sturmlechner
commit: 494b066fd589817b148775c8a9104e9aa4be7a41
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Feb 26 18:17:39 2022 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Feb 26 18:18:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494b066f

sci-libs/getdata: Drop 0.6.0, EAPI-6--

Closes: https://bugs.gentoo.org/811978
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/getdata/Manifest  |  1 -
 .../files/getdata-0.9.0-remove-python-test.patch   | 13 -
 sci-libs/getdata/getdata-0.9.0-r3.ebuild   | 61 --
 3 files changed, 75 deletions(-)

diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest
index 90756e50ea07..32dc82103efa 100644
--- a/sci-libs/getdata/Manifest
+++ b/sci-libs/getdata/Manifest
@@ -1,2 +1 @@
 DIST getdata-0.11.0.tar.xz 1060324 BLAKE2B 
b758447429f95d53d6ce3e32eb5591d0141c218f5b3a3c391fb713722f8dc12fba2add078d75be1b2957b2d27b7d843cb51450fc49394da130548721f5df9384
 SHA512 
cf301449288c2b0e337a356f03ac8d295a4f5a32eb6c2a29c15c6fcc434a9eea8661a8070defbbf1d751e64e1f616e4353863b13d350fa8df6837631d86bc932
-DIST getdata-0.9.0.tar.xz 920652 BLAKE2B 
d5f0659474dfab9f4e589a28a7788b5a51de3c0064b58de37bdb11dad27b56daa05d8e705da743c5da271bd8c4e1343ac6ac41adfdfabfcaef0006e46c45d2bf
 SHA512 
28d720141e34cc56a5166594d0a6ac293144d123706988ed170e40dd9d7aaf13b920305e8bd8343ecd7cbe43eee5d83720e3e5f5d2da0cdccdc1444725cc6844

diff --git a/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch 
b/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch
deleted file mode 100644
index 98da89dfb8ec..
--- a/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Remove python test suite.
-
 getdata-0.9.0/bindings/python/Makefile.am
-+++ getdata-0.9.0/bindings/python/Makefile.am
-@@ -20,8 +20,6 @@
- #
- AUTOMAKE_OPTIONS = foreign
- 
--SUBDIRS=test
--
- nodist_python_SCRIPTS = pygetdata.so
- 
- BUILT_SOURCES = pyconstants.c

diff --git a/sci-libs/getdata/getdata-0.9.0-r3.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
deleted file mode 100644
index 118a1e4daced..
--- a/sci-libs/getdata/getdata-0.9.0-r3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_STANDARD="95"
-FORTRAN_NEEDED=fortran
-inherit autotools fortran-2 flag-o-matic
-
-DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
-HOMEPAGE="http://getdata.sourceforge.net/";
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
-
-DEPEND="
-   bzip2? ( app-arch/bzip2 )
-   lzma? ( app-arch/xz-utils )
-   perl? ( dev-lang/perl )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )
-
-src_prepare() {
-   default
-   eautoreconf
-}
-
-src_configure() {
-   # GCC 10 workaround
-   # bug #723076
-   append-fflags $(test-flags-FC -fallow-argument-mismatch)
-
-   econf \
-   --disable-idl \
-   --disable-matlab \
-   --disable-php \
-   --with-libz \
-   --without-libslim \
-   --without-libzzip \
-   $(use_with bzip2 libbz2) \
-   $(use_enable cxx cplusplus) \
-   $(use_enable debug) \
-   $(use_with flac libFLAC) \
-   $(use_enable fortran) \
-   $(use_enable fortran fortran95) \
-   $(use_with lzma liblzma) \
-   $(use_enable perl) \
-   $(usex perl --with-perl-dir=vendor) \
-   --disable-python \
-   $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-   find "${D}" -name '*.la' -delete || die
-}



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

2022-01-11 Thread Andrew Ammerlaan
commit: 4300cccf187ab49cae1ce97fa1825cf397f4d509
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jan 11 14:46:30 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jan 11 14:46:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4300cccf

sci-libs/getdata: add version 0.11.0, EAPI bump

Closes: https://bugs.gentoo.org/811978
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-libs/getdata/Manifest  |  1 +
 sci-libs/getdata/getdata-0.11.0.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest
index d5e6e9deacee..90756e50ea07 100644
--- a/sci-libs/getdata/Manifest
+++ b/sci-libs/getdata/Manifest
@@ -1 +1,2 @@
+DIST getdata-0.11.0.tar.xz 1060324 BLAKE2B 
b758447429f95d53d6ce3e32eb5591d0141c218f5b3a3c391fb713722f8dc12fba2add078d75be1b2957b2d27b7d843cb51450fc49394da130548721f5df9384
 SHA512 
cf301449288c2b0e337a356f03ac8d295a4f5a32eb6c2a29c15c6fcc434a9eea8661a8070defbbf1d751e64e1f616e4353863b13d350fa8df6837631d86bc932
 DIST getdata-0.9.0.tar.xz 920652 BLAKE2B 
d5f0659474dfab9f4e589a28a7788b5a51de3c0064b58de37bdb11dad27b56daa05d8e705da743c5da271bd8c4e1343ac6ac41adfdfabfcaef0006e46c45d2bf
 SHA512 
28d720141e34cc56a5166594d0a6ac293144d123706988ed170e40dd9d7aaf13b920305e8bd8343ecd7cbe43eee5d83720e3e5f5d2da0cdccdc1444725cc6844

diff --git a/sci-libs/getdata/getdata-0.11.0.ebuild 
b/sci-libs/getdata/getdata-0.11.0.ebuild
new file mode 100644
index ..b80fd2fefb1b
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.11.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+inherit autotools fortran-2 flag-o-matic
+
+DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
+HOMEPAGE="http://getdata.sourceforge.net/";
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
+
+DEPEND="
+   bzip2? ( app-arch/bzip2 )
+   lzma? ( app-arch/xz-utils )
+   perl? ( dev-lang/perl )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   # GCC 10 workaround
+   # bug #723076
+   append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
+   econf \
+   --disable-idl \
+   --disable-matlab \
+   --disable-php \
+   --with-libz \
+   --without-libslim \
+   --without-libzzip \
+   $(use_with bzip2 libbz2) \
+   $(use_enable cxx cplusplus) \
+   $(use_enable debug) \
+   $(use_with flac libFLAC) \
+   $(use_enable fortran) \
+   $(use_enable fortran fortran95) \
+   $(use_with lzma liblzma) \
+   $(use_enable perl) \
+   $(usex perl --with-perl-dir=vendor) \
+   --disable-python \
+   $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+   find "${D}" -name '*.la' -delete || die
+}



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

2021-02-19 Thread Sam James
commit: fe66a10754a70c3abe4dd16bf88c9a7248d4992a
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 19 12:29:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 19 12:45:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe66a107

sci-libs/getdata: workaround gcc 10 (fortran) failure

Closes: https://bugs.gentoo.org/723076
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 sci-libs/getdata/getdata-0.9.0-r3.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r3.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
index 9282f015685..118a1e4dace 100644
--- a/sci-libs/getdata/getdata-0.9.0-r3.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
 FORTRAN_STANDARD="95"
 FORTRAN_NEEDED=fortran
-inherit autotools fortran-2
+inherit autotools fortran-2 flag-o-matic
 
 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
 HOMEPAGE="http://getdata.sourceforge.net/";
@@ -31,6 +31,10 @@ src_prepare() {
 }
 
 src_configure() {
+   # GCC 10 workaround
+   # bug #723076
+   append-fflags $(test-flags-FC -fallow-argument-mismatch)
+
econf \
--disable-idl \
--disable-matlab \



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

2020-09-09 Thread Michał Górny
commit: 43092c487ed3356e2e74219fc1e80b270975a0ff
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep  9 10:47:48 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep  9 11:30:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43092c48

sci-libs/getdata: Eradicate python2

Closes: https://bugs.gentoo.org/735480
Signed-off-by: Michał Górny  gentoo.org>

 sci-libs/getdata/getdata-0.9.0-r3.ebuild | 23 ---
 1 file changed, 4 insertions(+), 19 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r3.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
index bb727d3bea8..9282f015685 100644
--- a/sci-libs/getdata/getdata-0.9.0-r3.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
@@ -5,8 +5,7 @@ EAPI=6
 
 FORTRAN_STANDARD="95"
 FORTRAN_NEEDED=fortran
-PYTHON_COMPAT=( python2_7 )
-inherit autotools fortran-2 python-single-r1
+inherit autotools fortran-2
 
 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
 HOMEPAGE="http://getdata.sourceforge.net/";
@@ -15,31 +14,17 @@ 
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
 SLOT="0"
 LICENSE="LGPL-2.1"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="bzip2 cxx debug flac fortran lzma perl python static-libs"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+IUSE="bzip2 cxx debug flac fortran lzma perl static-libs"
 
 DEPEND="
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )
-   python? (
-   $(python_gen_cond_dep '
-   || (
-   dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
-   dev-python/numpy[${PYTHON_MULTI_USEDEP}]
-   )
-   ')
-   ${PYTHON_DEPS}
-   )"
+"
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )
 
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
 src_prepare() {
default
eautoreconf
@@ -62,7 +47,7 @@ src_configure() {
$(use_with lzma liblzma) \
$(use_enable perl) \
$(usex perl --with-perl-dir=vendor) \
-   $(use_enable python) \
+   --disable-python \
$(use_enable static-libs static)
 }
 



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

2020-02-09 Thread Michał Górny
commit: 52a96f484e143cc4c422782f10efcbc4795bd032
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 19:04:33 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:35:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a96f48

sci-libs/getdata: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny  gentoo.org>

 .../{getdata-0.9.0-r2.ebuild => getdata-0.9.0-r3.ebuild}   | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r2.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
similarity index 91%
rename from sci-libs/getdata/getdata-0.9.0-r2.ebuild
rename to sci-libs/getdata/getdata-0.9.0-r3.ebuild
index 65085d535e5..bb727d3bea8 100644
--- a/sci-libs/getdata/getdata-0.9.0-r2.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r3.ebuild
@@ -24,10 +24,12 @@ DEPEND="
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )
python? (
-   || (
-   dev-python/numpy-python2[${PYTHON_USEDEP}]
-   dev-python/numpy[${PYTHON_USEDEP}]
-   )
+   $(python_gen_cond_dep '
+   || (
+   dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+   dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+   )
+   ')
${PYTHON_DEPS}
)"
 RDEPEND="${DEPEND}"



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

2020-01-22 Thread Michał Górny
commit: 7d6259cfc6a6e5feb2452e51219ad4e78c377980
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 22 21:43:05 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 22 21:49:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d6259cf

sci-libs/getdata: Revbump post dep change

Signed-off-by: Michał Górny  gentoo.org>

 sci-libs/getdata/{getdata-0.9.0-r1.ebuild => getdata-0.9.0-r2.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r2.ebuild
similarity index 100%
rename from sci-libs/getdata/getdata-0.9.0-r1.ebuild
rename to sci-libs/getdata/getdata-0.9.0-r2.ebuild



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

2020-01-15 Thread Michał Górny
commit: 7a3fa6dba6728adfff29106b05c36b06f5733d48
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jan 16 06:31:01 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jan 16 06:38:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3fa6db

sci-libs/getdata: Permit numpy-python2

Signed-off-by: Michał Górny  gentoo.org>

 sci-libs/getdata/getdata-0.9.0-r1.ebuild | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
index 1e6aa25c7ab..65085d535e5 100644
--- a/sci-libs/getdata/getdata-0.9.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -23,7 +23,13 @@ DEPEND="
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
perl? ( dev-lang/perl )
-   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
+   python? (
+   || (
+   dev-python/numpy-python2[${PYTHON_USEDEP}]
+   dev-python/numpy[${PYTHON_USEDEP}]
+   )
+   ${PYTHON_DEPS}
+   )"
 RDEPEND="${DEPEND}"
 
 PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )



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

2018-09-05 Thread Andreas Sturmlechner
commit: 58dd5d6626a60bcb2438e3a72e0886bdde56f9f2
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Sep  5 18:07:47 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Sep  5 21:17:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58dd5d66

sci-libs/getdata: Drop old

Closes: https://bugs.gentoo.org/625510
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-libs/getdata/Manifest  |  1 -
 .../files/getdata-0.8.5-out-of-source.patch| 16 
 .../getdata/files/getdata-0.8.5-serial-test.patch  | 42 --
 .../getdata/files/getdata-0.9.0-serial-test.patch  | 41 --
 sci-libs/getdata/getdata-0.8.5.ebuild  | 94 --
 sci-libs/getdata/getdata-0.9.0.ebuild  | 94 --
 6 files changed, 288 deletions(-)

diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest
index 65591a376d9..d5e6e9deace 100644
--- a/sci-libs/getdata/Manifest
+++ b/sci-libs/getdata/Manifest
@@ -1,2 +1 @@
-DIST getdata-0.8.5.tar.bz2 1015954 BLAKE2B 
8a7740a95cb08bd188fc5d6a102a9cf6c8a2a5573a9b0152c5e9f8766c65e1f008390568c06672fb55c031e0877b5d1eaf9925fc4a04daa9321aac19cc7a61fe
 SHA512 
3a87ea2fbaa5491ac1d6faecdf10f0a80eef62fb8beefc6103f7f18e74efd404884f100f1d123b1fec672d1a09ea2c87e75626b7c62ea56b568a11cc44feaad0
 DIST getdata-0.9.0.tar.xz 920652 BLAKE2B 
d5f0659474dfab9f4e589a28a7788b5a51de3c0064b58de37bdb11dad27b56daa05d8e705da743c5da271bd8c4e1343ac6ac41adfdfabfcaef0006e46c45d2bf
 SHA512 
28d720141e34cc56a5166594d0a6ac293144d123706988ed170e40dd9d7aaf13b920305e8bd8343ecd7cbe43eee5d83720e3e5f5d2da0cdccdc1444725cc6844

diff --git a/sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch 
b/sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch
deleted file mode 100644
index 45a6c7e14c3..000
--- a/sci-libs/getdata/files/getdata-0.8.5-out-of-source.patch
+++ /dev/null
@@ -1,16 +0,0 @@
- bindings/python/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am
-index c2ab221..f5ade68 100644
 a/bindings/python/Makefile.am
-+++ b/bindings/python/Makefile.am
-@@ -35,7 +35,7 @@ LIBS=
- 
- BUILT_SOURCES = pyconstants.c
- AM_CFLAGS = ${WALL} -fno-strict-aliasing
--AM_CPPFLAGS = $(CPPFLAGS) $(PYTHON_CPPFLAGS) $(NUMPY_CPPFLAGS)
-+AM_CPPFLAGS = $(CPPFLAGS) $(PYTHON_CPPFLAGS) $(NUMPY_CPPFLAGS) 
-I$(top_srcdir)/src
- pygetdata_la_LDFLAGS = -module -avoid-version \
-   
 -export-symbols-regex initpygetdata
- pygetdata_la_LIBADD = $(PYTHON_LIBS) ../../src/libgetdata.la

diff --git a/sci-libs/getdata/files/getdata-0.8.5-serial-test.patch 
b/sci-libs/getdata/files/getdata-0.8.5-serial-test.patch
deleted file mode 100644
index 976757ea864..000
--- a/sci-libs/getdata/files/getdata-0.8.5-serial-test.patch
+++ /dev/null
@@ -1,42 +0,0 @@
- bindings/Makefile.am | 6 +-
- bindings/python/test/Makefile.am | 3 +--
- 2 files changed, 2 insertions(+), 7 deletions(-)
-
-diff --git a/bindings/Makefile.am b/bindings/Makefile.am
-index df53b0f..ec33316 100644
 a/bindings/Makefile.am
-+++ b/bindings/Makefile.am
-@@ -38,10 +38,6 @@ if MAKE_MATLABBINDINGS
- MATLAB_SUBDIR=matlab
- endif
- 
--if MAKE_PYBINDINGS
--PY_SUBDIR=python
--endif
--
- if MAKE_PERLBINDINGS
- PERL_SUBDIR=perl
- endif
-@@ -52,7 +48,7 @@ make_parameters_SOURCES = make_parameters.c
- nodist_make_parameters_SOURCES = ../src/getdata.h ../src/gd_config.h
- 
- SUBDIRS = . ${F77_SUBDIR} ${CXX_SUBDIR} ${IDL_SUBDIR} ${MATLAB_SUBDIR} \
--  ${PY_SUBDIR} ${PERL_SUBDIR}
-+  ${PERL_SUBDIR}
- 
- make_parameters$(EXEEXT): $(make_parameters_SOURCES) \
-   $(nodist_make_parameters_SOURCES)
-diff --git a/bindings/python/test/Makefile.am 
b/bindings/python/test/Makefile.am
-index d159cad..b793b02 100644
 a/bindings/python/test/Makefile.am
-+++ b/bindings/python/test/Makefile.am
-@@ -18,8 +18,7 @@
- # along with GetData; if not, write to the Free Software Foundation, Inc.,
- # 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
- #
--AUTOMAKE_OPTIONS = foreign
--
-+AUTOMAKE_OPTIONS = foreign serial-tests
- if TEST_PYTHON
- TESTS_ENVIRONMENT=${DL_LIBRARY_PATH}=${${DL_LIBRARY_PATH}}:../../../src/.libs 
PYTHONPATH=../.libs/ ${PYTHON}
- pyTESTS=callback.py big_test.py

diff --git a/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch 
b/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch
deleted file mode 100644
index ea17e548da2..000
--- a/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch
+++ /dev/null
@@ -1,41 +0,0 @@
- bindings/Makefile.am | 6 +-
- bindings/python/test/Makefile.am | 2 +-
- 2 files changed, 2 insertions(+), 6 deletions(-)
-
-diff --git a/bindings/Makefile.am b/bindings/Makefile.am
-index ad9f0

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

2018-09-05 Thread Andreas Sturmlechner
commit: 07a25e61a71c228a34d775a714336e145714f32e
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Sep  5 18:04:24 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Sep  5 18:04:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a25e61

sci-libs/getdata: Drop eutils

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-libs/getdata/getdata-0.9.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
index d46c5d419c3..1e6aa25c7ab 100644
--- a/sci-libs/getdata/getdata-0.9.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 FORTRAN_STANDARD="95"
 FORTRAN_NEEDED=fortran
 PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils fortran-2 python-single-r1
+inherit autotools fortran-2 python-single-r1
 
 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
 HOMEPAGE="http://getdata.sourceforge.net/";
@@ -60,5 +60,5 @@ src_configure() {
 
 src_install() {
default
-   prune_libtool_files --all
+   find "${D}" -name '*.la' -delete || die
 }



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

2018-09-05 Thread Andreas Sturmlechner
commit: eaf61075cf730121322d40b30273b4c9aed3161f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed Sep  5 18:02:02 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Sep  5 18:02:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaf61075

sci-libs/getdata: Run python-single-r1_pkg_setup conditionally

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 sci-libs/getdata/getdata-0.9.0-r1.ebuild | 30 +++---
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
index 9bbc02d66ae..d46c5d419c3 100644
--- a/sci-libs/getdata/getdata-0.9.0-r1.ebuild
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 )
-
 FORTRAN_STANDARD="95"
 FORTRAN_NEEDED=fortran
-
+PYTHON_COMPAT=( python2_7 )
 inherit autotools eutils fortran-2 python-single-r1
 
 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
@@ -28,9 +26,11 @@ DEPEND="
python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
 RDEPEND="${DEPEND}"
 
-PATCHES=(
-   "${FILESDIR}/${P}-remove-python-test.patch"
-)
+PATCHES=( "${FILESDIR}/${P}-remove-python-test.patch" )
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
 
 src_prepare() {
default
@@ -42,20 +42,20 @@ src_configure() {
--disable-idl \
--disable-matlab \
--disable-php \
-   $(use_enable cxx cplusplus) \
-   $(use_enable debug) \
-   $(use_enable fortran) \
-   $(use_enable fortran fortran95) \
-   $(use_enable perl) \
-   $(use_enable python) \
-   $(use_enable static-libs static) \
--with-libz \
--without-libslim \
--without-libzzip \
$(use_with bzip2 libbz2) \
+   $(use_enable cxx cplusplus) \
+   $(use_enable debug) \
$(use_with flac libFLAC) \
+   $(use_enable fortran) \
+   $(use_enable fortran fortran95) \
$(use_with lzma liblzma) \
-   $(usex perl --with-perl-dir=vendor)
+   $(use_enable perl) \
+   $(usex perl --with-perl-dir=vendor) \
+   $(use_enable python) \
+   $(use_enable static-libs static)
 }
 
 src_install() {



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

2016-01-16 Thread David Seifert
commit: 59caeae1788d18755336c605ffb35e3f0bf434a1
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 16 23:33:29 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 16 23:34:21 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59caeae1

sci-libs/getdata: Add and make dependencies explicit

Gentoo-Bug: 571752
* disable PHP bindings (previously automagic)
* fix broken Python bindings handling
* fix 'static-libs' handling
* add 'cxx' C++ bindings generation
* add 'flac' FLAC encoding generation
* disable Matlab bindings (previously automagic)
* disable libzzip encoding generation (previously automagic)

Package-Manager: portage-2.2.26

 .../files/getdata-0.9.0-remove-python-test.patch   | 13 +
 sci-libs/getdata/getdata-0.9.0-r1.ebuild   | 65 ++
 2 files changed, 78 insertions(+)

diff --git a/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch 
b/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch
new file mode 100644
index 000..98da89d
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.9.0-remove-python-test.patch
@@ -0,0 +1,13 @@
+Remove python test suite.
+
+--- getdata-0.9.0/bindings/python/Makefile.am
 getdata-0.9.0/bindings/python/Makefile.am
+@@ -20,8 +20,6 @@
+ #
+ AUTOMAKE_OPTIONS = foreign
+ 
+-SUBDIRS=test
+-
+ nodist_python_SCRIPTS = pygetdata.so
+ 
+ BUILT_SOURCES = pyconstants.c

diff --git a/sci-libs/getdata/getdata-0.9.0-r1.ebuild 
b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
new file mode 100644
index 000..16e0ea5
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.9.0-r1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+
+inherit autotools eutils fortran-2 python-single-r1
+
+DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
+HOMEPAGE="http://getdata.sourceforge.net/";
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 cxx debug flac fortran lzma perl python static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   bzip2? ( app-arch/bzip2 )
+   lzma? ( app-arch/xz-utils )
+   perl? ( dev-lang/perl )
+   python? ( dev-python/numpy[${PYTHON_USEDEP}] ${PYTHON_DEPS} )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}/${P}-remove-python-test.patch"
+)
+
+src_prepare() {
+   default
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --disable-idl \
+   --disable-matlab \
+   --disable-php \
+   $(use_enable cxx cplusplus) \
+   $(use_enable debug) \
+   $(use_enable fortran) \
+   $(use_enable fortran fortran95) \
+   $(use_enable perl) \
+   $(use_enable python) \
+   $(use_enable static-libs static) \
+   --with-libz \
+   --without-libslim \
+   --without-libzzip \
+   $(use_with bzip2 libbz2) \
+   $(use_with flac libFLAC) \
+   $(use_with lzma liblzma) \
+   $(usex perl --with-perl-dir=vendor)
+}
+
+src_install() {
+   default
+   prune_libtool_files --all
+}



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

2015-12-20 Thread Justin Lecher
commit: 328b892fae4e9d10e125ec3da33522d892852c38
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Dec 20 16:44:18 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Dec 20 17:06:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=328b892f

sci-libs/getdata: Build correctly for single python

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=568650

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher  gentoo.org>

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

diff --git a/sci-libs/getdata/getdata-0.8.5.ebuild 
b/sci-libs/getdata/getdata-0.8.5.ebuild
index 4282094..ef6d2b6 100644
--- a/sci-libs/getdata/getdata-0.8.5.ebuild
+++ b/sci-libs/getdata/getdata-0.8.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ AUTOTOOLS_AUTORECONF=true
 FORTRAN_STANDARD="95"
 FORTRAN_NEEDED=fortran
 
-inherit autotools-utils fortran-2 python-r1
+inherit autotools-utils fortran-2 python-single-r1
 
 DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
 HOMEPAGE="http://getdata.sourceforge.net/";



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

2015-12-20 Thread Justin Lecher
commit: 0e930a6532f6df3ce4b097e9e2d72d4dfb036fe4
Author: Justin Lecher  gentoo  org>
AuthorDate: Sun Dec 20 17:03:04 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Sun Dec 20 17:06:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e930a65

sci-libs/getdata: Version Bump

Package-Manager: portage-2.2.26
Signed-off-by: Justin Lecher  gentoo.org>

 sci-libs/getdata/Manifest  |  1 +
 .../getdata/files/getdata-0.9.0-serial-test.patch  | 41 ++
 sci-libs/getdata/getdata-0.9.0.ebuild  | 95 ++
 3 files changed, 137 insertions(+)

diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest
index df04fe9..62511a0 100644
--- a/sci-libs/getdata/Manifest
+++ b/sci-libs/getdata/Manifest
@@ -1 +1,2 @@
 DIST getdata-0.8.5.tar.bz2 1015954 SHA256 
ee0322c1cca62660daed7941b24d41fc902cd7989539dcba432f5514f682a64e SHA512 
3a87ea2fbaa5491ac1d6faecdf10f0a80eef62fb8beefc6103f7f18e74efd404884f100f1d123b1fec672d1a09ea2c87e75626b7c62ea56b568a11cc44feaad0
 WHIRLPOOL 
7c4566bf7a56d99d41da7d007469d85ea5194f7b7417e6c5e976397f5514f9efd2ad47476f03e050f8dc30cd5348fc02eb7aa5048b14bf62fce629d602d7d84a
+DIST getdata-0.9.0.tar.xz 920652 SHA256 
b38de059ff21df873e95978867eb82f716b89fc7e8e503e2cc7cef93d22685a2 SHA512 
28d720141e34cc56a5166594d0a6ac293144d123706988ed170e40dd9d7aaf13b920305e8bd8343ecd7cbe43eee5d83720e3e5f5d2da0cdccdc1444725cc6844
 WHIRLPOOL 
afc557f26b60edb5aa787fcff35aec2cd6b1bc599b74ddd1583b526f1c9d22e522baf093675f11c2367c42f28f236d53a1e88a7b6613acfa44f52cc277691ed2

diff --git a/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch 
b/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch
new file mode 100644
index 000..ea17e54
--- /dev/null
+++ b/sci-libs/getdata/files/getdata-0.9.0-serial-test.patch
@@ -0,0 +1,41 @@
+ bindings/Makefile.am | 6 +-
+ bindings/python/test/Makefile.am | 2 +-
+ 2 files changed, 2 insertions(+), 6 deletions(-)
+
+diff --git a/bindings/Makefile.am b/bindings/Makefile.am
+index ad9f0d2..9e333a5 100644
+--- a/bindings/Makefile.am
 b/bindings/Makefile.am
+@@ -38,10 +38,6 @@ if MAKE_MATLABBINDINGS
+ MATLAB_SUBDIR=matlab
+ endif
+ 
+-if MAKE_PYBINDINGS
+-PY_SUBDIR=python
+-endif
+-
+ if MAKE_PERLBINDINGS
+ PERL_SUBDIR=perl
+ endif
+@@ -55,7 +51,7 @@ noinst_PROGRAMS=make_parameters
+ make_parameters_SOURCES = make_parameters.c
+ nodist_make_parameters_SOURCES = ../src/getdata.h ../src/gd_config.h
+ 
+-SUBDIRS = . ${F77_SUBDIR} ${CXX_SUBDIR} ${IDL_SUBDIR} ${PY_SUBDIR} \
++SUBDIRS = . ${F77_SUBDIR} ${CXX_SUBDIR} ${IDL_SUBDIR} \
+   ${PERL_SUBDIR} ${MATLAB_SUBDIR} 
${PHP_SUBDIR}
+ 
+ make_parameters$(EXEEXT): $(make_parameters_SOURCES) \
+diff --git a/bindings/python/test/Makefile.am 
b/bindings/python/test/Makefile.am
+index 32d786f..f4be3de 100644
+--- a/bindings/python/test/Makefile.am
 b/bindings/python/test/Makefile.am
+@@ -18,7 +18,7 @@
+ # along with GetData; if not, write to the Free Software Foundation, Inc.,
+ # 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ #
+-AUTOMAKE_OPTIONS = foreign serial-tests
++AUTOMAKE_OPTIONS = foreign
+ 
+ if TEST_PYTHON
+ TESTS_ENVIRONMENT=${DL_LIBRARY_PATH}=../../../src/.libs:${${DL_LIBRARY_PATH}} 
PYTHONPATH=..:${PYTHONPATH} ${PYTHON}

diff --git a/sci-libs/getdata/getdata-0.9.0.ebuild 
b/sci-libs/getdata/getdata-0.9.0.ebuild
new file mode 100644
index 000..6cd783a
--- /dev/null
+++ b/sci-libs/getdata/getdata-0.9.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+AUTOTOOLS_AUTORECONF=true
+
+FORTRAN_STANDARD="95"
+FORTRAN_NEEDED=fortran
+
+inherit autotools-utils fortran-2 python-single-r1
+
+DESCRIPTION="Reference implementation of the Dirfile, format for time-ordered 
binary data"
+HOMEPAGE="http://getdata.sourceforge.net/";
+SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.xz"
+
+SLOT="0"
+LICENSE="LGPL-2.1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="bzip2 debug fortran lzma python perl static-libs"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+   bzip2? ( app-arch/bzip2 )
+   lzma? ( app-arch/xz-utils )
+   python? ( ${PYTHON_DEPS} )
+   perl? ( dev-lang/perl )"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-serial-test.patch
+   )
+
+src_configure() {
+   local myeconfargs=()
+   use perl && myeconfargs+=( --with-perl-dir=vendor )
+   myeconfargs+=(
+   --disable-idl
+   --without-libslim
+   --with-libz
+   --docdir="${EPREFIX}/usr/share/doc/${P}"
+   $(use_enable debug)
+   $(use_enable fortran)
+   $(use_enable fortran fortran95)
+   $(use_enable python)
+   $(use_enable perl)
+   $(use_with bzip2 libbz2)
+