pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-feedparser5
Module Name: pkgsrc
Committed By: wiz
Date: Mon Dec 6 15:11:25 UTC 2021
Modified Files:
pkgsrc/textproc/py-feedparser5: Makefile distinfo
Added Files:
pkgsrc/textproc/py-feedparser5/patches: patch-setup.py
Log Message:
py-feedparser5: fix build with latest setuptools.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/py-feedparser5/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/py-feedparser5/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-feedparser5/patches/patch-setup.py
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-feedparser5/Makefile
diff -u pkgsrc/textproc/py-feedparser5/Makefile:1.2 pkgsrc/textproc/py-feedparser5/Makefile:1.3
--- pkgsrc/textproc/py-feedparser5/Makefile:1.2 Thu Aug 19 19:21:00 2021
+++ pkgsrc/textproc/py-feedparser5/Makefile Mon Dec 6 15:11:25 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2021/08/19 19:21:00 nia Exp $
+# $NetBSD: Makefile,v 1.3 2021/12/06 15:11:25 wiz Exp $
DISTNAME= feedparser-5.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -15,6 +15,13 @@ PREV_PKGPATH= textproc/py-feedparser
USE_LANGUAGES= #none
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYPKGPREFIX} != "py27"
+pre-build:
+ cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs feedparser/f*py
+.endif
+
do-test:
cd ${WRKSRC}/feedparser && ${PYTHONBIN} feedparsertest.py
Index: pkgsrc/textproc/py-feedparser5/distinfo
diff -u pkgsrc/textproc/py-feedparser5/distinfo:1.4 pkgsrc/textproc/py-feedparser5/distinfo:1.5
--- pkgsrc/textproc/py-feedparser5/distinfo:1.4 Tue Oct 26 11:23:03 2021
+++ pkgsrc/textproc/py-feedparser5/distinfo Mon Dec 6 15:11:25 2021
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:23:03 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/12/06 15:11:25 wiz Exp $
BLAKE2s (feedparser-5.2.1.tar.gz) = 9afc4315f5467ee09ecde96150a7ac5f3f2095ed5253add34a991b61120f1ad6
SHA512 (feedparser-5.2.1.tar.gz) = 1fd0c4324e2eff8ef4b15e3793c767290bca562af4a5056fdbdfa12411095530c87a113bb1b9757e532ff63aecb399b18f1e6b753884798eb6b8d3fdf575af81
Size (feedparser-5.2.1.tar.gz) = 252956 bytes
SHA1 (patch-feedparser_feedparser.py) = dd96707b0a85cd0d2f40dea2e7cd14f3235a905c
+SHA1 (patch-setup.py) = 05ba2bb1fe9b7c83f59e5c678088f692d795ccd8
Added files:
Index: pkgsrc/textproc/py-feedparser5/patches/patch-setup.py
diff -u /dev/null pkgsrc/textproc/py-feedparser5/patches/patch-setup.py:1.1
--- /dev/null Mon Dec 6 15:11:25 2021
+++ pkgsrc/textproc/py-feedparser5/patches/patch-setup.py Mon Dec 6 15:11:25 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2021/12/06 15:11:25 wiz Exp $
+
+Fix build with latest setuptools.
+
+--- setup.py.orig 2015-07-24 05:00:04.000000000 +0000
++++ setup.py
+@@ -2,8 +2,6 @@ from setuptools import setup
+ import sys
+
+ extra = {}
+-if sys.version_info >= (3, ):
+- extra['use_2to3'] = True
+
+ setup(
+ name = 'feedparser',
Home |
Main Index |
Thread Index |
Old Index