32 lines
837 B
Bash
32 lines
837 B
Bash
# Template file for 'python-cairocffi'
|
|
pkgname=python-cairocffi
|
|
version=0.8.1
|
|
revision=1
|
|
noarch=yes
|
|
wrksrc="cairocffi-${version}"
|
|
build_style=python-module
|
|
pycompile_module="cairocffi"
|
|
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
|
|
depends="python-cffi"
|
|
short_desc="CFFI-based cairo bindings for Python2"
|
|
homepage="https://github.com/Kozea/cairocffi"
|
|
license="BSD-3-Clause"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
|
|
checksum=47eb1c53d15041dda983e0004b249123bb18edb10dbff3742d039fedd41e6778
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-cairocffi_package() {
|
|
noarch=yes
|
|
depends="python3-cffi"
|
|
pycompile_module="cairocffi"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|