From e5558bb40ba46b03d0c8e82ae60dce9a32933989 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 27 Mar 2024 07:01:35 +0000 Subject: gentoo auto-resync : 27:03:2024 - 07:01:35 --- sci-libs/getdata/Manifest | 7 ++- .../files/getdata-0.11.0-bashisms-configure.patch | 66 ++++++++++++++++++++ sci-libs/getdata/getdata-0.11.0-r1.ebuild | 63 ------------------- sci-libs/getdata/getdata-0.11.0-r2.ebuild | 71 ++++++++++++++++++++++ sci-libs/getdata/getdata-0.11.0.ebuild | 3 +- sci-libs/getdata/metadata.xml | 1 + 6 files changed, 144 insertions(+), 67 deletions(-) create mode 100644 sci-libs/getdata/files/getdata-0.11.0-bashisms-configure.patch delete mode 100644 sci-libs/getdata/getdata-0.11.0-r1.ebuild create mode 100644 sci-libs/getdata/getdata-0.11.0-r2.ebuild (limited to 'sci-libs/getdata') diff --git a/sci-libs/getdata/Manifest b/sci-libs/getdata/Manifest index bc01100c1132..ea598b3c58db 100644 --- a/sci-libs/getdata/Manifest +++ b/sci-libs/getdata/Manifest @@ -1,5 +1,6 @@ +AUX getdata-0.11.0-bashisms-configure.patch 2392 BLAKE2B 2c282c0b8926bdcdec096018ce633d358009dd5113badf10ea5ebd6387267748639f195d6997787e3b58e10edeb63274c10702bc91dbef9f49295e83e7c1e437 SHA512 6650f18cb685db4b974901f70464212baf619023c0491f0dc1fdf0500652ea9c18c113bcdace448056597e57c48087b362c79e2042610eed6b6677ed41a9fd79 AUX getdata-0.11.0-fix-gzseek64-not-found.patch 225 BLAKE2B f1e4ddda81fddbb3683303b9c844d1f51f40eb9f0283aa1a8dbf48f0cf438fff99850a11412ba0a1b69a2c929f22371ba8e256e0fe4529718f7863295e39969e SHA512 16f39cebc98933dcb70cfa6ec85369755affa11d02152aeac75f9875b14c1caad7716ef1b872445a7456cc11c1a285a1281f8ee859a6ee807d2e3ab09170312f DIST getdata-0.11.0.tar.xz 1060324 BLAKE2B b758447429f95d53d6ce3e32eb5591d0141c218f5b3a3c391fb713722f8dc12fba2add078d75be1b2957b2d27b7d843cb51450fc49394da130548721f5df9384 SHA512 cf301449288c2b0e337a356f03ac8d295a4f5a32eb6c2a29c15c6fcc434a9eea8661a8070defbbf1d751e64e1f616e4353863b13d350fa8df6837631d86bc932 -EBUILD getdata-0.11.0-r1.ebuild 1397 BLAKE2B 60a88c63a11f55e1227e346a78757c38be09d85dc6b6aed3b634f0ab219f7c00ca1a0a2ef75f92087e7448deccf63be71c8932ac49a7e4d6a88d5eb1bccb44eb SHA512 11584b3ca8ad0a40c1ec37fd1ffb2dbefc81c476b72b8225101449408a6ec7ee87d4331d2e7a9617851b9b8a4c560bc4061d2709278489799ed8ec32092bf842 -EBUILD getdata-0.11.0.ebuild 1327 BLAKE2B 87683f25b684c2b216aa3112d132cc35ce481a1559c917aec7068d48fad532700988a0843e3f4aa5a343a8a8363fada7292592bbc5726ac6e7787699e0f8cfe8 SHA512 d73661d7cd57d81b19461afc1cfea69a759fdb56c45826a5553e37bc715432241784c31b1d841cd350f6c374e31d352b209ae16069ea8585af68ffa3f59c6903 -MISC metadata.xml 663 BLAKE2B 2d4a85bb71171eb7147e514e48d580b676785ef0d051f0b6a36c7c046bad44daae51f9b1e8877b7c1e77ebe5b4dd5c0302c1a3282431323d0b70ce8dd70000c1 SHA512 1910dd8dc7b91cb423fd2bff21b9741baddf9e628a588c19d89895285f827118f8640ebedcb7ba599bec956a61eb4a94de3136209016f1c0920da6d5a1c2eed6 +EBUILD getdata-0.11.0-r2.ebuild 1648 BLAKE2B 95433039c314aa2369a3ca5353dd51b531c89d88239782bc0771f3e5b03679c564969f4c45be7fb086e7aa22bff808efbd9e29381efff81be1f3bb6f217b5abb SHA512 aa9f58b1e53eb9d06d5f0859e78b18280c73301a018d875c12cfcadc60a820b974abaa7b1c70f2e3337b4dc9afc9cc9ec2eadb1d007a4ec60b496c687769c8b6 +EBUILD getdata-0.11.0.ebuild 1345 BLAKE2B 334df703447900691e7d667524f3c8cbb0ed24131b6791dae344df537156c55e19efed7c739774a6c6fd3b6ed1ea86553fdae23a16f70585a526d9ef9392bbd9 SHA512 c3f8d6b500a6835820f5ee24196a4ded35f43c5f65c6763bf084105726c5cd7ad240c5d941d5df3d98e4d6276b4c4b9bac9758734205cc9b0a6af5ccd8fc7761 +MISC metadata.xml 723 BLAKE2B c457ab6f5cc9f9c4c4fc0b7cc0b24b398572569aa733303e8473acde4b426145867429fc0c4dfbec15512d498e0d518bd6f3721ddf7a51ce31d090faf5a69ca3 SHA512 e2b1292ea8e15d46154d33ba620c575fc8a6a5a16fb1669992996b737779ce6ac6ae3f09ceafc8c693ea401a39a319992aa7a433e4eeb25e05ce62fd68025922 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 000000000000..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-r1.ebuild b/sci-libs/getdata/getdata-0.11.0-r1.ebuild deleted file mode 100644 index 698d2697d850..000000000000 --- a/sci-libs/getdata/getdata-0.11.0-r1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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 -} diff --git a/sci-libs/getdata/getdata-0.11.0-r2.ebuild b/sci-libs/getdata/getdata-0.11.0-r2.ebuild new file mode 100644 index 000000000000..db7e24e11bc4 --- /dev/null +++ b/sci-libs/getdata/getdata-0.11.0-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 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=" + dev-libs/libltdl + 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 + "${FILESDIR}"/${PN}-0.11.0-bashisms-configure.patch +) + +src_prepare() { + default + eautoreconf +} + +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) + + 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 +} 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 ) 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 -- cgit v1.2.3