Revision: 100818 https://trac.macports.org/changeset/100818 Author: jmr@macports.org Date: 2012-12-27 04:16:43 -0800 (Thu, 27 Dec 2012) Log Message: ----------- py-tlslite: use unified portgroup, license, noarch Modified Paths: -------------- trunk/dports/python/py-tlslite/Portfile Modified: trunk/dports/python/py-tlslite/Portfile =================================================================== --- trunk/dports/python/py-tlslite/Portfile 2012-12-27 12:02:22 UTC (rev 100817) +++ trunk/dports/python/py-tlslite/Portfile 2012-12-27 12:16:43 UTC (rev 100818) @@ -1,11 +1,13 @@ # $Id$ PortSystem 1.0 -PortGroup python24 1.0 +PortGroup python 1.0 + name py-tlslite version 0.3.0 revision 1 categories-append crypto security +license public-domain maintainers nomaintainer description Python library for TLSv1 and SSLv3 operations long_description \ @@ -16,19 +18,24 @@ crypto operations. platforms darwin +supported_archs noarch homepage http://trevp.net/tlslite/ -master_sites ${homepage} +#master_sites ${homepage} +master_sites http://distfiles.macports.org/python/ distname tlslite-${version} checksums md5 2d5f7efafa5d04598b21f1889e981207 -post-destroot { - file mkdir ${destroot}${prefix}/share/doc/${name} - xinstall -m 644 ${worksrcpath}/readme.txt \ - ${destroot}${prefix}/share/doc/${name} - foreach f {tls.py tlsdb.py} { - reinplace "s|#! python|#!${python.bin}|g" ${destroot}${prefix}/bin/${f} - } +python.versions 24 + +if {$subport != $name} { + 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} + } + } } -
participants (1)
-
jmr@macports.org