Commits
reneeotten authored and Frank Schima committed 3d24990fb31
1 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 2 | |
3 3 | PortSystem 1.0 |
4 4 | PortGroup python 1.0 |
5 5 | |
6 - | set realname cogapp |
7 - | |
8 6 | name py-cog |
9 - | version 2.4 |
7 + | python.rootname cogapp |
8 + | version 2.5.1 |
9 + | revision 0 |
10 10 | platforms darwin |
11 11 | supported_archs noarch |
12 12 | license MIT |
13 13 | maintainers nomaintainer |
14 14 | |
15 15 | description Cog is a code generation tool. It lets you use pieces of Python \ |
16 16 | code as generators in your source files to generate whatever code \ |
17 17 | you need. |
18 18 | long_description ${description} |
19 19 | |
20 20 | homepage https://nedbatchelder.com/code/cog/ |
21 - | master_sites pypi:c/${realname} |
21 + | master_sites pypi:c/${python.rootname} |
22 22 | |
23 - | distname ${realname}-${version} |
23 + | distname ${python.rootname}-${version} |
24 24 | |
25 - | checksums rmd160 15e5bea87f033ceb603c95ac00b37dc7ef8fe8ad \ |
26 - | sha256 5b71a8cfd8dcfd7c408d2ab0f25a4cd546a2d03f8cd99475f775ba79a75a7ba3 |
25 + | checksums rmd160 253834c2612eca68ac38d5618716768360e830dd \ |
26 + | sha256 f8cf2288fb5a2087eb4a00d8b347ddc86e9058d4ab26b8c868433eb401adfe1c \ |
27 + | size 22226 |
27 28 | |
28 29 | python.versions 27 34 35 36 |
29 30 | |
30 31 | if {${name} ne ${subport}} { |
31 32 | post-destroot { |
32 33 | file delete ${destroot}${python.prefix}/bin/test_cog.py |
33 34 | } |
34 35 | |
35 36 | livecheck.type none |
36 - | } else { |
37 - | livecheck.regex ${realname}-(\[0-9.\]+)${extract.suffix} |
38 - | livecheck.url https://pypi.python.org/pypi/${realname} |
39 37 | } |