You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-03-30 11:29:27 -07:00
693eb88e36
- add noarch
51 lines
1.5 KiB
Tcl
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
|
|
}
|