mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
28 lines
914 B
Text
28 lines
914 B
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=py3-skia-pathops
|
|
pkgver=0.2.1
|
|
pkgrel=3
|
|
pkgdesc="Python bindings for the Skia library's Path Ops"
|
|
url="https://github.com/fonttools/skia-pathops"
|
|
arch="all !s390x" # doesn't support big endian
|
|
license="BSD-3-Clause"
|
|
depends="python3 cython"
|
|
makedepends="python3-dev py3-setuptools py3-setuptools_scm"
|
|
options="!check" # missing deps: pytest-cython, pytest-randomly
|
|
source="https://files.pythonhosted.org/packages/source/s/skia-pathops/skia-pathops-$pkgver.zip"
|
|
builddir="$srcdir/skia-pathops-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="ed4deba9e6e3576cc4c550c0c0172b0780f1e8e1424f156e8ef893a62924fd91c16a3bf2e1598c3116a1a73958513339dce48a2978f86b27f285d6f0f50245eb skia-pathops-0.2.1.zip"
|