pkgsrc/textproc/translate-toolkit/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

32 lines
846 B
Makefile

# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:27 wiz Exp $
DISTNAME= translate-toolkit-3.0.0
PKGREVISION= 3
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/translate-toolkit/}
MAINTAINER= rillig@NetBSD.org
HOMEPAGE= https://github.com/translate/translate
COMMENT= Tools for working with translation files
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-lxml>=4.3.2:../../textproc/py-lxml
USE_LANGUAGES= # none
USE_TOOLS+= bash:run
REPLACE_BASH+= tools/mozilla/build_firefox.sh
REPLACE_BASH+= tools/junitmsgfmt
REPLACE_BASH+= tools/posplit
REPLACE_BASH+= tools/pomigrate2
REPLACE_BASH+= tools/pocompendium
REPLACE_BASH+= tools/pocommentclean
REPLACE_BASH+= tools/poreencode
REPLACE_BASH+= tools/popuretext
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_PKG_RESOURCES= yes
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"