blob: b2565c6194dfaa9070683c3a2d35e76c59e278fa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
|