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

Felix Yan fyan at archlinux.org
Sat Sep 19 16:52:40 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:52:40
  Author: fyan
Revision: 246663

upgpkg: python-feedparser 5.2.0-2

rebuild for python 3.5

Modified:
  python-feedparser/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-19 16:50:41 UTC (rev 246662)
+++ PKGBUILD	2015-09-19 16:52:40 UTC (rev 246663)
@@ -4,7 +4,7 @@
 pkgbase=python-feedparser
 pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
 pkgver=5.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Parse RSS and Atom feeds in Python"
 arch=('any')
 url="https://github.com/kurtmckee/feedparser/"
@@ -24,7 +24,7 @@
 
 build() {
   cd feedparser-${pkgver}-sgmllib
-  python /usr/lib/python3.4/compileall.py feedparser/sgmllib3.py
+  python /usr/lib/python3.5/compileall.py feedparser/sgmllib3.py
 }
 
 package_python2-feedparser() {
@@ -51,7 +51,7 @@
   
   cd "${srcdir}/feedparser-${pkgver}-sgmllib"
   install -Dm644 feedparser/sgmllib3.py \
-    "${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"
+    "${pkgdir}/usr/lib/python3.5/site-packages/sgmllib.py"
+  install -Dm644 feedparser/__pycache__/sgmllib3.cpython-35.pyc \
+    "${pkgdir}/usr/lib/python3.5/site-packages/__pycache__/sgmllib.cpython-35.pyc"
 }



More information about the arch-commits mailing list