Skip to content
Permalink
Browse files

libpsl: Update to version 0.21.0

 - Switch to python37

Closes: https://trac.macports.org/ticket/58120
  • Loading branch information
mf2k committed Apr 22, 2019
1 parent 771f937 commit dfb3e5740dac867e67db94e6e1d6d1a3a9911d67
Showing with 13 additions and 13 deletions.
  1. +13 −13 net/libpsl/Portfile
@@ -3,7 +3,7 @@
PortSystem 1.0
PortGroup github 1.0

github.setup rockdaboot libpsl 0.20.2 libpsl-
github.setup rockdaboot libpsl 0.21.0 libpsl-
# when incrementing version or revision please check
# that psl_data_commit and psl_data_date refer to latest
# publicsuffix/list git master commit
@@ -18,8 +18,8 @@ platforms darwin
github.tarball_from releases
set main_distfile ${distfiles}

set psl_data_commit 5d3dfdf7f074ca2831d7c2413cf50b976a019a39
set psl_data_date 20190205
set psl_data_commit a9d03e34e867912c0249d91fcfced0026f90d303
set psl_data_date 20190419
set psl_data_worksrcdir publicsuffix-list-[string range ${psl_data_commit} 0 6]
set psl_data_distname ${psl_data_worksrcdir}
set psl_data_distfile ${psl_data_distname}${extract.suffix}
@@ -33,25 +33,25 @@ master_sites ${github.master_sites}:main \
https://github.com/publicsuffix/list/tarball/${psl_data_commit}:list

checksums ${main_distfile} \
rmd160 418230d331d2976c111263f3c1280d47929f48cb \
sha256 f8fd0aeb66252dfcc638f14d9be1e2362fdaf2ca86bde0444ff4d5cc961b560f \
size 9228099 \
rmd160 6b8672d15e8d3fef30456b02202894534358e77e \
sha256 41bd1c75a375b85c337b59783f5deb93dbb443fb0a52d257f403df7bd653ee12 \
size 9217951 \
${psl_data_distfile} \
rmd160 42db7a91fcfc146e8be112be445d5febaa3ca3db \
sha256 e798eb356c11db44a8fe20d548dd6a6a0e2e4d186a513ede86ec1d2abe45fc3a \
size 86824
rmd160 c31c8d554fe95e422ecb88a31352738d7843e4b6 \
sha256 062f84f562662eab96c0383a4496395047669a343bd54b830c4247819e3b2f12 \
size 87149

depends_build-append \
port:pkgconfig \
port:python27
port:python37

depends_lib-append path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gettext \
port:libiconv \
port:libidn2 \
port:libunistring

license_noconflict python27
license_noconflict python37

post-extract {
# Replace older bundled publicsuffix list.
@@ -60,11 +60,11 @@ post-extract {
}

post-patch {
reinplace "s|^#!.*|#!${prefix}/bin/python2.7|" \
reinplace "s|^#!.*|#!${prefix}/bin/python3.7|" \
${worksrcpath}/src/psl-make-dafsa
}

configure.python ${prefix}/bin/python2.7
configure.python ${prefix}/bin/python3.7

configure.args --enable-builtin=libidn2 \
--disable-silent-rules

0 comments on commit dfb3e57

Please sign in to comment.
You can’t perform that action at this time.