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

Last change on this file was 150724, checked in by petr@…, 14 months ago

various py-* ports, nomaintainer: retire py26 subport for ports without dependents

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
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: Portfile 150724 2016-07-27 20:07:24Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-asn1
8epoch               1
9version             0.1.9
10categories-append   devel crypto
11license             BSD
12maintainers         nomaintainer
13
14description         Implementation of ASN.1 types and codecs in Python
15
16long_description    This project is dedicated to implementation of ASN.1 \
17                    types (concrete syntax) and codecs (transfer syntaxes) \
18                    for Python programming environment.
19
20python.versions     27 34 35
21
22platforms           darwin
23supported_archs     noarch
24
25homepage            http://pyasn1.sourceforge.net/
26master_sites        sourceforge:project/pyasn1/pyasn1/${version}
27distname            pyasn1-${version}
28
29checksums           rmd160  b7b2886d1050c79518db8d078cb0735a1e064508 \
30                    sha256  853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f
31
32if {${name} ne ${subport}} {
33    post-destroot {
34        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
35        xinstall -m 644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt THANKS.txt TODO.txt \
36            ${destroot}${prefix}/share/doc/${subport}
37        xinstall -m 644 -W ${worksrcpath}/doc pyasn1-tutorial.html \
38            ${destroot}${prefix}/share/doc/${subport}
39    }
40
41} else {
42    livecheck.type  regex
43    livecheck.url   http://sourceforge.net/project/showfiles.php?group_id=93839&package_id=148920
44    livecheck.regex pyasn1-(\[-.0-9a-zA-Z_\]+)\\.tar\\.gz
45}
Note: See TracBrowser for help on using the repository browser.