smlinux/gtk/py3cairo/py3cairo.SMBuild
PktSurf 5f5e570fad Added gtk-sharp to base
Cleaned up build options in several gtk pkg build files
Updated gtk buildlist
Added code to disable docs compilation in gtk/babl
Removed code to disable overlinking in gtk/gspell and gtk/gtk2
Fixed arch variable gtk/gst-plugins-base
2022-10-10 22:45:48 +05:30

26 lines
637 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/v$version.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
"