SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "python-sqlalchemy"

# SliTaz package receipt.

PACKAGE="python-sqlalchemy"
SOURCE="SQLAlchemy"
VERSION="0.5.6"
CATEGORY="development"
SHORT_DESC="The Python SQL toolkit and Object Relational Mapper"
MAINTAINER="claudinei@slitaz.org"
DEPENDS="python"
BUILD_DEPENDS="python python-dev"
SUGGESTED="python-pysqlite"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.sqlalchemy.org"
WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL"

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

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    for file in `find $_pkg | grep 'pyc$'`; do
        rm $file
    done
    mkdir -p $fs/usr
    rm $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test/*
    rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test
    cp -a $_pkg/usr $fs
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)