From 23f787e9d508f928ed1b97befc0178848042c8c0 Mon Sep 17 00:00:00 2001 From: ArTourter Date: Thu, 18 May 2023 19:28:24 +0100 Subject: [PATCH] academic/cdo: Updated for version 2.2.0. Add dependency for newly submitted package eccodes Signed-off-by: ArTourter Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- academic/cdo/README | 2 ++ academic/cdo/cdo.SlackBuild | 7 ++++--- academic/cdo/cdo.info | 8 ++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/academic/cdo/README b/academic/cdo/README index bd81fec126..a7fcde9c55 100644 --- a/academic/cdo/README +++ b/academic/cdo/README @@ -6,6 +6,8 @@ Climate and NWP model Data. Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG. There are more than 600 operators available. +REQUIRES: proj udunits netcdf eccodes + By default, the script does not build nor run the tests. You can use the option TESTBUILD=YES to build and run the tests before the make install part. Note that the hdf5 slackbuild builds the library in a diff --git a/academic/cdo/cdo.SlackBuild b/academic/cdo/cdo.SlackBuild index b778ab52cc..18ce728fef 100644 --- a/academic/cdo/cdo.SlackBuild +++ b/academic/cdo/cdo.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cdo -# Copyright 2020-2022 Gregory J. L. Tourte +# Copyright 2020-2023 Gregory J. L. Tourte # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cdo -VERSION=${VERSION:-2.1.1} +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -88,6 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ + --with-eccodes=yes \ --with-szlib=yes \ --with-netcdf=yes \ --with-hdf5=yes \ @@ -109,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog NEWS OPERATORS README \ + AUTHORS ChangeLog LICENSE NEWS OPERATORS README \ doc/*.pdf \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/academic/cdo/cdo.info b/academic/cdo/cdo.info index 4b152aa170..58c603dc8e 100644 --- a/academic/cdo/cdo.info +++ b/academic/cdo/cdo.info @@ -1,10 +1,10 @@ PRGNAM="cdo" -VERSION="2.1.1" +VERSION="2.2.0" HOMEPAGE="https://code.mpimet.mpg.de/projects/cdo" -DOWNLOAD="https://code.mpimet.mpg.de/attachments/download/27654/cdo-2.1.1.tar.gz" -MD5SUM="5dd3ae56a6f43b718009b8749c1618b4" +DOWNLOAD="https://code.mpimet.mpg.de/attachments/download/28013/cdo-2.2.0.tar.gz" +MD5SUM="8873f58693011252c08364f66bcd9864" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="proj udunits netcdf" +REQUIRES="proj udunits netcdf eccodes" MAINTAINER="ArTourter" EMAIL="artourter@gmail.com"