pkgsrc/textproc/py-pybtex/Makefile
wiz 67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
2022-01-05 15:40:56 +00:00

29 lines
854 B
Makefile

# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:26 wiz Exp $
DISTNAME= pybtex-0.24.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 2
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
USE_PKG_RESOURCES= yes
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"