wok-current annotate beautifulsoup/receipt @ rev 25350

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