blob: 02d95f91b5b2c5ab9a0c72add8ea10e3c151fd35 (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=hyperglot
pkgver=0.3.8
pkgrel=2
pkgdesc='A database and tools for detecting language support in fonts'
arch=(any)
url="https://github.com/rosettatype/$pkgname"
license=(GPL3)
_py_deps=(click
colorlog
fonttools
unicodedata2
yaml)
depends=(python ${_py_deps[@]/#/python-})
makedepends=(python-{build,installer,wheel}
python-setuptools)
_archive="$pkgname-$pkgver"
source=("$_archive.tar.gz::$url/archive/$pkgver.tar.gz")
sha256sums=('067672f89849cea4fee291a49b5827f9c9c5b7e109b78a130ecd8d34aa66b7fc')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|