Files
2020-01-25 12:50:33 -05:00

51 lines
1.5 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-latexcodec
version 2.0.0
revision 0
categories-append textproc
platforms darwin
supported_archs noarch
license MIT
maintainers nomaintainer
description A lexer and codec to work with LaTeX code in Python.
long_description ${description}
homepage https://github.com/mcmtroffaes/latexcodec
checksums rmd160 a57bdc4627620ad5a6eacbfdd9bf50f79472ab14 \
sha256 cd3f649d489169ed593f9466ef6ba485e694f6871d9696601e78307b5b84df5f \
size 29919
python.versions 27 36 37 38
if {${name} ne ${subport}} {
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append \
port:py${python.version}-six
depends_test-append \
port:py${python.version}-pytest
test.run yes
test.cmd py.test-${python.branch}
test.target
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} AUTHORS.rst CHANGELOG.rst \
INSTALL.rst LICENSE.rst README.rst ${destroot}${docdir}
}
livecheck.type none
}