<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/b59e36a45880223ebd48b7502ace456ef0cd4ff4">https://github.com/macports/macports-ports/commit/b59e36a45880223ebd48b7502ace456ef0cd4ff4</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b59e36a45880223ebd48b7502ace456ef0cd4ff4
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Sat Mar 19 13:33:42 2022 -0400
<span style='display:block; white-space:pre;color:#404040;'> coccinelle: update to 1.1.1
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - add python310, remove python27/python34 variants
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/47668
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/52321
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/59446
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63044
</span>---
devel/coccinelle/Portfile | 73 +++++++++++++++++++----------------------------
1 file changed, 30 insertions(+), 43 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/coccinelle/Portfile b/devel/coccinelle/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 87d35c52d4b..40308a61624 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/coccinelle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/coccinelle/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,9 +1,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup coccinelle coccinelle 1.1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name coccinelle
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.0.6
</span> license GPL-2
maintainers {g5pw @g5pw} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,65 +16,49 @@ long_description ${name} is a program matching and transformation engine whic
</span> provides the language SmPL (Semantic Patch Language) for\
specifying desired matches and transformations in C code.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.cmd ./autogen
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://coccinelle.lip6.fr
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:autoconf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:automake \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libtool
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:ocaml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib-append port:ocaml \
</span> port:ocaml-findlib \
port:ocaml-menhir \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:ocaml-camlp4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}/distrib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.suffix .tgz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ocaml-parmap
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 f3cd1de8566936d867c1fab31f52071ec3b80d9c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 8452ed265c209dae99cbb33b67bc7912e72f8bca1e24f33f1a88ba3d7985e909
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 9d97ce727a60f89e48bb63d57352e331edd8fe8f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 095919e129ac563586d880ebbc5aac829fec224177090aebe34dc34ed5f142bf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2743457
</span>
configure.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-release \
</span> --disable-dependency-tracking \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --disable-pycaml \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-silent-rules \
</span> --enable-dynlink \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-camlp4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-menhirLib \
</span> --enable-ocaml \
--enable-opt \
--disable-pcre \
--disable-python \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-menhir=${prefix}/bin/menhir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-menhir=${prefix}/bin/menhir \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --libdir=${prefix}/lib
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Build optimized version only
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# build.target opt-only
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# --libdir will be redundant upon next update, see:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/coccinelle/coccinelle/issues/263
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python34 description {Build with python 2.7 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mypydir ${frameworks_dir}/Python.framework/Versions/2.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-python \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- -with-python=${mypydir}/bin/python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_parallel_build no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts description {Build with python 3.10 support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set mypydir ${frameworks_dir}/Python.framework/Versions/3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-python --enable-python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-python=${mypydir}/bin/python3
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python34 conflicts python27 description {Build with python 3.4 support} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set mypydir ${frameworks_dir}/Python.framework/Versions/3.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-python \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-python=${mypydir}/bin/python3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.env-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PKG_CONFIG_PATH=${mypydir}/lib/pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python34
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python310
</span> }
variant pcre description {Enable PCRE support} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-delete --disable-pcre
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --enable-pcre
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace --disable-pcre --enable-pcre
</span>
depends_lib-append port:ocaml-pcre
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}/download.php
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "Current version: (\\d+\\.\\d+\\.\\d+(-rc\\d+)?)"
</span></pre><pre style='margin:0'>
</pre>