Removed some packages to be moved to Apps (python-distutils-extra, python-feedparser).

This commit is contained in:
Adrian Chaves Fernandez (Gallaecio) 2012-08-30 11:30:04 +00:00
parent 3e0aa2b195
commit 273fcce959
3 changed files with 0 additions and 71 deletions

View File

@ -1,30 +0,0 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
# 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}"
}

View File

@ -1,30 +0,0 @@
#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# 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
}

View File

@ -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: