aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2012-07-04 03:13:34 +0800
committersbz <sbz@FreeBSD.org>2012-07-04 03:13:34 +0800
commit8730dc3aeb1d0692ddd8b4c86ba8bec03c2cfb5d (patch)
tree0cbd7dd007492ecac752da553fb4dd867bd6e2f2
parent45127ce9d68a40226a27f2915f2d892aad34cb9e (diff)
downloadfreebsd-ports-gnome-8730dc3aeb1d0692ddd8b4c86ba8bec03c2cfb5d.tar.gz
freebsd-ports-gnome-8730dc3aeb1d0692ddd8b4c86ba8bec03c2cfb5d.tar.zst
freebsd-ports-gnome-8730dc3aeb1d0692ddd8b4c86ba8bec03c2cfb5d.zip
- Update to 5.1.2
- Make happy portlint
-rw-r--r--textproc/py-feedparser/Makefile12
-rw-r--r--textproc/py-feedparser/distinfo4
-rw-r--r--textproc/py-feedparser/files/patch-setup.py8
3 files changed, 16 insertions, 8 deletions
diff --git a/textproc/py-feedparser/Makefile b/textproc/py-feedparser/Makefile
index d336fd92d3d4..904ac2d56cce 100644
--- a/textproc/py-feedparser/Makefile
+++ b/textproc/py-feedparser/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= feedparser
-PORTVERSION= 5.0.1
+PORTVERSION= 5.1.2
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,16 +15,16 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sbz@FreeBSD.org
COMMENT= An RSS feed parser written in Python
-RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
-
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
+RUN_DEPENDS= ${PYTHON_SITELIBDIR}/chardet/__init__.py:${PORTSDIR}/textproc/py-chardet
+
USE_PYTHON= yes
USE_BZIP2= yes
USE_PYDISTUTILS= yes
-PORTDOCS= NEWS PKG-INFO README README-PYTHON3 README-TESTS
+PORTDOCS= NEWS PKG-INFO README
post-install:
.if !defined(NOPORTDOCS)
@@ -32,7 +32,7 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
-#regression-test:
-# @(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} ${PORTNAME}test.py)
+regression-test:
+ @(cd ${WRKSRC}/${PORTNAME} && ${PYTHON_CMD} ${PORTNAME}test.py)
.include <bsd.port.mk>
diff --git a/textproc/py-feedparser/distinfo b/textproc/py-feedparser/distinfo
index ac0897e8d753..2cd5be795d32 100644
--- a/textproc/py-feedparser/distinfo
+++ b/textproc/py-feedparser/distinfo
@@ -1,2 +1,2 @@
-SHA256 (feedparser-5.0.1.tar.bz2) = 57fe918773969eb20fb7b94ab1ae5d3b7eb4a8ce29f49ebc3766fa7f6a4974cb
-SIZE (feedparser-5.0.1.tar.bz2) = 204146
+SHA256 (feedparser-5.1.2.tar.bz2) = b7773afb41481add990539baeb0e441811ec48cb8c1b6c2911cabbe9c5d9d1d0
+SIZE (feedparser-5.1.2.tar.bz2) = 199404
diff --git a/textproc/py-feedparser/files/patch-setup.py b/textproc/py-feedparser/files/patch-setup.py
new file mode 100644
index 000000000000..53a4b95b3811
--- /dev/null
+++ b/textproc/py-feedparser/files/patch-setup.py
@@ -0,0 +1,8 @@
+--- ./setup.py.orig 2012-07-03 15:02:11.000000000 +0200
++++ ./setup.py 2012-07-03 15:03:10.000000000 +0200
+@@ -1,4 +1,4 @@
+-from setuptools import setup
++from distutils.core import setup
+ import sys
+
+ extra = {}