From 46bd4dece2fe17fc71c4a04532c9369d1767b1d2 Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Wed, 18 Sep 2024 11:37:41 +0200 Subject: [PATCH 1/4] libsvm: update to 3.35 and add py312-libsvm subport --- math/libsvm/Portfile | 10 +++++----- math/libsvm/files/patch-Makefile.diff | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/math/libsvm/Portfile b/math/libsvm/Portfile index bc9659a6fc02..3d556469c0cf 100644 --- a/math/libsvm/Portfile +++ b/math/libsvm/Portfile @@ -5,7 +5,7 @@ PortGroup makefile 1.0 name libsvm epoch 3 -version 3.33 +version 3.35 revision 0 categories math @@ -22,9 +22,9 @@ long_description {*}${description} By Chih-Chung Chang and Chih-Jen Lin of homepage https://www.csie.ntu.edu.tw/~cjlin/libsvm/ master_sites ${homepage} -checksums rmd160 19078031589d2222cc963f4438a71eca4e49d2c4 \ - sha256 d5da12ccc3d0eed8453fbdf6fac7d9f0052f3e8a5f07a2174e4ef0a9d83dcdf8 \ - size 945003 +checksums rmd160 4908ac8a3adbbc0a52a5e532e957df22716d0f8b \ + sha256 ea5633fc84b1c2fa58aa4c44b62e437573020297a1dfbe73bf1531ec817a8478 \ + size 944855 patchfiles patch-Makefile.diff @@ -38,7 +38,7 @@ destroot.env-append VERSION=${libver} set docdir ${prefix}/share/doc/${name} # create Python subports -set python_versions {310 311} +set python_versions {310 311 312} foreach v ${python_versions} { subport py${v}-${name} { set python_branch [string index ${v} 0].[string range ${v} 1 end] diff --git a/math/libsvm/files/patch-Makefile.diff b/math/libsvm/files/patch-Makefile.diff index 1cdd3ae9b2b7..d03ab7652b0b 100644 --- a/math/libsvm/files/patch-Makefile.diff +++ b/math/libsvm/files/patch-Makefile.diff @@ -3,7 +3,7 @@ @@ -1,28 +1,67 @@ -CXX ?= g++ -CFLAGS = -Wall -Wconversion -O3 -fPIC --SHVER = 3 +-SHVER = 4 -OS = $(shell uname) -ifeq ($(OS),Darwin) - SHARED_LIB_FLAG = -dynamiclib -Wl,-install_name,libsvm.so.$(SHVER) From bdca05b77043f295a7aa9fab970801f43172b973 Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Wed, 18 Sep 2024 14:10:06 +0200 Subject: [PATCH 2/4] orfeotoolbox: fix livecheck regex (to not include rc versions) --- gis/orfeotoolbox/Portfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gis/orfeotoolbox/Portfile b/gis/orfeotoolbox/Portfile index 1e42feac5c85..76c7ddd9111c 100644 --- a/gis/orfeotoolbox/Portfile +++ b/gis/orfeotoolbox/Portfile @@ -187,4 +187,4 @@ if {${subport} eq ${name}} { livecheck.type regex livecheck.url ${master_sites} -livecheck.regex {OTB-(\d+(?:\.\d+)*)[quotemeta ${extract.suffix}]} +livecheck.regex OTB-(\[0-9.\]+)[quotemeta ${extract.suffix}] From 6973f198596935afa76ab91643f54a1ed14ff410 Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Wed, 18 Sep 2024 14:10:43 +0200 Subject: [PATCH 3/4] libsvm dependents: increase revision after update to 3.35 --- gis/grass/Portfile | 2 +- gis/orfeotoolbox/Portfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gis/grass/Portfile b/gis/grass/Portfile index 357a4f8798be..a5defdd502df 100644 --- a/gis/grass/Portfile +++ b/gis/grass/Portfile @@ -12,7 +12,7 @@ epoch 1 github.setup osgeo grass 8.4.0 github.tarball_from releases # version 8.4.0 -revision 2 +revision 3 maintainers {yahoo.com:n_larsson @nilason} openmaintainer categories gis diff --git a/gis/orfeotoolbox/Portfile b/gis/orfeotoolbox/Portfile index 76c7ddd9111c..472bd9673dfc 100644 --- a/gis/orfeotoolbox/Portfile +++ b/gis/orfeotoolbox/Portfile @@ -6,7 +6,7 @@ PortGroup boost 1.0 name orfeotoolbox version 9.0.0 -revision 2 +revision 3 categories gis graphics license Apache-2 From 6d6869e2b65a1b1efe8b30e72c94128a1170e913 Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Wed, 18 Sep 2024 15:36:32 +0200 Subject: [PATCH 4/4] libsvm dependents: increase revision after update to 3.35 [skip ci] --- php/php-svm/Portfile | 4 ++-- python/py-pymvpa/Portfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/php/php-svm/Portfile b/php/php-svm/Portfile index 257409d145a7..de294ca63ac7 100644 --- a/php/php-svm/Portfile +++ b/php/php-svm/Portfile @@ -14,13 +14,13 @@ php.pecl.prerelease yes if {[vercmp ${php.branch} >= 7.0]} { version 0.2.3 - revision 2 + revision 3 checksums rmd160 0df66ac9fb15b82efbf8de56439aabc7cfca4e69 \ sha256 80cf414942cc558a6934d0a508f056daaaa7399df5bd8dc556bff5ee1ebf5c9a \ size 130776 } elseif {[vercmp ${php.branch} >= 5.2]} { version 0.1.9 - revision 3 + revision 4 checksums rmd160 174f667f56c051bf29f3e36766d92b68012b976b \ sha256 28c0eda03b47fb79a7a584143e8fb539fd796aacbcb11dc8dcc7b66d42cd007f \ size 111685 diff --git a/python/py-pymvpa/Portfile b/python/py-pymvpa/Portfile index da5afc96c704..789538d1b260 100644 --- a/python/py-pymvpa/Portfile +++ b/python/py-pymvpa/Portfile @@ -7,7 +7,7 @@ PortGroup python 1.0 github.setup PyMVPA PyMVPA 2.6.5 upstream/ name py-pymvpa -revision 3 +revision 4 categories-append science math license MIT