wok annotate editobj/receipt @ rev 24482

updated diffutils (3.7 -> 3.8)
author Hans-G?nter Theisgen
date Fri Feb 18 14:45:09 2022 +0100 (2022-02-18)
parents ad3df832c790
children
rev   line source
pascal@11221 1 # SliTaz package receipt.
pascal@11221 2
pascal@11221 3 PACKAGE="editobj"
Hans-G?nter@20868 4 VERSION="0.5.1"
pascal@11221 5 CATEGORY="x-window"
pascal@11221 6 SHORT_DESC="Dialog box generator for Python objects."
pascal@11221 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
Hans-G?nter@20868 9 WEB_SITE="http://www.lesfleursdunormal.fr/static/informatique/editobj/index_en.html"
Hans-G?nter@20868 10
Hans-G?nter@20868 11 SOURCE="EditObj2"
pascal@11221 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@20868 13 # 0.4: WGET_URL="http://download.gna.org/songwrite/$TARBALL"
Hans-G?nter@20868 14 # 0.5.1:
Hans-G?nter@20868 15 WGET_URL="https://files.pythonhosted.org/packages/91/3d/3d1bbed38345e080aa204ed6c431968e0cc24e0935235b337f0bc6c8cf2d/$TARBALL"
pascal@11221 16
pascal@11221 17 DEPENDS="python"
pascal@11221 18 BUILD_DEPENDS="python"
pascal@11221 19
pascal@24439 20 # What is the latest version available today?
pascal@24439 21 current_version()
pascal@24439 22 {
pascal@24439 23 wget -O - https://pypi.org/project/EditObj2/ 2>/dev/null | \
pascal@24439 24 sed '/EditObj2 [0-9]/!d;s|.*EditObj2 ||;q'
pascal@24439 25 }
pascal@24439 26
pascal@11221 27 # Rules to configure and make the package.
pascal@11221 28 compile_rules()
pascal@11221 29 {
pascal@11221 30 python ./setup.py install --root=$DESTDIR
pascal@11221 31 }
pascal@11221 32
al@18077 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18077 34 genpkg_rules()
pascal@11221 35 {
pascal@15588 36 cp -a $install/usr/ $fs
pascal@11221 37 }