View | Details | Raw Unified | Return to bug 250380 | Differences between
and this patch

Collapse All | Expand All

(-)b/textproc/py-feedparser/Makefile (-7 / +19 lines)
Lines 1-31 Link Here
1
# Created by: ijliao
1
# Created by: ijliao
2
2
3
PORTNAME=	feedparser
3
PORTNAME=	feedparser
4
PORTVERSION=	5.2.1
4
PORTVERSION=	6.0.2
5
CATEGORIES=	textproc python
5
CATEGORIES=	textproc python
6
MASTER_SITES=	CHEESESHOP
7
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
6
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
7
9
MAINTAINER=	sbz@FreeBSD.org
8
MAINTAINER=	sbz@FreeBSD.org
10
COMMENT=	Universal feed parser written in Python
9
COMMENT=	Universal feed parser written in Python
11
10
12
LICENSE=	BSD2CLAUSE
11
LICENSE=	BSD2CLAUSE PSFL
12
LICENSE_COMB=	multi
13
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
14
15
USES=		python:3.6+ tar:bzip2
15
USES=		python:3.6+ tar:bzip2
16
USE_PYTHON=	distutils autoplist
16
USE_PYTHON=	distutils autoplist
17
USE_GITHUB=	yes
18
19
GH_ACCOUNT=	kurtmckee
17
20
18
NO_ARCH=	yes
21
NO_ARCH=	yes
19
22
23
PORTDOCS=	NEWS README.rst
24
20
OPTIONS_DEFINE=	DOCS
25
OPTIONS_DEFINE=	DOCS
21
26
22
PORTDOCS=	NEWS README.rst
27
.include <bsd.port.pre.mk>
28
29
.if ${PYTHON_REL} > 3700
30
PLIST_FILES+=	${PYTHON_SITELIBDIR}/sgmllib.py
31
32
post-install:
33
	${INSTALL_DATA} ${FILESDIR}/sgmllib.py ${STAGEDIR}/${PYTHON_SITELIBDIR}/sgmllib.py
34
.endif
23
35
24
post-install-DOCS-on:
36
post-install-DOCS-on:
25
	${MKDIR} ${STAGEDIR}${DOCSDIR}
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
26
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
38
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
27
39
28
do-test:
40
do-test:
29
	@(cd ${WRKSRC}/${PORTNAME}; ${PYTHON_CMD} ${PORTNAME}test.py)
41
	@(cd ${WRKSRC}; ${PYTHON_CMD} tests/runtests.py)
30
42
31
.include <bsd.port.mk>
43
.include <bsd.port.post.mk>
(-)b/textproc/py-feedparser/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1464128973
1
TIMESTAMP = 1618343573
2
SHA256 (feedparser-5.2.1.tar.bz2) = ce875495c90ebd74b179855449040003a1beb40cd13d5f037a0654251e260b02
2
SHA256 (kurtmckee-feedparser-6.0.2_GH0.tar.gz) = b211cfb80c4daefca64b773ade77340727187564fad9c2c94b37da8e1f03788f
3
SIZE (feedparser-5.2.1.tar.bz2) = 192328
3
SIZE (kurtmckee-feedparser-6.0.2_GH0.tar.gz) = 251508

Return to bug 250380