source: trunk/dports/python/py-tlslite/Portfile

Last change on this file was 130838, checked in by larryv@…, 3 years ago

py24-tlslite: Replace with py27

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 130838 2015-01-02 22:24:24Z ryandesign@macports.org $
2
3PortSystem                      1.0
4PortGroup                       python 1.0
5
6name                            py-tlslite
7version                         0.3.0
8revision                        1
9categories-append       crypto security
10license                         public-domain
11maintainers                     nomaintainer
12description                     Python library for TLSv1 and SSLv3 operations
13long_description \
14        TLS Lite is a free python library that implements SSL v3 and TLS v1. \
15        It supports non-traditional authentication methods such as SRP, shared \
16        keys, and cryptoIDs, in addition to X.509 certificates.  TLS Lite is \
17        pure python, however it can access OpenSSL or cryptlib for faster \
18        crypto operations.
19
20platforms                       darwin
21supported_archs         noarch
22
23homepage                        http://trevp.net/tlslite/
24#master_sites           ${homepage}
25master_sites            http://distfiles.macports.org/python/
26
27distname                        tlslite-${version}
28checksums                       md5 2d5f7efafa5d04598b21f1889e981207
29
30python.versions         27
31
32if {${name} ne ${subport}} {
33    post-destroot {
34        file mkdir ${destroot}${prefix}/share/doc/${subport}
35        xinstall -m 644 ${worksrcpath}/readme.txt \
36            ${destroot}${prefix}/share/doc/${subport}
37        foreach f {tls.py tlsdb.py} {
38            reinplace "s|#! python|#!${python.bin}|g" ${destroot}${prefix}/bin/${f}
39        }
40    }
41}
Note: See TracBrowser for help on using the repository browser.