Skip to content
Permalink
Browse files

py-tre: update master_sites, fix livecheck

- deprecated
  • Loading branch information
reneeotten committed Apr 15, 2019
1 parent 3e542d1 commit 86ee7e2c3d35e775831ee0611ff8da48c4fa08bf
Showing with 6 additions and 2 deletions.
  1. +6 −2 python/py-tre/Portfile
@@ -2,6 +2,7 @@

PortSystem 1.0
PortGroup python 1.0
PortGroup deprecated 1.0

name py-tre
version 0.8.0
@@ -17,7 +18,7 @@ long_description Python bindings for libtre, a lightweight, \
approximate text matches.

homepage http://laurikari.net/tre/
master_sites ${homepage}
master_sites ${homepage}/download
distname tre-${version}
dist_subdir tre
worksrcdir ${distname}/python
@@ -27,6 +28,7 @@ use_bzip2 yes
checksums rmd160 8031cc0c421dd0f473b4c98f49aef9805fa65b64 \
sha256 8dc642c2cde02b2dac6802cdbe2cda201daf79c4ebcbb3ea133915edf1636658

deprecated.upstream_support no
python.versions 27

if {${name} ne ${subport}} {
@@ -38,9 +40,11 @@ if {${name} ne ${subport}} {
}

post-destroot {
xinstall -m 644 -W ${workpath}/${distname} ChangeLog LICENSE README \
xinstall -m 0644 -W ${workpath}/${distname} ChangeLog LICENSE README \
${destroot}${prefix}/share/doc/${subport}
}

livecheck.type none
} else {
livecheck.regex tre-(\[0-9.\]+)${extract.suffix}
}

0 comments on commit 86ee7e2

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