Skip to content
Permalink
Browse files

py-tlslite: update to 0.4.9, switch to PyPI

  • Loading branch information
reneeotten committed Apr 14, 2019
1 parent 8a66449 commit 9b98c16f726659ecbcb05a73c24d15b00c4c9958
Showing with 12 additions and 11 deletions.
  1. +12 −11 python/py-tlslite/Portfile
@@ -4,8 +4,8 @@ PortSystem 1.0
PortGroup python 1.0

name py-tlslite
version 0.3.0
revision 1
version 0.4.9
revision 0
categories-append crypto security
license public-domain
maintainers nomaintainer
@@ -21,21 +21,22 @@ platforms darwin
supported_archs noarch

homepage http://trevp.net/tlslite/
#master_sites ${homepage}
master_sites http://distfiles.macports.org/python/
master_sites pypi:[string index ${python.rootname} 0]/${python.rootname}

distname tlslite-${version}
checksums md5 2d5f7efafa5d04598b21f1889e981207
checksums rmd160 49e40ed711e0a35983cc53cab21bf03186cc6ea4 \
sha256 9b9a487694c239efea8cec4454a99a56ee1ae1a5f3af0858ccf8029e2ac2d42d \
size 105402

python.versions 27

if {${name} ne ${subport}} {
post-destroot {
file mkdir ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 ${worksrcpath}/readme.txt \
${destroot}${prefix}/share/doc/${subport}
foreach f {tls.py tlsdb.py} {
reinplace "s|#! python|#!${python.bin}|g" ${destroot}${prefix}/bin/${f}
}
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README LICENSE\
${destroot}${docdir}
}

livecheck.type none
}

0 comments on commit 9b98c16

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