From 43b593c3b0d863da6b21676f17cfbf9a196fc11b Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 24 Mar 2021 21:03:32 +0000 Subject: [PATCH] libpqxx: Update python build dep to python 3.9 --- databases/libpqxx/Portfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/databases/libpqxx/Portfile b/databases/libpqxx/Portfile index c99f519b370..033c1a16e64 100644 --- a/databases/libpqxx/Portfile +++ b/databases/libpqxx/Portfile @@ -30,9 +30,9 @@ database interfaces. homepage http://pqxx.org/development/libpqxx/ -checksums rmd160 3001c4e2947a912da00c9e71482f8615cc66e9a7 \ - sha256 891def9b863710d351fef4527908c9335d30f00bb637648c98c7f6fa69ac163b \ - size 707338 +checksums rmd160 3001c4e2947a912da00c9e71482f8615cc66e9a7 \ + sha256 891def9b863710d351fef4527908c9335d30f00bb637648c98c7f6fa69ac163b \ + size 707338 set pg_ports [list postgresql91 postgresql92 postgresql93 postgresql94 \ postgresql95 postgresql96 postgresql10 postgresql11 postgresql12 postgresql13] @@ -54,11 +54,11 @@ if {!$any_variant_set} { depends_build port:pkgconfig -if {${os.platform} eq "darwin" && ${os.major} < 11} { - depends_build-append port:python27 +if {${os.platform} eq "darwin" && ${os.major} < 20} { + depends_build-append port:python39 post-patch { - reinplace -W ${worksrcpath} "s| /usr/bin/env python|${prefix}/bin/python2.7|" \ - tools/splitconfig tools/template2mak.py + reinplace -W ${worksrcpath} "s| /usr/bin/env python3|${prefix}/bin/python3.9|" \ + tools/splitconfig tools/template2mak.py tools/test_all.py tools/m4esc.py } }