1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-20 01:35:13 +03:00
aports/community/py3-cffsubr/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
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
2023-01-10 04:19:31 +01:00

30 lines
941 B
Text

# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=py3-cffsubr
pkgver=0.2.9
pkgrel=2
pkgdesc="Standalone CFF subroutinizer based on AFDKO tx"
url="https://github.com/adobe-type-tools/cffsubr"
arch="all"
license="Apache-2.0"
depends="py3-fonttools"
makedepends="py3-setuptools py3-setuptools_scm"
source="https://files.pythonhosted.org/packages/source/c/cffsubr/cffsubr-$pkgver.tar.gz
drop-setuptools-git-ls-files.patch"
builddir="$srcdir/cffsubr-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
600b6b63ad70e5f00da0f64dd1410d49af622ac923aea3346c904e47e490410a6205fc5b2c2ddc6c684af04face3c217a2c722141f67d5f8ce5b87543eb363e4 cffsubr-0.2.9.tar.gz
557a816d3ac4591396e448b0138219cbe976bd7119a3cfefb6b803720918902b768280f3bcd844c62ed5ed1e1b59835ef4505d9ad81b6781adfe7d0b556e3b7e drop-setuptools-git-ls-files.patch
"