summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2022-08-25 14:28:52 +0300
committerCaleb Maclennan2022-08-25 14:28:52 +0300
commit2c408ba9c3aac2f1a85603dc6b9bf77914265e92 (patch)
tree3689164ce4d572fe27e356e6d12959f3c831e4d8
parent1bbd3d2c7a07cf1d2201355241755a72b917afb0 (diff)
downloadaur-fontbakery.tar.gz
upgpkg: fontbakery 0.8.10-1
upstream release
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD40
2 files changed, 45 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index db27fd361bf..584efb073ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,41 @@
pkgbase = fontbakery
pkgdesc = A command-line tool for checking the quality of font projects
- pkgver = 0.7.38
+ pkgver = 0.8.10
pkgrel = 1
url = https://github.com/googlefonts/fontbakery
arch = any
license = Apache
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-wheel
makedepends = python-setuptools-scm
- depends = python
+ depends = dehinter
depends = font-v
+ depends = python
depends = ttfautohint
depends = ufolint
+ depends = python-axisregistry
depends = python-beautifulsoup4
+ depends = python-beziers
+ depends = python-cmarkgfm
+ depends = python-collidoscope
depends = python-defcon
depends = python-fonttools
- depends = python-lxml
depends = python-fs
+ depends = python-gflanguages
+ depends = python-glyphsets
+ depends = python-lxml
depends = python-opentype-sanitizer
depends = python-protobuf
+ depends = python-pyyaml
depends = python-requests
+ depends = python-rich
+ depends = python-stringbrewer
+ depends = python-toml
+ depends = python-ufo2ft
depends = python-unicodedata2
- source = fontbakery-0.7.38.tgz::https://github.com/googlefonts/fontbakery/archive/v0.7.38.tar.gz
- sha256sums = 9eaa2b0b43df278cc0eef4fcb4561573ca55ba9da9e99626f0a33ae5f22d807e
+ depends = python-vharfbuzz
+ source = https://files.pythonhosted.org/packages/source/f/fontbakery/fontbakery-0.8.10.tar.gz
+ sha256sums = 50838d85d9f17ac14578d48a9074e7a03d3bccc2e706d7e217455734444e31e0
pkgname = fontbakery
diff --git a/PKGBUILD b/PKGBUILD
index 3e2752a8be6..ae379efed63 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,43 +1,51 @@
# Maintainer: Caleb Maclennan <caleb@alerque.com>
pkgname=fontbakery
-pkgver=0.7.38
+pkgver=0.8.10
pkgrel=1
pkgdesc='A command-line tool for checking the quality of font projects'
arch=(any)
url="https://github.com/googlefonts/$pkgname"
license=(Apache)
-_py_deps=(beautifulsoup4
+_py_deps=(axisregistry
+ beautifulsoup4
+ beziers
+ cmarkgfm
+ collidoscope
defcon
fonttools
- lxml
fs # optdepends of fonttols required for [ufo]
+ gflanguages
+ glyphsets
+ lxml
opentype-sanitizer
protobuf
+ pyyaml
requests
- unicodedata2) # optdepends of fonttools required for [unicode]
-depends=(python
+ rich
+ stringbrewer
+ toml
+ ufo2ft
+ unicodedata2 # optdepends of fonttools required for [unicode]
+ vharfbuzz)
+depends=(dehinter
font-v
+ python
ttfautohint
ufolint)
depends+=("${_py_deps[@]/#/python-}")
-makedepends=(python-setuptools-scm)
+makedepends=(python-{build,installer,wheel} python-setuptools-scm)
_archive="$pkgname-$pkgver"
-source=("$_archive.tgz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('9eaa2b0b43df278cc0eef4fcb4561573ca55ba9da9e99626f0a33ae5f22d807e')
-
-prepare() {
- cd "$pkgname-$pkgver"
- echo "version = '$pkgver'" > "Lib/$pkgname/_version.py"
- sed -i -e '/use_scm_version/d' setup.py
-}
+# source=("$_archive.tgz::$url/archive/v$pkgver.tar.gz")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$_archive.tar.gz")
+sha256sums=('50838d85d9f17ac14578d48a9074e7a03d3bccc2e706d7e217455734444e31e0')
build() {
cd "$_archive"
- python setup.py build
+ python -m build -wn
}
package() {
cd "$_archive"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer -d "$pkgdir" dist/*.whl
}