From a2a7d3eb4544836bdb60d697fb6718ab59869f7f Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Thu, 1 Feb 2024 16:28:01 +0100 Subject: [PATCH] py-llvmlite: update to 0.42.0; pin 0.41.1 to py38; add py312 --- python/py-llvmlite/Portfile | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/python/py-llvmlite/Portfile b/python/py-llvmlite/Portfile index bd6b94b4041bb..19f9ac77ebf7a 100644 --- a/python/py-llvmlite/Portfile +++ b/python/py-llvmlite/Portfile @@ -4,11 +4,11 @@ PortSystem 1.0 PortGroup python 1.0 name py-llvmlite -version 0.41.1 +version 0.42.0 categories-append devel science license BSD -python.versions 38 39 310 311 +python.versions 38 39 310 311 312 python.pep517 yes maintainers {stromnov @stromnov} openmaintainer @@ -18,9 +18,9 @@ long_description {*}${description} homepage https://llvmlite.pydata.org/ -checksums md5 4f58a46856bf2a82d8b661f1aa7b26ec \ - rmd160 7e1e0cdfd9489f9385ec3d50c3e41d3114db47a4 \ - sha256 f19f767a018e6ec89608e1f6b13348fa2fcde657151137cb64e56d48598a92db +checksums rmd160 6b7848cc5a1d8f25df55a724dfe6dfac00fe665d \ + sha256 f92b09243c0cc3f457da8b983f67bd8e1295d0f5b3746c7a1861d7a99403854a \ + size 156136 if {${name} ne ${subport}} { PortGroup legacysupport 1.1 @@ -48,6 +48,14 @@ if {${name} ne ${subport}} { reinplace "s|%%MP_EXTRA_LDFLAGS%%|${configure.ldflags}|" ${worksrcpath}/ffi/Makefile.osx } + if {${python.version} == 38} { + version 0.41.1 + checksums md5 4f58a46856bf2a82d8b661f1aa7b26ec \ + rmd160 7e1e0cdfd9489f9385ec3d50c3e41d3114db47a4 \ + sha256 f19f767a018e6ec89608e1f6b13348fa2fcde657151137cb64e56d48598a92db \ + size 146564 + } + post-destroot { system "/usr/bin/install_name_tool -change @rpath/libLLVM.dylib ${prefix}/libexec/llvm-${llvmver}/lib/libLLVM.dylib ${destroot}${python.pkgd}/llvmlite/binding/libllvmlite.dylib" }