Files
Renee Otten 56ebd8ba7a py-pybtex: update to 0.22.2, add py38 subport
- fix setuptools dependency type
- update homepage
2020-01-25 12:46:18 -05:00

52 lines
1.9 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name py-pybtex
epoch 1
version 0.22.2
revision 0
categories-append textproc
platforms darwin
supported_archs noarch
license MIT
maintainers nomaintainer
description A BibTeX-compatible bibliography processor in Python.
long_description Pybtex reads citation information from a file and \
produces a formatted bibliography. BibTeX style files \
are supported. Alternatively it is possible to write \
styles in Python.
homepage https://pybtex.org/
checksums rmd160 b4ae9fa536ae35dc6813f5706a01276a10306f5c \
sha256 00816e5f8570609d8ce3360cd23916bd3e50428a3508127578fdb4dc2b731c1c \
size 363094
python.versions 27 36 37 38
if {${name} ne ${subport}} {
depends_lib-append port:py${python.version}-latexcodec \
port:py${python.version}-six \
port:py${python.version}-setuptools \
port:py${python.version}-yaml
depends_test-append port:py${python.version}-nose
test.run yes
test.env PYTHONPATH=${worksrcpath}/build/lib
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} CHANGES COPYING \
PKG-INFO README ${destroot}${docdir}
# make sure the "tests" directory is inside the pybtex directory so that it
# doesn't get installed into ${python.pkgd}
file rename ${destroot}/${python.pkgd}/tests ${destroot}/${python.pkgd}/${python.rootname}/tests
}
}