diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2021-04-15 00:58:16 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2021-04-15 00:58:55 +0000 |
| commit | f43705587fa6644212928b7eb7464a50ac8f23dc (patch) | |
| tree | f9757c55df60d429051a68b431f26ab2873cc9b6 | |
| parent | 2c60eb9e6d17f0074d8dae16e03de009575d048d (diff) | |
| download | ports-f43705587fa6644212928b7eb7464a50ac8f23dc.tar.gz ports-f43705587fa6644212928b7eb7464a50ac8f23dc.zip | |
textproc/py-feedparser: unbreak egg d950078a6163
pkg_resources.DistributionNotFound: The 'sgmllib3k' distribution was not found and is required by feedparser
PR: 250380
| -rw-r--r-- | textproc/py-feedparser/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
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} |
