67e1f1a6bf
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.
23 lines
629 B
Makefile
23 lines
629 B
Makefile
# $NetBSD: Makefile,v 1.58 2022/01/05 15:41:24 wiz Exp $
|
|
|
|
DISTNAME= html2text-2020.1.16
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 2
|
|
CATEGORIES= textproc converters python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=h/html2text/}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://github.com/Alir3z4/html2text
|
|
COMMENT= Convert HTML into easy-to-read plain ASCII text
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_LANGUAGES= # none
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && ${MV} html2text html2text-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|