a19a50f943
Version 0.22.0 Fixed handling of duplicate fields in .bib biles. BibTeX parser is now up to 10% faster on some files. Fixed parsing of names with \~ characters. Fixed formatting proceedings without an editor field in unsrt.py. In case of too many braces in a BibTeX string, PybtexSyntaxError is now raised instead of RecursionError. Dropped 2to3, made the code compatible with both Python 2 and 3 with Six. Moved tests outside of the pybtex package. Fixed searching in docs with recent versions of Sphinx. API: renamed bibtex.BibTeXEntryIterator to bibtex.LowLevelParser for clarity. API: removed confusing usage of Person.text in tempate.names. API: Entry.fields does not automagically look for cross-referenced entries anymore.
26 lines
819 B
Makefile
26 lines
819 B
Makefile
# $NetBSD: Makefile,v 1.4 2018/12/13 20:45:49 adam Exp $
|
|
|
|
DISTNAME= pybtex-0.22.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pybtex/}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://pybtex.org/
|
|
COMMENT= BibTeX-compatible bibliography processor written in Python
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-latexcodec>=1.0.4:../../print/py-latexcodec
|
|
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
|
|
DEPENDS+= ${PYPKGPREFIX}-yaml>=3.01:../../textproc/py-yaml
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pybtex pybtex-${PYVERSSUFFIX} && \
|
|
${MV} pybtex-convert pybtex-convert-${PYVERSSUFFIX} && \
|
|
${MV} pybtex-format pybtex-format-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|