pkgsrc/textproc/py-docx/Makefile
2022-07-12 07:17:34 +00:00

28 lines
888 B
Makefile

# $NetBSD: Makefile,v 1.9 2022/07/12 07:17:34 wiz Exp $
DISTNAME= python-docx-0.8.11
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-docx/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/python-openxml/python-docx
COMMENT= Python library for Microsoft Word (.docx) files
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-lxml>=2.3.2:../../textproc/py-lxml
TEST_DEPENDS+= ${PYPKGPREFIX}-behave-[0-9]*:../../devel/py-behave
TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"