Ticket #48518: Portfile

File Portfile, 1.5 KB (added by hans@…, 9 years ago)
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-asn1-modules
8version             0.0.7
9categories-append   devel crypto
10license             BSD
11maintainers         eds.org:hans
12
13description         A collection of ASN.1-based protocols modules.
14
15long_description    This is a small but growing collection of ASN.1 \
16                    data structures expressed in Python terms using pyasn1 data model.
17
18python.versions     27 34
19
20platforms           darwin
21supported_archs     noarch
22
23homepage            https://pypi.python.org/pypi/pyasn1-modules
24master_sites        https://pypi.python.org/packages/source/p/pyasn1-modules/
25distname            pyasn1-modules-${version}
26
27checksums           md5     9e92623a86709a77d43d406612ad7389 \
28                    rmd160  4d9f6e67020b5be843ffb611195e7249bb171e6b \
29                    sha256  794dbcef4b7124b8271f12eb7eea0d37b466012f11ce023f91e2e2082df11c7e
30
31if {${name} ne ${subport}} {
32    post-destroot {
33        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
34        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \
35            ${destroot}${prefix}/share/doc/${subport}
36    }
37
38} else {
39    livecheck.type  regex
40    livecheck.url   https://pypi.python.org/pypi/pyasn1-modules/
41    livecheck.regex pyasn1-modules/(\\d+(\\.\\d+)+)
42}