[arch-commits] Commit in python-feedparser/repos/extra-any (3 files)
Date: Saturday, May 30, 2015 @ 04:55:27 Author: eric Revision: 239890 archrelease: copy trunk to extra-any Added: python-feedparser/repos/extra-any/PKGBUILD (from rev 239889, python-feedparser/trunk/PKGBUILD) Deleted: python-feedparser/repos/extra-any/PKGBUILD python-feedparser/repos/extra-any/fix-chardet-support-in-python-3.patch ---+ PKGBUILD | 122 ++-- fix-chardet-support-in-python-3.patch | 32 2 files changed, 57 insertions(+), 97 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2015-05-30 02:53:53 UTC (rev 239889) +++ PKGBUILD2015-05-30 02:55:27 UTC (rev 239890) @@ -1,65 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger e...@archlinux.org - -pkgbase=python-feedparser -pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib') -pkgver=5.1.3 -pkgrel=3 -pkgdesc=Parse RSS and Atom feeds in Python -arch=('any') -url=http://code.google.com/p/feedparser/; -license=('custom') -makedepends=('python' 'python2' 'libxml2' 'python2-setuptools' 'python-setuptools') -source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2 -fix-chardet-support-in-python-3.patch) -sha1sums=('dfe654e4babd258b1402b89e889d78330206d78c' - '18f6a1290b5d7a256b7bf3d1a41b9a7dd2706cf3') - -prepare() { - # http://code.google.com/p/feedparser/issues/detail?id=384 - # https://bugs.archlinux.org/task/33254 - patch -d feedparser-$pkgver -p1 -i \ -$srcdir/fix-chardet-support-in-python-3.patch - - chmod 644 feedparser-${pkgver}/feedparser/feedparser.egg-info/* - cp -r feedparser-${pkgver} feedparser-${pkgver}-python2 - cp -r feedparser-${pkgver} feedparser-${pkgver}-python - cp -r feedparser-${pkgver} feedparser-${pkgver}-sgmllib - - (cd feedparser-${pkgver}-python2; sed -i 's#env python$#env python2#' feedparser/feedparser.py) - (cd feedparser-${pkgver}-python; 2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py) -} - -build() { - cd feedparser-${pkgver}-sgmllib - python /usr/lib/python3.4/compileall.py feedparser/sgmllib3.py -} - -package_python2-feedparser() { - depends=('python2' 'libxml2' ) - pkgdesc=Parse RSS and Atom feeds in Python2 - - cd ${srcdir}/feedparser-${pkgver}-python2 - python2 setup.py install --root=${pkgdir} - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license -} - -package_python-feedparser() { - depends=('libxml2' 'python-sgmllib') - - cd ${srcdir}/feedparser-${pkgver}-python - python setup.py install --root=${pkgdir} - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license -} - -package_python-sgmllib() { - depends=('python') - pkgdesc=Port of sgmllib to python-3 - license=('PSF') - - 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 -} Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 239889, python-feedparser/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2015-05-30 02:55:27 UTC (rev 239890) @@ -0,0 +1,57 @@ +# $Id$ +# Maintainer: Eric Bélanger e...@archlinux.org + +pkgbase=python-feedparser +pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib') +pkgver=5.2.0 +pkgrel=1 +pkgdesc=Parse RSS and Atom feeds in Python +arch=('any') +url=https://github.com/kurtmckee/feedparser/; +license=('custom') +makedepends=('python' 'python2' 'libxml2' 'python2-setuptools' 'python-setuptools') +source=(feedparser-${pkgver}.tar.gz::https://github.com/kurtmckee/feedparser/archive/${pkgver}.tar.gz) +sha1sums=('9c58e1d2b8ee0dfc1e0bf9c82f0c2a7eba758eec') + +prepare() { + cp -r feedparser-${pkgver} feedparser-${pkgver}-python2 + cp -r feedparser-${pkgver} feedparser-${pkgver}-python + 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) +} + +build() { + cd feedparser-${pkgver}-sgmllib + python /usr/lib/python3.4/compileall.py feedparser/sgmllib3.py +} + +package_python2-feedparser() { + depends=('python2' 'libxml2' ) + pkgdesc=Parse RSS and Atom feeds in Python2 + + cd ${srcdir}/feedparser-${pkgver}-python2 + python2 setup.py install --root=${pkgdir} + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license +} + +package_python-feedparser() { + depends=('libxml2' 'python-sgmllib') + + cd ${srcdir}/feedparser-${pkgver}-python + python setup.py install --root=${pkgdir} + install -Dm644 LICENSE
[arch-commits] Commit in python-feedparser/repos/extra-any (3 files)
Date: Monday, December 31, 2012 @ 07:25:23 Author: foutrelis Revision: 173993 archrelease: copy trunk to extra-any Added: python-feedparser/repos/extra-any/PKGBUILD (from rev 173992, python-feedparser/trunk/PKGBUILD) python-feedparser/repos/extra-any/fix-chardet-support-in-python-3.patch (from rev 173992, python-feedparser/trunk/fix-chardet-support-in-python-3.patch) Deleted: python-feedparser/repos/extra-any/PKGBUILD ---+ PKGBUILD | 132 fix-chardet-support-in-python-3.patch | 32 +++ 2 files changed, 102 insertions(+), 62 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2012-12-31 12:25:10 UTC (rev 173992) +++ PKGBUILD2012-12-31 12:25:23 UTC (rev 173993) @@ -1,62 +0,0 @@ -# $Id$ -# Maintainer: Eric Bélanger e...@archlinux.org - -pkgbase=python-feedparser -pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib') -pkgver=5.1.3 -pkgrel=1 -pkgdesc=Parse RSS and Atom feeds in Python -arch=('any') -url=http://code.google.com/p/feedparser/; -license=('custom') -makedepends=('python' 'python2' 'libxml2' 'python2-distribute' 'python-distribute') -source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2) -sha1sums=('dfe654e4babd258b1402b89e889d78330206d78c') - -build() { - cd ${srcdir} - chmod 644 feedparser-${pkgver}/feedparser/feedparser.egg-info/* - cp -r feedparser-${pkgver} feedparser-${pkgver}-python2 - cp -r feedparser-${pkgver} feedparser-${pkgver}-python - cp -r feedparser-${pkgver} feedparser-${pkgver}-sgmllib - - cd feedparser-${pkgver}-python2 - sed -i 's#env python$#env python2#' feedparser/feedparser.py - cd .. - - cd feedparser-${pkgver}-python - 2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py - cd .. - - cd feedparser-${pkgver}-sgmllib - python /usr/lib/python3.3/compileall.py feedparser/sgmllib3.py -} - -package_python2-feedparser() { - depends=('python2' 'libxml2' ) - pkgdesc=Parse RSS and Atom feeds in Python2 - - cd ${srcdir}/feedparser-${pkgver}-python2 - python2 setup.py install --root=${pkgdir} - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license -} - -package_python-feedparser() { - depends=('libxml2' 'python-sgmllib') - - cd ${srcdir}/feedparser-${pkgver}-python - python setup.py install --root=${pkgdir} - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license -} - -package_python-sgmllib() { - depends=('python') - pkgdesc=Port of sgmllib to python-3 - license=('PSF') - - 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 -} Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 173992, python-feedparser/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2012-12-31 12:25:23 UTC (rev 173993) @@ -0,0 +1,70 @@ +# $Id$ +# Maintainer: Eric Bélanger e...@archlinux.org + +pkgbase=python-feedparser +pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib') +pkgver=5.1.3 +pkgrel=2 +pkgdesc=Parse RSS and Atom feeds in Python +arch=('any') +url=http://code.google.com/p/feedparser/; +license=('custom') +makedepends=('python' 'python2' 'libxml2' 'python2-distribute' 'python-distribute') +source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2 +fix-chardet-support-in-python-3.patch) +sha1sums=('dfe654e4babd258b1402b89e889d78330206d78c' + '18f6a1290b5d7a256b7bf3d1a41b9a7dd2706cf3') + +build() { + cd ${srcdir} + + # http://code.google.com/p/feedparser/issues/detail?id=384 + # https://bugs.archlinux.org/task/33254 + patch -d feedparser-$pkgver -Np1 -i \ +$srcdir/fix-chardet-support-in-python-3.patch + + chmod 644 feedparser-${pkgver}/feedparser/feedparser.egg-info/* + cp -r feedparser-${pkgver} feedparser-${pkgver}-python2 + cp -r feedparser-${pkgver} feedparser-${pkgver}-python + cp -r feedparser-${pkgver} feedparser-${pkgver}-sgmllib + + cd feedparser-${pkgver}-python2 + sed -i 's#env python$#env python2#' feedparser/feedparser.py + cd .. + + cd feedparser-${pkgver}-python + 2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py + cd .. + + cd feedparser-${pkgver}-sgmllib + python /usr/lib/python3.3/compileall.py feedparser/sgmllib3.py +} + +package_python2-feedparser() { + depends=('python2' 'libxml2' ) + pkgdesc=Parse RSS and Atom feeds in Python2 + + cd ${srcdir}/feedparser-${pkgver}-python2 + python2 setup.py install --root=${pkgdir} + install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license +} + +package_python-feedparser() { + depends=('libxml2'