[arch-commits] Commit in python-feedparser/trunk (PKGBUILD)

Allan McRae allan at archlinux.org
Tue Dec 6 02:29:49 UTC 2011


    Date: Monday, December 5, 2011 @ 21:29:49
  Author: allan
Revision: 144450

upgpkg: python-feedparser 5.1-3

fix python3 version

Modified:
  python-feedparser/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-05 22:54:28 UTC (rev 144449)
+++ PKGBUILD	2011-12-06 02:29:49 UTC (rev 144450)
@@ -6,7 +6,7 @@
 pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
 pkgbase=python-feedparser
 pkgver=5.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Parse RSS and Atom feeds in Python"
 arch=('any')
 url="http://code.google.com/p/feedparser/"
@@ -39,6 +39,10 @@
   depends=('libxml2' 'python-sgmllib')
   
   cd ${srcdir}/feedparser-$pkgver
+  
+  # this _should_ happen automatically...
+  2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py
+  
   PYTHONPATH=feedparser python setup.py install --root=${pkgdir}  
   
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license




More information about the arch-commits mailing list