wok-next view python-efl/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | a00b398faf9e |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="python-efl"
4 PACKAGE="python-efl"
5 VERSION="1.21.0"
6 CATEGORY="base-system"
7 SHORT_DESC="Python bindings for EFL"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="GPL3 LGPL3"
10 WEB_SITE="https://pypi.org/project/$ORIGIN/"
11 REPOLOGY="python:efl"
13 BUILD_DEPENDS="efl-dev python-dbus-dev python-dev"
14 BUILD_DEPENDS="python-dev python3-dev efl-dev python-dbus-dev python3-dbus-dev"
15 SPLIT="${PACKAGE/python/python3}:3"
17 compile_rules() {
18 # note, it required about 1.7 GB RAM on compiling
19 pip$SET install --no-compile --root=$install $ORIGIN==$VERSION
20 }
22 genpkg_rules() {
23 copy @std
24 py=${PACKAGE%%-*} # python/python3
25 DEPENDS="$py dbus efl"
26 TAGS="e enlightenment efl python"
27 }