wok-6.x view feedparser/receipt @ rev 18077
Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 22 17:34:18 2015 +0300 (2015-05-22) |
parents | 3b4e4318134e |
children | e3f377fbc5f0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="feedparser"
4 VERSION="5.1.3"
5 CATEGORY="misc"
6 SHORT_DESC="Parse RSS and Atom feeds in Python"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://feedparser.sf.net"
11 WGET_URL="http://feedparser.googlecode.com/files/$TARBALL"
13 DEPENDS="libxml2 python"
14 BUILD_DEPENDS="libxml2-dev python-dev setuptools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 python setup.py install --root=$DESTDIR
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $install/usr/lib/python* $fs/usr/lib
27 }