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

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

py=* ports, unmaintained: retire py33 subports without dependents

  • 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 150887 2016-08-01 12:58:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7set realname        cogapp
8
9name                py-cog
10version             2.4
11platforms           darwin
12supported_archs     noarch
13license             MIT
14maintainers         nomaintainer
15
16description         Cog is a code generation tool. It lets you use pieces of Python \
17                    code as generators in your source files to generate whatever code \
18                    you need.
19long_description    ${description}
20
21homepage            http://nedbatchelder.com/code/cog/
22master_sites        pypi:c/${realname}
23
24distname            ${realname}-${version}
25
26checksums           rmd160  15e5bea87f033ceb603c95ac00b37dc7ef8fe8ad \
27                    sha256  5b71a8cfd8dcfd7c408d2ab0f25a4cd546a2d03f8cd99475f775ba79a75a7ba3
28
29python.versions     27 34
30
31if {${name} ne ${subport}} {
32    post-destroot {
33        file delete ${destroot}${python.prefix}/bin/test_cog.py
34    }
35
36    livecheck.type      none
37} else {
38    livecheck.regex     ${realname}-(\[0-9.\]+)${extract.suffix}
39    livecheck.url       https://pypi.python.org/pypi/${realname}
40}
Note: See TracBrowser for help on using the repository browser.