wok-next diff python-efl/receipt @ rev 21664

updated freeglut (3.0.0 -> 3.2.1)
author Hans-G?nter Theisgen
date Sat Jun 27 15:04:19 2020 +0100 (2020-06-27)
parents a00b398faf9e
children
line diff
     1.1 --- a/python-efl/receipt	Wed Aug 22 09:09:15 2018 +0300
     1.2 +++ b/python-efl/receipt	Sat Jun 27 15:04:19 2020 +0100
     1.3 @@ -1,27 +1,27 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6 +ORIGIN="python-efl"
     1.7  PACKAGE="python-efl"
     1.8 -VERSION="1.20.0"
     1.9 +VERSION="1.21.0"
    1.10  CATEGORY="base-system"
    1.11  SHORT_DESC="Python bindings for EFL"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3 LGPL3"
    1.14 -WEB_SITE="https://www.enlightenment.org/"
    1.15 +WEB_SITE="https://pypi.org/project/$ORIGIN/"
    1.16  REPOLOGY="python:efl"
    1.17  
    1.18 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 -WGET_URL="https://download.enlightenment.org/rel/bindings/python/$TARBALL"
    1.20 -
    1.21  BUILD_DEPENDS="efl-dev python-dbus-dev python-dev"
    1.22 +BUILD_DEPENDS="python-dev python3-dev efl-dev python-dbus-dev python3-dbus-dev"
    1.23 +SPLIT="${PACKAGE/python/python3}:3"
    1.24  
    1.25  compile_rules() {
    1.26  	# note, it required about 1.7 GB RAM on compiling
    1.27 -	python setup.py build &&
    1.28 -	python setup.py install --root=$install
    1.29 +	pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
    1.30  }
    1.31  
    1.32  genpkg_rules() {
    1.33  	copy @std
    1.34 -	DEPENDS="dbus efl python"
    1.35 +	py=${PACKAGE%%-*} # python/python3
    1.36 +	DEPENDS="$py dbus efl"
    1.37  	TAGS="e enlightenment efl python"
    1.38  }