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

Eric Bélanger eric at nymeria.archlinux.org
Tue Mar 18 01:04:27 UTC 2014


    Date: Tuesday, March 18, 2014 @ 02:04:27
  Author: eric
Revision: 208107

upgpkg: python-feedparser 5.1.3-3

Rebuild against python 3.4

Modified:
  python-feedparser/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-18 00:01:14 UTC (rev 208106)
+++ PKGBUILD	2014-03-18 01:04:27 UTC (rev 208107)
@@ -4,7 +4,7 @@
 pkgbase=python-feedparser
 pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
 pkgver=5.1.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Parse RSS and Atom feeds in Python"
 arch=('any')
 url="http://code.google.com/p/feedparser/"
@@ -32,7 +32,7 @@
 
 build() {
   cd feedparser-${pkgver}-sgmllib
-  python /usr/lib/python3.3/compileall.py feedparser/sgmllib3.py
+  python /usr/lib/python3.4/compileall.py feedparser/sgmllib3.py
 }
 
 package_python2-feedparser() {
@@ -59,7 +59,7 @@
   
   cd "${srcdir}/feedparser-${pkgver}-sgmllib"
   install -Dm644 feedparser/sgmllib3.py \
-    "${pkgdir}/usr/lib/python3.3/site-packages/sgmllib.py"
-  install -Dm644 feedparser/__pycache__/sgmllib3.cpython-33.pyc \
-    "${pkgdir}/usr/lib/python3.3/site-packages/__pycache__/sgmllib.cpython-33.pyc"
+    "${pkgdir}/usr/lib/python3.4/site-packages/sgmllib.py"
+  install -Dm644 feedparser/__pycache__/sgmllib3.cpython-34.pyc \
+    "${pkgdir}/usr/lib/python3.4/site-packages/__pycache__/sgmllib.cpython-34.pyc"
 }




More information about the arch-commits mailing list