[arch-commits] Commit in python-feedparser/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sun Jul 8 19:38:37 UTC 2018
Date: Sunday, July 8, 2018 @ 19:38:37
Author: foutrelis
Revision: 328111
Python 3.7 rebuild
Modified:
python-feedparser/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-08 19:38:05 UTC (rev 328110)
+++ PKGBUILD 2018-07-08 19:38:37 UTC (rev 328111)
@@ -4,7 +4,7 @@
pkgbase=python-feedparser
pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
pkgver=5.2.1
-pkgrel=2
+pkgrel=3
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.6/compileall.py feedparser/sgmllib3.py
+ python /usr/lib/python3.7/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.6/site-packages/sgmllib.py"
+ "${pkgdir}/usr/lib/python3.7/site-packages/sgmllib.py"
install -Dm644 feedparser/__pycache__/sgmllib3.cpython-37.pyc \
- "${pkgdir}/usr/lib/python3.6/site-packages/__pycache__/sgmllib.cpython-37.pyc"
+ "${pkgdir}/usr/lib/python3.7/site-packages/__pycache__/sgmllib.cpython-37.pyc"
}
More information about the arch-commits
mailing list