From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B5AF158087 for ; Sun, 28 Nov 2021 21:48:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E1B32BC055; Sun, 28 Nov 2021 21:48:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E12D22BC055 for ; Sun, 28 Nov 2021 21:48:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6E79342EAF for ; Sun, 28 Nov 2021 21:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CDEDC1FE for ; Sun, 28 Nov 2021 21:48:31 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1638136059.230f27319c991680b603d76641117b95eb5b1e9c.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libbufr/files/, sci-libs/libbufr/, profiles/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/package.mask sci-libs/libbufr/Manifest sci-libs/libbufr/files/libbufr-000405-makefile.patch sci-libs/libbufr/libbufr-000405.ebuild sci-libs/libbufr/metadata.xml X-VCS-Directories: sci-libs/libbufr/files/ sci-libs/libbufr/ profiles/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 230f27319c991680b603d76641117b95eb5b1e9c X-VCS-Branch: master Date: Sun, 28 Nov 2021 21:48:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3dfffd85-b5f7-4c3a-a88b-991f4a733382 X-Archives-Hash: 9c341c764761fb85483d0875a79a61db commit: 230f27319c991680b603d76641117b95eb5b1e9c Author: Jakov Smolić gentoo org> AuthorDate: Sun Nov 28 21:46:28 2021 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Sun Nov 28 21:47:39 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230f2731 sci-libs/libbufr: treeclean Closes: https://bugs.gentoo.org/819111 Closes: https://bugs.gentoo.org/715688 Closes: https://bugs.gentoo.org/723466 Signed-off-by: Jakov Smolić gentoo.org> profiles/package.mask | 5 - sci-libs/libbufr/Manifest | 1 - .../libbufr/files/libbufr-000405-makefile.patch | 80 --------- sci-libs/libbufr/libbufr-000405.ebuild | 196 --------------------- sci-libs/libbufr/metadata.xml | 10 -- 5 files changed, 292 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 48f944044774..04b21534a19d 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -465,11 +465,6 @@ dev-ruby/rbnacl:4 # Removal on 2021-11-29. Bug #819258. net-wireless/btcrack -# Jakov Smolić (2021-10-30) -# EAPI 5, no revdeps, replaced by sci-libs/eccodes -# Removal on 2021-11-29. Bug #819111. -sci-libs/libbufr - # Sam James (2021-10-10) # Needs upstream build system fixes (currently in progress). # Python toggles don't work correctly right now. diff --git a/sci-libs/libbufr/Manifest b/sci-libs/libbufr/Manifest deleted file mode 100644 index 79737e4052d6..000000000000 --- a/sci-libs/libbufr/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST bufrdc_000405.tar.gz 11873311 BLAKE2B e8282fc539b80365420c538afd911aaba698d6a60d15018eae2d4f00e0838c3f665894078b2c0969b4558841187dd6a4a9e620468cebd5b08e171a2c18c85288 SHA512 3355d6bac54ef152f9feb13ae13f3c94f4e01a665a4b9bc7f85f0c98f9aa37411170668ba9adfb6b62c2fe906d0dff67b03a708cdf1acd21a0037e327c7c6169 diff --git a/sci-libs/libbufr/files/libbufr-000405-makefile.patch b/sci-libs/libbufr/files/libbufr-000405-makefile.patch deleted file mode 100644 index 08b30ded8d72..000000000000 --- a/sci-libs/libbufr/files/libbufr-000405-makefile.patch +++ /dev/null @@ -1,80 +0,0 @@ ---- Makefile.orig 2016-01-04 13:09:58.661150785 -0800 -+++ Makefile 2016-01-04 13:17:12.707621825 -0800 -@@ -1,7 +1,7 @@ - # Makefile for libbufrex - # - R64 = R64 --TARGETS = all clean -+TARGETS = all clean test - LIBRARY = libbufr$(R64).a - SHELL=/bin/sh - SUBDIRS = fortranC bufrdc pbio bufrtables examples -@@ -11,12 +11,14 @@ - ( echo "*************************"; \ - echo "*** Make in $$name "; \ - echo "*************************"; \ -- cd $$name ; make ; ) done -+ $(MAKE) -C $$name LIB=bufr ; ) done -+ -+test : - ./test.sh - tables_tools/check_tables.sh bufrtables - - clean : - @for name in $(SUBDIRS); do\ -- ( echo "*** Clean in $$name ***" ;cd $$name ; make clean ); \ -+ ( echo "*** Clean in $$name ***" ;$(MAKE) -C $$name clean ); \ - done - rm -f $(LIBRARY) ---- examples/Makefile.in.orig 2016-01-04 13:42:39.790648703 -0800 -+++ examples/Makefile.in 2016-01-04 13:45:02.384967830 -0800 -@@ -16,19 +16,19 @@ - # - # - TARGETS = all clean --EXECS = decode_bufr decode_bufr_image bufr_decode_all tdexp tdexp create_bufr -+EXECS = decode_bufr decode_bufr_image bufr_decode_all bufr_compress tdexp create_bufr - # - # - all :$(EXECS) - --decode_bufr: decode_bufr.o -+decode_bufr: decode_bufr.o - $(FC) $(FFLAGS) -o $@ decode_bufr.o -L$(PLACE) -l$(LIB)$(R64) - --bufr_decode_all: bufr_decode_all.o -- $(FC) $(FFLAGS) -o $@ bufr_decode_all.o -L$(PLACE) -l$(LIB)$(R64) -+bufr_decode_all: bufr_decode_all.o -+ $(FC) $(FFLAGS) -o $@ bufr_decode_all.o -L$(PLACE) -l$(LIB)$(R64) - --bufr_compress: bufr_compress.o -- $(FC) $(FFLAGS) -o $@ bufr_compress.o -L$(PLACE) -l$(LIB)$(R64) -+bufr_compress: bufr_compress.o -+ $(FC) $(FFLAGS) -o $@ bufr_compress.o -L$(PLACE) -l$(LIB)$(R64) - - bufr2crex : bufr2crex.o - $(FC) $(FFLAGS) -o $@ bufr2crex.o -L$(PLACE) -l$(LIB)$(R64) -lcrex$(R64) -@@ -48,4 +48,4 @@ - clean : - @for name in $(EXECS); do\ - (rm -f $$name *.o ); \ -- done -+ done ---- bufrtables/Makefile.orig 2016-01-04 14:03:47.292850644 -0800 -+++ bufrtables/Makefile 2016-01-04 14:05:22.242500485 -0800 -@@ -25,11 +25,14 @@ - OBJECTS = $(OBJECTS.F) $(OBJECTS.c) - # - # --all: links -+all: pgms links - - links: - ./clean.sh - ./links.sh -+ -+pgms: bufr2txt_tables bufr_split_tables txt2bufr_tables -+ - bufr2txt_tables: bufr2txt_tables.f - $(FC) $(FFLAGS) -o bufr2txt_tables bufr2txt_tables.f $(LIBRARY) - bufr_split_tables: bufr_split_tables.f diff --git a/sci-libs/libbufr/libbufr-000405.ebuild b/sci-libs/libbufr/libbufr-000405.ebuild deleted file mode 100644 index 85febe3abf26..000000000000 --- a/sci-libs/libbufr/libbufr-000405.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit epatch fortran-2 toolchain-funcs - -MY_P="${PN/lib/}dc_${PV}" - -DESCRIPTION="ECMWF BUFR library - includes both C and Fortran example utilities" -HOMEPAGE="https://software.ecmwf.int/wiki/display/BUFR/BUFRDC+Home" -SRC_URI="https://software.ecmwf.int/wiki/download/attachments/35752466/${MY_P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" -# needs someone to test on these: ~alpha ~hppa ~ia64 ~sparc etc ... - -IUSE="debug doc examples" - -RDEPEND=" - virtual/fortran - " - -DEPEND="sys-apps/findutils" - -S=${WORKDIR}/${MY_P} - -pkg_setup() { - fortran-2_pkg_setup - case "$(tc-getFC)" in - *gfortran) - export CNAME="_gfortran" - ;; - *g77) - export CNAME="_gnu" - ;; - *pgf90|*pgf77) - export CNAME="" - ;; - ifc|ifort) - export CNAME="_intel" - ;; - esac - - elog "Note non-GNU compilers are not currently supported on non-x86" - elog "architectures. If you need it, please submit a patch..." - - export target="linux" - export A64="" - export R64="" - case "${ARCH}" in - amd64) - export R64="R64" - export A64="A64" - ;; - ppc64) - export target="ppc_G5" - ;; - ppc) - export target="ppc" - ;; - *) - ;; - esac -} - -src_prepare() { - update_configs - epatch "${FILESDIR}"/${P}-makefile.patch - - local config="config/config.$target$CNAME$R64$A64" - - if [[ "${ARCH}" == "ppc" ]] ; then - sed -i -e "s|= -mcpu=G4 -mtune=G4|= |" ${config} - elif [[ "${ARCH}" == "ppc64" ]] ; then - sed -i -e "s|= -mcpu=G5 -mtune=G5|= |" \ - -e "s|-fdefault-real-8|-fdefault-real-8 -fdefault-double-8|" \ - ${config} - elif [[ "${ARCH}" == "amd64" ]] ; then - cp ${config}.in ${config} - sed -i -e "s|-fdefault-real-8|-fdefault-real-8 -fdefault-double-8|" \ - ${config} - else - cp ${config}.in ${config} || die "Error updating config!" - fi - - sed -i -e "s:DEBUG = -O2:DEBUG = -g:g" ${config} - use debug || sed -i -e "s:DEBUG = -g:DEBUG =:g" ${config} - - # add local CFLAGS to build flags - sed -i -e "s|\$(DEBUG)|${CFLAGS} \$(DEBUG) -fPIC|" \ - -e 's|emos|/usr/share/bufrtables|g' ${config} - - # add local LDFLAGS to bins - sed -i \ - -e "s|-o|${LDFLAGS} -fPIC -o|" \ - examples/Makefile \ - bufrtables/Makefile -} - -src_compile() { - export BUFR_TABLES="${S}"/bufrtables - EBUILD_ARCH="${ARCH}" - EBUILD_CFLAGS="${CFLAGS}" - unset ARCH CFLAGS - - tc-export CC FC AR NM RANLIB - export STRIP="/bin/true" - TC_FLAGS="CC=$CC FC=$FC AR=$AR RANLIB=$RANLIB" - ARFLAGS="rv" - - # emake won't work with this fossil... - BUFRFLAGS="ARCH=$target R64=$R64 CNAME=$CNAME" - make $TC_FLAGS ARFLAGS="${ARFLAGS}" $BUFRFLAGS || die "make failed" - - generate_files - - ARCH="${EBUILD_ARCH}" - CFLAGS="${EBUILD_CFLAGS}" -} - -src_test() { - unset ARCH CFLAGS - BUFRFLAGS="ARCH=$target R64=$R64 CNAME=$CNAME" - make $BUFRFLAGS test || die "make test failed" - - ARCH="${EBUILD_ARCH}" - CFLAGS="${EBUILD_CFLAGS}" -} - -src_install() { - # install library - dolib.a libbufr$R64.a - - dosbin bufrtables/{bufr2txt_tables,bufr_split_tables,txt2bufr_tables} - dobin examples/{bufr_decode_all,create_bufr,decode_bufr,decode_bufr_image,tdexp} - - keepdir /usr/share/bufrtables - insinto /usr/share/bufrtables - doins -r bufrtables/{B,C,D}*.* - - # files generated above - doenvd 20${PN} - - dodoc README - if use doc ; then - insinto /usr/share/doc/${PF} - doins doc/*.pdf - fi - - if use examples ; then - newdoc examples/README README.examples - insinto /usr/share/doc/${PF}/examples - doins examples/{*.F,*.c,Makefile} - fi -} - -pkg_postinst() { - elog - elog "This is the only GPL'd BUFR decoder library written in C/Fortran" - elog "but the build system is an old kluge that pre-dates the discovery" - elog "of fire. File bugs as usual if you have build/runtime problems." - elog "" - elog "The default BUFR tables are stored in /usr/share/bufrtables, so" - elog "add your local tables there if needed. Only a static lib is" - elog "installed currently, as shared lib support is incomplete (feel" - elog "free to submit a patch :)" - elog "" - elog "The installed user-land bufr utilities are just the examples;" - elog "the main library is really all there is (and there are no man" - elog "pages either). Install the examples and use the source, Luke..." - elog -} - -generate_files() { - ## Do not remove blank lines from the response file - cat <<-EOF > 20${PN} - BUFR_TABLES="/usr/share/bufrtables" - EOF -} - -update_configs() { - find . -type f -name \*.distinct -o -name \*.f -o -name \*.in \ - | xargs chmod -x - cp options/options_linux options/options_ppc - cp options/options_linux options/options_ppc_G5 - cp pbio/sources.linux pbio/sources.ppc - cp pbio/sources.linux pbio/sources.ppc_G5 - pushd config > /dev/null - cp config.ppc_gfortran.in config.ppc_gfortran - cp config.ppc_gfortranR64.in config.ppc_gfortranR64 - cp config.ppc_gfortran_G5.in config.ppc_gfortran_G5 - cp config.ppc_gfortranR64_G5.in config.ppc_gfortranR64_G5 - popd > /dev/null -} diff --git a/sci-libs/libbufr/metadata.xml b/sci-libs/libbufr/metadata.xml deleted file mode 100644 index 17252cf7e7b1..000000000000 --- a/sci-libs/libbufr/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - This is the only useable open source BUFR library (from ECMWF) - and comes with a few example tools (some of which are built - and installed). - -