void-packages/srcpkgs/python-efl/template

27 lines
897 B
Bash

# Template file for 'python-efl'
pkgname=python-efl
version=1.16.0
revision=1
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="pkg-config python-devel python3.4-devel"
makedepends="elementary-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=b3df0bf0cc5a64b3602e091f1ea6d2fbb4ab599048ca5345e852d0a740f20ac6
python3.4-efl_package() {
depends="python3.4-dbus"
pycompile_version="3.4"
pycompile_module="evas efl edje emotion ecore elementary e_dbus"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}