wok-next rev 20918

beautifulsoup -> python-beautifulsoup4
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 23:51:00 2018 +0300 (2018-08-21)
parents 8e082c402397
children a00b398faf9e
files beautifulsoup/receipt python-beautifulsoup4/receipt python-ofxparse/receipt screenlets/receipt
line diff
     1.1 --- a/beautifulsoup/receipt	Tue Aug 21 11:44:50 2018 +0300
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,33 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="beautifulsoup"
     1.7 -VERSION="4.5.0"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Python HTML-XML parser."
    1.10 -MAINTAINER="paul@slitaz.org"
    1.11 -LICENSE="MIT"
    1.12 -WEB_SITE="https://www.crummy.com/software/BeautifulSoup/"
    1.13 -REPOLOGY="python:beautifulsoup"
    1.14 -
    1.15 -SOURCE="beautifulsoup4"
    1.16 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17 -WGET_URL="${WEB_SITE}bs4/download/${VERSION%.*}/$TARBALL"
    1.18 -PROVIDES="python-beautifulsoup"
    1.19 -TAGS="parser XML HTML"
    1.20 -
    1.21 -DEPENDS="python"
    1.22 -BUILD_DEPENDS="python-dev"
    1.23 -
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	python setup.py build
    1.28 -	python setup.py install --root=$DESTDIR
    1.29 -}
    1.30 -
    1.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 -genpkg_rules()
    1.33 -{
    1.34 -	mkdir $fs
    1.35 -	cp -a $install/usr $fs
    1.36 -}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/python-beautifulsoup4/receipt	Tue Aug 21 23:51:00 2018 +0300
     2.3 @@ -0,0 +1,23 @@
     2.4 +# SliTaz package receipt v2.
     2.5 +
     2.6 +PACKAGE="python-beautifulsoup4"
     2.7 +VERSION="latest"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="Python HTML-XML parser"
    2.10 +MAINTAINER="paul@slitaz.org"
    2.11 +LICENSE="MIT"
    2.12 +WEB_SITE="https://pypi.org/project/beautifulsoup4/"
    2.13 +REPOLOGY="python:beautifulsoup"
    2.14 +
    2.15 +BUILD_DEPENDS="python-dev"
    2.16 +
    2.17 +compile_rules() {
    2.18 +	pip install --no-compile --root=$DESTDIR beautifulsoup4
    2.19 +}
    2.20 +
    2.21 +genpkg_rules() {
    2.22 +	VERSION=$(sed -n '/^Successfully installed/ s|.*beautifulsoup4-||p' $LOGS/$PACKAGE.log)
    2.23 +	copy @std
    2.24 +	DEPENDS="python"
    2.25 +	TAGS="parser XML HTML"
    2.26 +}
     3.1 --- a/python-ofxparse/receipt	Tue Aug 21 11:44:50 2018 +0300
     3.2 +++ b/python-ofxparse/receipt	Tue Aug 21 23:51:00 2018 +0300
     3.3 @@ -13,7 +13,7 @@
     3.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     3.5  WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
     3.6  
     3.7 -DEPENDS="python beautifulsoup"
     3.8 +DEPENDS="python python-beautifulsoup4"
     3.9  BUILD_DEPENDS="python"
    3.10  
    3.11  # Rules to configure and make the package.
     4.1 --- a/screenlets/receipt	Tue Aug 21 11:44:50 2018 +0300
     4.2 +++ b/screenlets/receipt	Tue Aug 21 23:51:00 2018 +0300
     4.3 @@ -22,7 +22,7 @@
     4.4  
     4.5  genpkg_rules() {
     4.6  	copy @std
     4.7 -	DEPENDS="python pygtk python-xdg beautifulsoup gnome-python-desktop \
     4.8 +	DEPENDS="python pygtk python-xdg python-beautifulsoup4 gnome-python-desktop \
     4.9  	dbus-python gnome-icon-theme"
    4.10  }
    4.11