smlinux/gtk/py3cairo/py3cairo.SMBuild

26 lines
No EOL
634 B
Text
Executable file

app=py3cairo
version=1.20.0
build=1sml
homepage="http://cairographics.org/pycairo/"
download="https://github.com/pygobject/pycairo/archive/refs/tags/v1.20.0.tar.gz"
desc="Python 3.x bindings for cairo"
requires="python3 gtk3"
build() {
mkandenterbuilddir
rm -rf pycairo-$version
tar xf $srcdir/pycairo-$version.tar.?z*
cd pycairo-$version
fixbuilddirpermissions
python3 setup.py install --prefix="" --root=$pkg
cp COPYING* $pkgdocs/
mkfinalpkg
}
sha512sums="
1aec7204fa29bbec4c563e36c8a64855d557241f2f0410a345d60198bdd9292eee873e33014a1b5bd0b8c64fd7597b22475646f35a37a2ce15f8cdc4e15b7556 pycairo-1.20.0.tar.lz
"