mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-11-02 01:11:31 +01:00
36 lines
760 B
Plaintext
36 lines
760 B
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
_pkgname=svgwrite
|
|
pkgname="py3-$_pkgname"
|
|
pkgver=1.4.3
|
|
pkgrel=0
|
|
pkgdesc="Python library to create SVG drawings"
|
|
url="https://github.com/mozman/svgwrite"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
py3-parsing
|
|
"
|
|
makedepends="py3-setuptools_scm"
|
|
checkdepends="
|
|
py3-pytest
|
|
"
|
|
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest tests
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root "$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
3e599c13c2138aec1f9098baf3cf978b477f45ec2acd14d6aaadbcdf952064dac6313fd26050e670e9e989867c3539fa1cc7fb1cd226e34ff9f2a1ca2e7ddeff py3-svgwrite-1.4.3.tar.gz
|
|
"
|