SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "editobj"

# SliTaz package receipt.

PACKAGE="editobj"
VERSION="0.5.1"
CATEGORY="x-window"
SHORT_DESC="Dialog box generator for Python objects."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="http://www.lesfleursdunormal.fr/static/informatique/editobj/index_en.html"

SOURCE="EditObj2"
TARBALL="$SOURCE-$VERSION.tar.gz"
# 0.4: WGET_URL="http://download.gna.org/songwrite/$TARBALL"
# 0.5.1:
WGET_URL="https://files.pythonhosted.org/packages/91/3d/3d1bbed38345e080aa204ed6c431968e0cc24e0935235b337f0bc6c8cf2d/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python"

# What is the latest version available today?
current_version()
{
    wget -O - https://pypi.org/project/EditObj2/ 2>/dev/null | \
    sed '/EditObj2 [0-9]/!d;s|.*EditObj2 ||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    python ./setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr/ $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)