void-packages/srcpkgs/python-efl/template

31 lines
943 B
Bash

# Template file for 'python-efl'
pkgname=python-efl
version=1.20.0
revision=2
build_style=python-module
hostmakedepends="pkg-config python-devel python3-devel"
makedepends="efl-devel python-dbus-devel"
depends="python-dbus"
pycompile_module="efl"
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=feb7ebe27db47f5d6b7d17409fd5099cdd6ca4b3a06695d8823680e2eebb0099
python3-efl_package() {
depends="python3-dbus"
pycompile_module="efl"
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}"
}