void-packages/srcpkgs/python-efl/template
2017-05-25 09:14:03 +02:00

30 lines
1 KiB
Bash

# Template file for 'python-efl'
pkgname=python-efl
version=1.19.0
revision=1
build_style=python-module
hostmakedepends="pkg-config python-devel python3-devel"
makedepends="efl-devel python-dbus-devel"
depends="python-dbus"
pycompile_module="evas efl edje emotion ecore elementary e_dbus"
homepage="http://enlightenment.org"
short_desc="Python2 bindings for Enlightenment Foundation Libraries"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-3"
distfiles="http://download.enlightenment.org/rel/bindings/python/${pkgname}-${version}.tar.gz"
checksum=c7e09f70302ae4e551e3d8ac06d185b9456699d7aa5c734681988c10f64a0e50
python3-efl_package() {
depends="python3-dbus"
pycompile_module="evas efl edje emotion ecore elementary e_dbus"
replaces="python3.4-efl>=0"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}
python3.4-efl_package() {
build_style=meta
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
depends="python3-efl>=${version}_${revision}"
}