summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules/python-feedparser
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-09-06 16:35:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-09-06 16:35:27 (GMT)
commit5669815ec3a539cf7b5ac7d8da2cbba3aeff44be (patch)
treef13051093a52f47f5954c2ee2a783bc2f0f62f96 /abs/core/python_modules/python-feedparser
parent8d35f28049488f2585ef765bf48e7a58958fd587 (diff)
parent04697136037cb5341ee6c051f8aaa265c0400c82 (diff)
downloadlinhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.zip
linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.gz
linhes_pkgbuild-5669815ec3a539cf7b5ac7d8da2cbba3aeff44be.tar.bz2
Merge branch 'testing'
Diffstat (limited to 'abs/core/python_modules/python-feedparser')
-rw-r--r--abs/core/python_modules/python-feedparser/PKGBUILD17
-rw-r--r--abs/core/python_modules/python-feedparser/__changelog1
2 files changed, 8 insertions, 10 deletions
diff --git a/abs/core/python_modules/python-feedparser/PKGBUILD b/abs/core/python_modules/python-feedparser/PKGBUILD
index 6e21842..ab2cb73 100644
--- a/abs/core/python_modules/python-feedparser/PKGBUILD
+++ b/abs/core/python_modules/python-feedparser/PKGBUILD
@@ -2,15 +2,14 @@
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgbase=python-feedparser
-#pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
-pkgname=('python2-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/"
license=('custom')
-makedepends=('python2' 'libxml2' 'python2-setuptools')
+makedepends=('python' 'python2' 'libxml2' 'python2-setuptools' 'python-setuptools')
source=(feedparser-${pkgver}.tar.gz::https://github.com/kurtmckee/feedparser/archive/${pkgver}.tar.gz)
sha1sums=('13c9a17f821e46ba9a34d8777e0ae47a6eb86de4')
@@ -20,13 +19,13 @@ prepare() {
cp -r feedparser-${pkgver} feedparser-${pkgver}-sgmllib
(cd feedparser-${pkgver}-python2; sed -i 's#env python$#env python2#' feedparser/feedparsertest.py)
-# (cd feedparser-${pkgver}-python; 2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py)
+ (cd feedparser-${pkgver}-python; 2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py)
}
-#build() {
-# cd feedparser-${pkgver}-sgmllib
-# python /usr/lib/python3.6/compileall.py feedparser/sgmllib3.py
-#}
+build() {
+ cd feedparser-${pkgver}-sgmllib
+ python /usr/lib/python3.6/compileall.py feedparser/sgmllib3.py
+}
package_python2-feedparser() {
depends=('python2' 'libxml2' )
diff --git a/abs/core/python_modules/python-feedparser/__changelog b/abs/core/python_modules/python-feedparser/__changelog
deleted file mode 100644
index c6e1e55..0000000
--- a/abs/core/python_modules/python-feedparser/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-PKGBUILD: don't build py 3 stuff