<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/ffb3a92c38365ea51f2ad6126905380556bf5c18">https://github.com/macports/macports-ports/commit/ffb3a92c38365ea51f2ad6126905380556bf5c18</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ffb3a92c38365ea51f2ad6126905380556bf5c18
</span>Author: Renee Otten <reneeotten@macports.org>
AuthorDate: Fri Nov 24 19:56:55 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> libpwquality: update Python versions for variants
</span>---
devel/libpwquality/Portfile | 32 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libpwquality/Portfile b/devel/libpwquality/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0f8244b04d9..e1e2802f90a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libpwquality/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libpwquality/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup github 1.0
github.setup libpwquality libpwquality 1.4.0 libpwquality-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
license LGPL-2.1+
categories devel
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -15,8 +15,6 @@ description A library for password quality checking and \
</span>
long_description {*}${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> checksums rmd160 7404be81e78bcace422a38f91ecc3c65e72c8f63 \
sha256 1d9f39e946d10fd691ad9667bc6b97ba2b804008f2cc30648f073a4fd42d1bd2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,40 +35,40 @@ configure.cmd ./autogen.sh && ./configure
</span>
configure.args --disable-pam
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python27 conflicts python35 python36 python37 description {Build python 2.7 bindings} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set python_ver 2.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python27
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python311 conflicts python310 python39 python38 description {Build python 3.11 bindings} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_ver 3.11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python311
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_prefix}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python35 conflicts python27 python36 python37 description {Build python 3.5 bindings} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set python_ver 3.5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python35
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python310 conflicts python311 python39 python38 description {Build python 3.10 bindings} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_ver 3.10
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python310
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_prefix}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python36 conflicts python27 python35 python37 description {Build python 3.6 bindings} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set python_ver 3.6
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python39 conflicts python311 python310 python38 description {Build python 3.9 bindings} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_ver 3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python39
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_prefix}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant python37 conflicts python27 python35 python36 description {Build python 3.7 bindings} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set python_ver 3.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant python38 conflicts python311 python310 python39 description {Build python 3.8 bindings} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set python_ver 3.8
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:python38
</span> set python_prefix ${frameworks_dir}/Python.framework/Versions/${python_ver}
configure.args-append --with-python-binary=${prefix}/bin/python${python_ver} \
--with-pythonsitedir=${python_prefix}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset python27] && ![variant_isset python35] && ![variant_isset python36]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +python37
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset python310] && ![variant_isset python39] && ![variant_isset python38]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +python311
</span> }
platform darwin {
</pre><pre style='margin:0'>
</pre>