Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 00:59:12 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f43705587fa6 - main - textproc/py-feedparser: unbreak egg d950078a6163
Message-ID:  <202104150059.13F0xC88063133@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f43705587fa6644212928b7eb7464a50ac8f23dc

commit f43705587fa6644212928b7eb7464a50ac8f23dc
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-04-15 00:58:16 +0000
Commit:     Jan Beich <jbeich@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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104150059.13F0xC88063133>