Commits
reneeotten authored and Perry E. Metzger committed f3e521b9a55
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 6 | name py-latexcodec |
7 - | version 1.0.5 |
7 + | version 1.0.6 |
8 + | revision 0 |
8 9 | categories-append textproc |
9 10 | platforms darwin |
10 11 | license MIT |
11 12 | maintainers nomaintainer |
12 13 | |
13 14 | description A lexer and codec to work with LaTeX code in Python. |
14 15 | long_description ${description} |
15 16 | |
16 17 | homepage https://github.com/mcmtroffaes/latexcodec |
17 18 | master_sites pypi:l/latexcodec |
18 19 | distname latexcodec-${version} |
19 20 | |
20 - | checksums rmd160 81c9520c8292479e38c066dfd516a016916a74e7 \ |
21 - | sha256 9607d9d260654eb607c54a8b8c991e4406008605c383ded4f4034522dc0bad7d \ |
22 - | size 26177 |
21 + | checksums rmd160 7d3eb7df5d79639df55e16e93df7b516e45cafa7 \ |
22 + | sha256 01ad6b8d99606bb902f94269d6a14597000d220885781087bc880a0ede6a9c68 \ |
23 + | size 26756 |
23 24 | |
24 25 | python.versions 27 36 37 |
25 26 | |
26 27 | if {${name} ne ${subport}} { |
27 28 | depends_build-append \ |
28 29 | port:py${python.version}-setuptools |
29 30 | depends_lib-append \ |
30 31 | port:py${python.version}-six |
31 32 | |
33 + | depends_test-append \ |
34 + | port:py${python.version}-nose |
35 + | test.run yes |
36 + | test.cmd nosetests-${python.branch} |
37 + | test.target |
38 + | test.env PYTHONPATH=${worksrcpath}/build/lib |
39 + | |
40 + | post-destroot { |
41 + | set docdir ${prefix}/share/doc/${subport} |
42 + | xinstall -d ${destroot}${docdir} |
43 + | xinstall -m 0644 -W ${worksrcpath} AUTHORS.rst CHANGELOG.rst \ |
44 + | INSTALL.rst LICENSE.rst README.rst ${destroot}${docdir} |
45 + | } |
46 + | |
32 47 | livecheck.type none |
33 - | } else { |
34 - | livecheck.type pypi |
35 48 | } |