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

2015-10-21 Thread Eric Bélanger
Date: Thursday, October 22, 2015 @ 04:37:48
  Author: eric
Revision: 249641

archrelease: copy trunk to extra-any

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

--+
 PKGBUILD |  114 ++---
 1 file changed, 57 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2015-10-22 02:36:22 UTC (rev 249640)
+++ PKGBUILD2015-10-22 02:37:48 UTC (rev 249641)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger 
-
-pkgbase=python-feedparser
-pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
-pkgver=5.2.0
-pkgrel=2
-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.5/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 Python3"
-  license=('PSF')
-  
-  cd "${srcdir}/feedparser-${pkgver}-sgmllib"
-  install -Dm644 feedparser/sgmllib3.py \
-"${pkgdir}/usr/lib/python3.5/site-packages/sgmllib.py"
-  install -Dm644 feedparser/__pycache__/sgmllib3.cpython-35.pyc \
-
"${pkgdir}/usr/lib/python3.5/site-packages/__pycache__/sgmllib.cpython-35.pyc"
-}

Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 249640, 
python-feedparser/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2015-10-22 02:37:48 UTC (rev 249641)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Eric Bélanger 
+
+pkgbase=python-feedparser
+pkgname=('python2-feedparser' 'python-feedparser' 'python-sgmllib')
+pkgver=5.2.1
+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=('13c9a17f821e46ba9a34d8777e0ae47a6eb86de4')
+
+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.5/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 Python3"
+  license=('PSF')
+  
+  cd "${srcdir}/feedparser-${pkgver}-sgmllib"
+  install -Dm644 feedparser/sgmllib3.py \
+"${pkgdir}/usr/lib/python3.5/site-packages/sgmllib.py"
+  install -Dm644 feedparser/__pycache__/sgmllib3.cpython-35.pyc \
+
"${pkgdir}/usr/lib/python3.5/site-packages/__pycache__/sgmllib.cpython-35.pyc"
+}



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

2012-12-15 Thread Eric Bélanger
Date: Sunday, December 16, 2012 @ 01:31:49
  Author: eric
Revision: 173247

archrelease: copy trunk to extra-any

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

--+
 PKGBUILD |  124 ++---
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2012-12-16 06:31:30 UTC (rev 173246)
+++ PKGBUILD2012-12-16 06:31:49 UTC (rev 173247)
@@ -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.2
-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)
-md5sums=('9f88692c7c1af1d47839eb2025984975')
-
-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 173246, 
python-feedparser/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2012-12-16 06:31:49 UTC (rev 173247)
@@ -0,0 +1,62 @@
+# $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 \
+

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

2012-05-04 Thread Allan McRae
Date: Friday, May 4, 2012 @ 20:26:09
  Author: allan
Revision: 158582

archrelease: copy trunk to extra-any

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

--+
 PKGBUILD |  124 ++---
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2012-05-05 00:25:38 UTC (rev 158581)
+++ PKGBUILD2012-05-05 00:26:09 UTC (rev 158582)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Simo Leone neot...@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.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=('b6606f7cdf076f2f6ea6cb19b86cc589')
-
-build() {
-  cd ${srcdir}/feedparser-$pkgver
-  
-  # files get installed with (incorrect) permissions in the tarball...
-  chmod 644 feedparser/feedparser.egg-info/*
-}
-
-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
-  
-  # this _should_ happen automatically...
-  2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py
-  
-  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/
-}

Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 158581, 
python-feedparser/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2012-05-05 00:26:09 UTC (rev 158582)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Simo Leone neot...@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.2
+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=('9f88692c7c1af1d47839eb2025984975')
+
+build() {
+  cd ${srcdir}/feedparser-$pkgver
+  
+  # files get installed with (incorrect) permissions in the tarball...
+  chmod 644 feedparser/feedparser.egg-info/*
+}
+
+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
+  
+  # this _should_ happen automatically...
+  2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py
+  
+  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/
+}



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

2012-03-20 Thread Allan McRae
Date: Tuesday, March 20, 2012 @ 21:36:41
  Author: allan
Revision: 153946

archrelease: copy trunk to extra-any

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

--+
 PKGBUILD |  124 ++---
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2012-03-21 01:28:46 UTC (rev 153945)
+++ PKGBUILD2012-03-21 01:36:41 UTC (rev 153946)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Simo Leone neot...@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=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-distribute' 
'python-distribute')
-source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2)
-md5sums=('bf6ab23038f310eb32734125719c15a2')
-
-build() {
-  cd ${srcdir}/feedparser-$pkgver
-  
-  # files get installed with (incorrect) permissions in the tarball...
-  chmod 644 feedparser/feedparser.egg-info/*
-}
-
-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
-  
-  # this _should_ happen automatically...
-  2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py
-  
-  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/
-}

Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 153945, 
python-feedparser/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2012-03-21 01:36:41 UTC (rev 153946)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Simo Leone neot...@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.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=('b6606f7cdf076f2f6ea6cb19b86cc589')
+
+build() {
+  cd ${srcdir}/feedparser-$pkgver
+  
+  # files get installed with (incorrect) permissions in the tarball...
+  chmod 644 feedparser/feedparser.egg-info/*
+}
+
+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
+  
+  # this _should_ happen automatically...
+  2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py
+  
+  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/
+}



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

2011-12-05 Thread Allan McRae
Date: Monday, December 5, 2011 @ 21:30:44
  Author: allan
Revision: 144451

archrelease: copy trunk to extra-any

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

--+
 PKGBUILD |  120 +++--
 1 file changed, 62 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2011-12-06 02:29:49 UTC (rev 144450)
+++ PKGBUILD2011-12-06 02:30:44 UTC (rev 144451)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Simo Leone neot...@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=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)
-md5sums=('bf6ab23038f310eb32734125719c15a2')
-
-build() {
-  cd ${srcdir}/feedparser-$pkgver
-  
-  # files get installed with (incorrect) permissions in the tarball...
-  chmod 644 feedparser/feedparser.egg-info/*
-}
-
-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/
-}

Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 144450, 
python-feedparser/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2011-12-06 02:30:44 UTC (rev 144451)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Simo Leone neot...@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=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-distribute' 
'python-distribute')
+source=(http://feedparser.googlecode.com/files/feedparser-${pkgver}.tar.bz2)
+md5sums=('bf6ab23038f310eb32734125719c15a2')
+
+build() {
+  cd ${srcdir}/feedparser-$pkgver
+  
+  # files get installed with (incorrect) permissions in the tarball...
+  chmod 644 feedparser/feedparser.egg-info/*
+}
+
+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
+  
+  # this _should_ happen automatically...
+  2to3 -w feedparser/feedparser.py feedparser/feedparsertest.py
+  
+  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/
+}



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

2011-12-04 Thread Allan McRae
Date: Sunday, December 4, 2011 @ 19:37:08
  Author: allan
Revision: 144354

archrelease: copy trunk to extra-any

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

--+
 PKGBUILD |  109 -
 1 file changed, 58 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2011-12-05 00:36:24 UTC (rev 144353)
+++ PKGBUILD2011-12-05 00:37:08 UTC (rev 144354)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Simo Leone neot...@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/
-}

Copied: python-feedparser/repos/extra-any/PKGBUILD (from rev 144353, 
python-feedparser/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2011-12-05 00:37:08 UTC (rev 144354)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Simo Leone neot...@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=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)
+md5sums=('bf6ab23038f310eb32734125719c15a2')
+
+build() {
+  cd ${srcdir}/feedparser-$pkgver
+  
+  # files get installed with (incorrect) permissions in the tarball...
+  chmod 644 feedparser/feedparser.egg-info/*
+}
+
+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/
+}



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

2011-12-02 Thread Allan McRae
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
===
--- PKGBUILD2011-12-03 00:00:53 UTC (rev 144076)
+++ PKGBUILD2011-12-03 00:01:45 UTC (rev 144077)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Allan McRae al...@archlinux.org
-# Contributor: Simo Leone neot...@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)
+++ PKGBUILD2011-12-03 00:01:45 UTC (rev 144077)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Allan McRae al...@archlinux.org
+# Contributor: Simo Leone neot...@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/
+}