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
46 lines
1.2 KiB
Text
46 lines
1.2 KiB
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=py3-compreffor
|
|
pkgver=0.5.3
|
|
pkgrel=0
|
|
pkgdesc="CFF table subroutinizer for FontTools"
|
|
url="https://github.com/googlefonts/compreffor"
|
|
arch="all"
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-fonttools
|
|
python3
|
|
"
|
|
makedepends="
|
|
cython
|
|
py3-pytest-runner
|
|
py3-setuptools
|
|
py3-setuptools_scm
|
|
python3-dev
|
|
"
|
|
checkdepends="py3-pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/googlefonts/compreffor/archive/$pkgver.tar.gz
|
|
0001-Drop-the-setuptools_git_ls_files-dependency.patch
|
|
"
|
|
builddir="$srcdir/compreffor-$pkgver"
|
|
|
|
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build_ext --inplace
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/compreffor/test
|
|
}
|
|
|
|
sha512sums="
|
|
626192b729b28366ea264ae28b82b6bf6b619baeb738acc42ce073872fd9af0d1e7c68c1a6a5e1e4ca234951e2b86513da2e4d02d322a03f991515544b471a01 py3-compreffor-0.5.3.tar.gz
|
|
3fc7f6b9686d1af7e45dd26c43920a7424759cea3c362d79ae72e7c6a36cc4ffb0f71806387a1d897dbdf5cc1ca00bcfc2661622ec9b7013b2ade5b400b4d2c2 0001-Drop-the-setuptools_git_ls_files-dependency.patch
|
|
"
|