void-packages/srcpkgs/python-cairocffi/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

27 lines
776 B
Bash

# Template file for 'python-cairocffi'
pkgname=python-cairocffi
version=0.8.0
revision=2
noarch=yes
wrksrc="cairocffi-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
depends="python-cffi"
pycompile_module="cairocffi"
short_desc="CFFI-based cairo bindings for Python2"
homepage="https://github.com/SimonSapin/cairocffi"
license="BSD"
maintainer="Alessio Sergi <al3hex@gmail.com>"
distfiles="${PYPI_SITE}/c/cairocffi/cairocffi-${version}.tar.gz"
checksum=65f21e6786e2b255ab1d3fda53a365a3565bb1808cabbbe59d99a797c61d3545
python3-cairocffi_package() {
noarch=yes
depends="python3-cffi"
pycompile_module="cairocffi"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}