diff options
Diffstat (limited to 'user/py3-cairosvg/APKBUILD')
-rw-r--r-- | user/py3-cairosvg/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-cairosvg/APKBUILD b/user/py3-cairosvg/APKBUILD new file mode 100644 index 000000000..b2565c619 --- /dev/null +++ b/user/py3-cairosvg/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=py3-cairosvg +_pkgname=CairoSVG +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=2.4.2 +pkgrel=0 +pkgdesc="Cairo-based SVG to PDF/PNG library for Python" +url="https://cairosvg.org/" +arch="all" +license="LGPL-3.0+" +depends="python3 cairo" +makedepends="python3-dev cairo-dev libffi-dev" +source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/CairoSVG-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py check +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="0d6dd22d9569fd3849cf7f6594c86bed719169dac1f0f3219e88d82f9d245bf29d51715159085cb26c0340c8f0dcb88412d141ec0ee3710b1477626f5a578441 CairoSVG-2.4.2.tar.gz" |