wok-stable annotate feedparser/receipt @ rev 7993
Add patch to feedparser for utf8 decoding.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 17 21:43:16 2011 +0000 (2011-01-17) |
parents | a313a0ccd48f |
children | 1073d7633e29 |
rev | line source |
---|---|
jozee@2679 | 1 # SliTaz package receipt. |
jozee@2679 | 2 |
jozee@2679 | 3 PACKAGE="feedparser" |
jozee@2679 | 4 VERSION="4.1" |
jozee@2679 | 5 CATEGORY="misc" |
jozee@2679 | 6 SHORT_DESC="Parse RSS and Atom feeds in Python" |
jozee@2679 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2679 | 8 DEPENDS="libxml2 python" |
jozee@2679 | 9 BUILD_DEPENDS="libxml2-dev python-dev" |
jozee@2679 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
jozee@2679 | 11 WEB_SITE="http://feedparser.sf.net" |
jozee@2679 | 12 WGET_URL="http://downloads.sourceforge.net/$PACKAGE/$TARBALL" |
jozee@2679 | 13 |
jozee@2679 | 14 # Rules to configure and make the package. |
jozee@2679 | 15 compile_rules() |
jozee@2679 | 16 { |
jozee@2679 | 17 cd $src |
slaxemulator@7993 | 18 patch -Np0 -i ../stuff/feedparser_uft8_decoding.patch |
jozee@2679 | 19 python setup.py build |
jozee@2679 | 20 python setup.py install --root=$PWD/$PACKAGE-$VERSION/_pkg |
jozee@2679 | 21 |
jozee@2679 | 22 } |
jozee@2679 | 23 |
jozee@2679 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2679 | 25 genpkg_rules() |
jozee@2679 | 26 { |
jozee@2679 | 27 mkdir -p $fs/usr/lib |
jozee@2679 | 28 cp -a $_pkg/usr/lib/python* $fs/usr/lib |
jozee@2679 | 29 } |