blob: 9e4f2e22cf4e719870e078b8775ddfd7e68778aa (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=diffenator2
pkgver=0.4.5
pkgrel=1
pkgdesc='Compare two font families, descendent of fontdiffenator'
arch=(any)
url="https://github.com/googlefonts/$pkgname"
license=()
_pydeps=(blackrenderer # [skia]
fonttools
freetype-py
gflanguages
glyphsets
jinja
numpy # for blackrenderer[ska]
pillow
protobuf
selenium
skia # for blackrenderer[ska]
tqdm
uharfbuzz
pyahocorasick
unicodedata2
youseedee)
depends=(ninja
python
"${_pydeps[@]/#/python-}")
makedepends=(python-{build,installer,wheel}
python-poetry-{core,dynamic-versioning})
_archive="$pkgname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
sha256sums=('70501536aaa88e675ab08dd5cddd2c03289723ef79745669568fc32023dee57d')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|