pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-openpyxl py-openpyxl: remove et_xmlfile fr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e81ea4675921
branches:  trunk
changeset: 379537:e81ea4675921
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed May 02 10:53:26 2018 +0000

description:
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.

diffstat:

 textproc/py-openpyxl/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 87c3356dede1 -r e81ea4675921 textproc/py-openpyxl/Makefile
--- a/textproc/py-openpyxl/Makefile     Wed May 02 10:49:19 2018 +0000
+++ b/textproc/py-openpyxl/Makefile     Wed May 02 10:53:26 2018 +0000
@@ -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 @@
 
 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
 



Home | Main Index | Thread Index | Old Index