wok-next annotate beautifulsoup/receipt @ rev 20885
Update python (2.7.15)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 13 13:52:56 2018 +0300 (2018-07-13) |
parents | 6c73b944e8dd |
children | a3c581bf52b8 |
rev | line source |
---|---|
paul@1378 | 1 # SliTaz package receipt. |
paul@1378 | 2 |
paul@1378 | 3 PACKAGE="beautifulsoup" |
paul@19359 | 4 VERSION="4.5.0" |
paul@1378 | 5 CATEGORY="development" |
paul@1378 | 6 SHORT_DESC="Python HTML-XML parser." |
paul@1378 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15202 | 8 LICENSE="MIT" |
al@20885 | 9 WEB_SITE="http://www.crummy.com/software/BeautifulSoup/" |
al@20885 | 10 REPOLOGY="python:beautifulsoup" |
al@20885 | 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@19029 | 15 PROVIDES="python-beautifulsoup" |
jozee@3567 | 16 TAGS="parser XML HTML" |
paul@1378 | 17 |
pascal@15202 | 18 DEPENDS="python" |
al@20444 | 19 BUILD_DEPENDS="python-dev" |
pascal@15202 | 20 |
paul@1378 | 21 # Rules to configure and make the package. |
paul@1378 | 22 compile_rules() |
paul@1378 | 23 { |
paul@1378 | 24 python setup.py build |
paul@13540 | 25 python setup.py install --root=$DESTDIR |
paul@1378 | 26 } |
paul@1378 | 27 |
paul@1378 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1378 | 29 genpkg_rules() |
paul@1378 | 30 { |
paul@13540 | 31 mkdir $fs |
paul@13540 | 32 cp -a $install/usr $fs |
paul@1378 | 33 } |