From 273fcce9590bc02bbe7edd1d7e5a28767533d21a Mon Sep 17 00:00:00 2001 From: "Adrian Chaves Fernandez (Gallaecio)" Date: Thu, 30 Aug 2012 11:30:04 +0000 Subject: [PATCH] Removed some packages to be moved to Apps (python-distutils-extra, python-feedparser). --- python-distutils-extra/PKGBUILD | 30 ------------------- python-feedparser/PKGBUILD | 30 ------------------- .../feedparser_utf8_decoding.patch | 11 ------- 3 files changed, 71 deletions(-) delete mode 100644 python-distutils-extra/PKGBUILD delete mode 100644 python-feedparser/PKGBUILD delete mode 100644 python-feedparser/feedparser_utf8_decoding.patch diff --git a/python-distutils-extra/PKGBUILD b/python-distutils-extra/PKGBUILD deleted file mode 100644 index 7bf3ee706..000000000 --- a/python-distutils-extra/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# -# Chakra Packages for Chakra, part of chakra-project.org -# -# maintainer (x86_64): Giuseppe CalĂ  - -# include global config -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf - -pkgname=python-distutils-extra -pkgver=2.22 -pkgrel=2 -pkgdesc='Enhancements to the Python build system' -arch=('any') -license=('GPL') -url='http://packages.qa.debian.org/p/python-distutils-extra.html' -depends=('intltool' 'python2') -makedepends=('python-distribute') -source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz) -md5sums=('c085b71263c37af48824f8a353475181') - -build() { - cd "${srcdir}/$pkgname-$pkgver" - - # python2 fix - sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' setup.py test/auto.py - sed -i 's_\(subprocess.call.*\)python_\1python2_' DistUtilsExtra/command/build_kdeui.py - - python2 setup.py install --root="${pkgdir}" -} - diff --git a/python-feedparser/PKGBUILD b/python-feedparser/PKGBUILD deleted file mode 100644 index 68b82aca4..000000000 --- a/python-feedparser/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# -# Platform Packages for Chakra, part of chakra-project.org -# -# maintainer (i686): Phil Miller -# maintainer (x86_64): Manuel Tortosa - -# include global config -source ../_buildscripts/${current_repo}-${_arch}-cfg.conf - - -pkgname=python-feedparser -pkgver=4.1 -pkgrel=2 -pkgdesc="Parse RSS and Atom feeds in Python" -arch=('any') -url="http://feedparser.sf.net" -license=('custom') -depends=('python2' 'libxml2' ) -source=(http://downloads.sourceforge.net/feedparser/feedparser-${pkgver}.zip - feedparser_utf8_decoding.patch) -md5sums=('7ab1140c1e29d4cd52ab20fa7b1f8640' - '1412caa1577260945df5ef0f5efabc62') - -build() { - cd ${srcdir} - patch -Np0 -i feedparser_utf8_decoding.patch - python2 setup.py build - python2 setup.py install --root=${pkgdir} - install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license -} diff --git a/python-feedparser/feedparser_utf8_decoding.patch b/python-feedparser/feedparser_utf8_decoding.patch deleted file mode 100644 index 44111b9e6..000000000 --- a/python-feedparser/feedparser_utf8_decoding.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- /var/lib/python-support/python2.5/feedparser.py 2008-01-23 20:10:27.000000000 +0100 -+++ feedparser.py 2008-07-28 11:01:38.000000000 +0200 -@@ -1455,7 +1455,7 @@ - # thanks to Kevin Marks for this breathtaking hack to deal with (valid) high-bit attribute values in UTF-8 feeds - for key, value in attrs: - if type(value) != type(u''): -- value = unicode(value, self.encoding) -+ value = unicode(value, self.encoding, errors='replace') - uattrs.append((unicode(key, self.encoding), value)) - strattrs = u''.join([u' %s="%s"' % (key, value) for key, value in uattrs]).encode(self.encoding) - if tag in self.elements_no_end_tag: