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

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

py{31,32,33}-crcmod: Replace with py34

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 130339 2014-12-30 03:57:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-crcmod
8version             1.7
9license             MIT
10platforms           darwin
11maintainers         nomaintainer
12
13description         Python module for creating functions computing the Cyclic Redundancy Check (CRC).
14long_description    ${description}
15
16homepage            http://crcmod.sourceforge.net/
17master_sites        sourceforge:crcmod
18distname            crcmod-${version}
19
20checksums           md5     2d5b92117d958dcead94f9e17f54cd32 \
21                    sha1    61d9fea169099b87c2e36ce572d2d25e0fd2de59 \
22                    rmd160  503b415394d7c833b22e5a999454c0d67598cd54
23
24python.versions     34
25
26if {${name} ne ${subport}} {
27    build.args-append -f
28
29    post-destroot {
30        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
31        xinstall -m 644 -W ${worksrcpath} README changelog \
32            ${destroot}${prefix}/share/doc/${subport}
33    }
34    livecheck.type  none
35} else {
36    livecheck.regex     "crcmod-(\\d+(?:\\.\\d+)*)"
37}
Note: See TracBrowser for help on using the repository browser.