Commits
Renee Otten authored d500f13f6eb
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 | PortGroup github 1.0 |
6 6 | |
7 - | github.setup rocky python-filecache 0.3.1 release- |
7 + | github.setup rocky python-filecache 1.0.0 release- |
8 + | revision 0 |
8 9 | name py-pyficache |
10 + | |
9 11 | platforms darwin |
10 12 | supported_archs noarch |
11 13 | license GPL-3+ |
12 14 | maintainers nomaintainer |
13 15 | |
14 16 | description A Python module to read and cache lines and file \ |
15 17 | info of a Python program |
16 18 | long_description The pyficache module allows one to get any line \ |
17 19 | from any file, caching lines of the file on first \ |
18 20 | access to the file. Although the file may be any \ |
19 21 | file, the common use is when the file is a Python \ |
20 22 | script since parsing of the file is done to figure \ |
21 23 | out where the statement boundaries are. |
22 24 | |
23 - | checksums rmd160 b09c67d7b94c891cf077f7ed9e87f7247c015923 \ |
24 - | sha256 d508736331fc559e15f922f7850fcb10c67c5a17869241f90d947f5ab9058ab5 |
25 + | checksums rmd160 b1f950c3ee5a043ed26795f331fb10f7a2455eaa \ |
26 + | sha256 8db3241a6648fd3ac478daa19786d722e8f6eaa3f5158af28c3ff86cfef34b1e \ |
27 + | size 43907 |
25 28 | |
26 - | python.versions 27 34 35 36 |
29 + | python.versions 27 35 36 37 38 |
27 30 | |
28 31 | if {${subport} ne ${name}} { |
29 - | depends_lib-append port:py${python.version}-coverage \ |
30 - | port:py${python.version}-pygments |
31 - | livecheck.type none |
32 + | depends_build-append \ |
33 + | port:py${python.version}-setuptools |
34 + | |
35 + | depends_lib-append \ |
36 + | port:py${python.version}-coverage \ |
37 + | port:py${python.version}-pygments |
38 + | |
39 + | depends_lib-append \ |
40 + | port:py${python.version}-nose |
41 + | |
42 + | test.run yes |
43 + | test.env PYTHONPATH=${worksrcpath}/build/lib |
44 + | |
45 + | post-destroot { |
46 + | set docdir ${prefix}/share/doc/${subport} |
47 + | xinstall -d ${destroot}${docdir} |
48 + | xinstall -m 0644 -W ${worksrcpath} COPYING ChangeLog \ |
49 + | NEWS README.rst ${destroot}${docdir} |
50 + | } |
51 + | |
52 + | livecheck.type none |
32 53 | } |