py-openpyxl: remove et_xmlfile from requires.txt

et_xmlfile is only used if lxml isn't and we have dependency on py-lxml
so remove from requires.txt to keep pip happy.
This commit is contained in:
markd 2018-05-02 10:53:26 +00:00
parent 8ed2d8d008
commit f3279557b2

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.9 2018/04/23 12:01:48 adam Exp $
# $NetBSD: Makefile,v 1.10 2018/05/02 10:53:26 markd Exp $
DISTNAME= openpyxl-2.5.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/openpyxl/}
@ -16,6 +17,11 @@ DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
USE_LANGUAGES= # none
SUBST_CLASSES+= requires
SUBST_STAGE.requires= post-install
SUBST_FILES.requires= ${DESTDIR}${PREFIX}/${PYSITELIB}/${EGG_INFODIR}/requires.txt
SUBST_SED.requires= -e '/et_xmlfile/d'
post-extract:
${RM} ${WRKSRC}/openpyxl.egg-info/.DS_Store