SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-elementary"

# SliTaz package receipt.

PACKAGE="python-elementary"
VERSION="1.7.0"
CATEGORY="base-system"
SHORT_DESC="Python bindings for Elementary"
MAINTAINER="domcox@slitaz.org"
LICENSE="LGPL3"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.enlightenment.org/"
WGET_URL="https://web.archive.org/web/20150908092224if_/https://download.enlightenment.org/releases/BINDINGS/python/$TARBALL"
TAGS="e enlightenment python"

DEPENDS="elementary python-evas"
BUILD_DEPENDS="elementary-dev python-evas-dev python-cython \
autoconf automake git subversion libtool file"

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

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh &&
    ./configure --prefix=/usr &&
    make $MAKEFLAGS all && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/python2.7 $fs/usr/lib
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)