wok-next diff python-sqlalchemy/receipt @ rev 21613

updated eboard (1.1.1 -> 1.1.3)
author Hans-G?nter Theisgen
date Thu Jun 25 10:33:28 2020 +0100 (2020-06-25)
parents 8b5b2a6d07b8
children
line diff
     1.1 --- a/python-sqlalchemy/receipt	Fri Sep 14 01:56:52 2018 +0300
     1.2 +++ b/python-sqlalchemy/receipt	Thu Jun 25 10:33:28 2020 +0100
     1.3 @@ -1,30 +1,26 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7 +ORIGIN="SQLAlchemy"
     1.8  PACKAGE="python-sqlalchemy"
     1.9 -VERSION="0.7.10"
    1.10 -CATEGORY="development"
    1.11 +VERSION="1.2.11"
    1.12 +CATEGORY="python"
    1.13  SHORT_DESC="The Python SQL toolkit and Object Relational Mapper"
    1.14  MAINTAINER="claudinei@slitaz.org"
    1.15  LICENSE="MIT"
    1.16 -WEB_SITE="http://www.sqlalchemy.org"
    1.17 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.18 +HOST_ARCH="any"
    1.19  REPOLOGY="python:sqlalchemy"
    1.20  
    1.21 -SOURCE="SQLAlchemy"
    1.22 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.23 -WGET_URL="https://files.pythonhosted.org/packages/source/S/$SOURCE/$TARBALL"
    1.24 +BUILD_DEPENDS="python python3"
    1.25 +SPLIT="${PACKAGE/python/python3}:3"
    1.26  
    1.27 -DEPENDS="python"
    1.28 -SUGGESTED="python-pysqlite"
    1.29 -BUILD_DEPENDS="python-dev"
    1.30 -
    1.31 -# Rules to configure and make the package.
    1.32 -compile_rules()
    1.33 -{
    1.34 -	python setup.py install --root=$DESTDIR
    1.35 +compile_rules() {
    1.36 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	cp -a $install/usr $fs
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	py=${PACKAGE%%-*} # python/python3
    1.46 +	DEPENDS="$py"
    1.47 +	SUGGESTED="$py-pysqlite"
    1.48  }