blob: dddfd490fab982315316dc18382e589870ff855b (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Contributor: txtsd <aur.archlinux@ihavea.quest>
pkgname=gftools
pkgver=0.9.76
pkgrel=2
pkgdesc='Misc tools for working with the Google Fonts library'
arch=(any)
url="https://github.com/googlefonts/$pkgname"
license=(Apache-2.0)
_pydeps=(axisregistry
babelfont
beautifulsoup4
brotli
browserstack-local
bumpfontversion
fontfeatures
fontmake
fonttools
fs # optdepends of fonttols required for [ufo]
gflanguages
gfsubsets
glyphsets
glyphslib
jinja
networkx
opentype-sanitizer
pillow
protobuf
pyaml
pybrowserstack-screenshots
pygit2
pygithub
requests
rich
ruamel-yaml
skia-pathops
strictyaml
tabulate
ttfautohint-py
typing_extensions
ufolib2
unidecode
vharfbuzz
vttlib)
depends=(absl-py
font-v
hyperglot
nanoemoji
ninja
python
"${_pydeps[@]/#/python-}"
statmake)
makedepends=(python-{build,installer,wheel}
python-setuptools-scm)
_archive="$pkgname-$pkgver"
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
sha256sums=('884e878005b81b104c6da1550198e809a59a3c27f136f7033666e8f7b2f12380')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|