blob: 6f946dbab48bc157e847e015c8a33c6451b96bcf (
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
|
# Maintainer: Caleb Maclennan <caleb@alerque.com>
_pipname=fontdoctools
pkgname=python-$_pipname
_sha=5f2880db5e08
pkgver=1.1
pkgrel=3
pkgdesc='tools that help in documenting and reviewing the design or the engineering of fonts'
arch=(any)
_namespace=LindenbergSW
url="https://bitbucket.org/$_namespace/$_pipname"
license=(MIT)
_py_deps=(fonttools)
depends=(python
"${_py_deps[@]/#/python-}")
provides=(dottedcircleshaper glyphplotter glyhpsandwich glyphshaper roentgen)
makedepends=(python-{build,installer,wheel}
python-setuptools)
_archive="$_namespace-$_pipname-$_sha"
source=("$_archive.zip::$url/get/$_sha.zip")
sha256sums=('ea86f79b851dc28f62c2ec3ca5824a7906ed97688b96b0170de4f1a5b455be7c')
build() {
cd "$_archive"
python -m build -wn
}
package() {
cd "$_archive"
python -m installer -d "$pkgdir" dist/*.whl
}
|