[arch-commits] Commit in python-feedparser/repos/extra-any (PKGBUILD PKGBUILD)

Allan McRae allan at archlinux.org
Sat Dec 3 00:01:46 UTC 2011


    Date: Friday, December 2, 2011 @ 19:01:45
  Author: allan
Revision: 144077

archrelease: copy trunk to extra-any

Added:
  python-feedparser/repos/extra-any/PKGBUILD
    (from rev 144076, python-feedparser/trunk/PKGBUILD)
Deleted:
  python-feedparser/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |  104 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 51 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2011-12-03 00:00:53 UTC (rev 144076)
+++ PKGBUILD	2011-12-03 00:01:45 UTC (rev 144077)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae <allan at archlinux.org>
-# Contributor: Simo Leone <neotuli at gmail.com>
-
-# 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
-pkgdesc="Parse RSS and Atom feeds in Python"
-arch=('any')
-url="http://feedparser.sf.net"
-license=('custom')
-makedepends=('python' 'python2' 'libxml2' )
-source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2)
-md5sums=('702835de74bd4a578524f311e62c2877')
-
-
-package_python2-feedparser() {
-  depends=('python2' 'libxml2' )
-  pkgdesc="Parse RSS and Atom feeds in Python2"
-
-  cd ${srcdir}/feedparser-$pkgver
-  python2 setup.py install --root=${pkgdir}
-  
-  sed -i 's#env python$#env python2#' \
-    $pkgdir/usr/lib/python2.7/site-packages/feedparser.py
-  
-  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
-}
-
-package_python-feedparser() {
-  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
-}
-
-package_python-sgmllib() {
-  depends=('python')
-  pkgdesc="Port of sgmllib to python-3"
-  license=('PSF')
-  
-  cd ${srcdir}/feedparser-$pkgver
-  install -Dm644 feedparser/sgmllib.py \
-    ${pkgdir}/usr/lib/python3.2/site-packages/sgmllib.py
-  
-  python /usr/lib/python3.2/compileall.py \
-    ${pkgdir}/usr/lib/python3.2/site-packages/
-}

Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 144076, python-feedparser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2011-12-03 00:01:45 UTC (rev 144077)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae <allan at archlinux.org>
+# Contributor: Simo Leone <neotuli at gmail.com>
+
+# 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.1
+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)
+md5sums=('bf6ab23038f310eb32734125719c15a2')
+
+package_python2-feedparser() {
+  depends=('python2' 'libxml2' )
+  pkgdesc="Parse RSS and Atom feeds in Python2"
+
+  cd ${srcdir}/feedparser-$pkgver
+  python2 setup.py install --root=${pkgdir}
+  
+  sed -i 's#env python$#env python2#' \
+    $pkgdir/usr/lib/python2.7/site-packages/feedparser.py
+  
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
+}
+
+package_python-feedparser() {
+  depends=('libxml2' 'python-sgmllib')
+  
+  cd ${srcdir}/feedparser-$pkgver
+  PYTHONPATH=feedparser 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
+  install -Dm644 feedparser/sgmllib3.py \
+    ${pkgdir}/usr/lib/python3.2/site-packages/sgmllib.py
+  
+  python /usr/lib/python3.2/compileall.py \
+    ${pkgdir}/usr/lib/python3.2/site-packages/
+}




More information about the arch-commits mailing list