wok view beautifulsoup/receipt @ rev 24828

updated libshout and libshout-dev again (2.4.3 -> 2.4.5)
author Hans-G?nter Theisgen
date Wed Mar 23 17:27:54 2022 +0100 (2022-03-23)
parents 9cb741af4377
children
line source
1 # SliTaz package receipt.
3 PACKAGE="beautifulsoup"
4 VERSION="4.8.2"
5 CATEGORY="development"
6 TAGS="parser XML HTML"
7 SHORT_DESC="Python HTML-XML parser."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.crummy.com/software/BeautifulSoup/"
12 SOURCE="beautifulsoup4"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}bs4/download/${VERSION%.*}/$TARBALL"
15 PROVIDE="python-beautifulsoup"
17 DEPENDS="python"
18 BUILD_DEPENDS="python-dev python-setuptools"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 grep -A1 'current release' | sed '/^[0-9]/!d;s|<.*||'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 python setup.py build
31 python setup.py install --root=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/usr $fs
38 }