[arch-commits] Commit in python-feedparser/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Sat Dec 3 00:00:53 UTC 2011
Date: Friday, December 2, 2011 @ 19:00:53
Author: allan
Revision: 144076
upgpkg: python-feedparser 5.1-1
upstream update
Modified:
python-feedparser/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-12-02 23:05:11 UTC (rev 144075)
+++ PKGBUILD 2011-12-03 00:00:53 UTC (rev 144076)
@@ -5,17 +5,16 @@
# Note: python2 version must be built first as packaging python3 version "destroys" the source
pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
pkgbase=python-feedparser
-pkgver=5.0.1
-pkgrel=3
+pkgver=5.1
+pkgrel=1
pkgdesc="Parse RSS and Atom feeds in Python"
arch=('any')
-url="http://feedparser.sf.net"
+url="http://code.google.com/p/feedparser/"
license=('custom')
-makedepends=('python' 'python2' 'libxml2' )
+makedepends=('python' 'python2' 'libxml2' 'python2-distribute' 'python-distribute')
source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2)
-md5sums=('702835de74bd4a578524f311e62c2877')
+md5sums=('bf6ab23038f310eb32734125719c15a2')
-
package_python2-feedparser() {
depends=('python2' 'libxml2' )
pkgdesc="Parse RSS and Atom feeds in Python2"
@@ -33,7 +32,6 @@
depends=('libxml2' 'python-sgmllib')
cd ${srcdir}/feedparser-$pkgver
- . convert_to_py3.sh
PYTHONPATH=feedparser python setup.py install --root=${pkgdir}
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
@@ -45,7 +43,7 @@
license=('PSF')
cd ${srcdir}/feedparser-$pkgver
- install -Dm644 feedparser/sgmllib.py \
+ install -Dm644 feedparser/sgmllib3.py \
${pkgdir}/usr/lib/python3.2/site-packages/sgmllib.py
python /usr/lib/python3.2/compileall.py \
More information about the arch-commits
mailing list