[arch-commits] Commit in python-feedparser/repos/extra-any (PKGBUILD PKGBUILD)
Eric Bélanger
eric at archlinux.org
Sun Dec 16 06:31:50 UTC 2012
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
===================================================================
--- PKGBUILD 2012-12-16 06:31:30 UTC (rev 173246)
+++ PKGBUILD 2012-12-16 06:31:49 UTC (rev 173247)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Eric Bélanger <eric at 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)
+++ PKGBUILD 2012-12-16 06:31:49 UTC (rev 173247)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at 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"
+}
More information about the arch-commits
mailing list