wok view editobj/receipt @ rev 25794

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