wok-current view beautifulsoup/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 9a64a856eee1
children d49d380e5ec7
line source
1 # SliTaz package receipt.
3 PACKAGE="beautifulsoup"
4 VERSION="4.3.2"
5 CATEGORY="development"
6 SHORT_DESC="Python HTML-XML parser."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="beautifulsoup4"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.crummy.com/software/BeautifulSoup/"
12 WGET_URL="${WEB_SITE}bs4/download/${VERSION%.*}/$TARBALL"
13 TAGS="parser XML HTML"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python setup.py build
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir $fs
29 cp -a $install/usr $fs
30 }