git: f43705587fa6 - main - textproc/py-feedparser: unbreak egg d950078a6163
Jan Beich
jbeich at FreeBSD.org
Thu Apr 15 00:59:13 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f43705587fa6644212928b7eb7464a50ac8f23dc
commit f43705587fa6644212928b7eb7464a50ac8f23dc
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-04-15 00:58:16 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-04-15 00:58:55 +0000
textproc/py-feedparser: unbreak egg d950078a6163
pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not found and is required by feedparser
PR: 250380
---
textproc/py-feedparser/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile
index cb8d06bf85d8..692d5a3c458a 100644
--- a/textproc/py-feedparser/Makefile
+++ b/textproc/py-feedparser/Makefile
@@ -2,6 +2,7 @@
PORTNAME= feedparser
PORTVERSION= 6.0.2
+PORTREVISION= 1
CATEGORIES= textproc python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -33,6 +34,9 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/sgmllib.py ${STAGEDIR}/${PYTHON_SITELIBDIR}/sgmllib.py
.endif
+post-patch:
+ @${REINPLACE_CMD} '/sgmllib3k/d' ${WRKSRC}/setup.py
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
More information about the dev-commits-ports-all
mailing list