void-packages/srcpkgs/python3-cairo/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

23 lines
773 B
Bash

# Template file for 'python3-cairo'
pkgname=python3-cairo
version=1.15.4
revision=1
wrksrc="pycairo-${version}"
build_style=python3-module
hostmakedepends="pkg-config python3"
makedepends="cairo-devel python3-devel"
short_desc="Python3 bindings for the cairo graphics library"
homepage="https://pycairo.readthedocs.io/"
license="LGPL-2.1, MPL-1.1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
distfiles="https://github.com/pygobject/pycairo/releases/download/v${version}/pycairo-${version}.tar.gz"
checksum=ee4c3068c048230e5ce74bb8994a024711129bde1af1d76e3276c7acd81c4357
python3-cairo-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share/pkgconfig
}
}