summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Maclennan2021-12-15 13:58:52 +0300
committerCaleb Maclennan2021-12-15 13:58:52 +0300
commit8cbe4ea7871af4ad3287ac6aa4e9b433c77294d9 (patch)
treef43844309111c4512b9af3f042e325c9f5b613ef
parent900b64753ace738a1fd963a4e702b174b9f870c4 (diff)
downloadaur-8cbe4ea7871af4ad3287ac6aa4e9b433c77294d9.tar.gz
upgpkg: fontbakery 0.7.24-2
Rebuild for Python 3.10
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD41
2 files changed, 23 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 04791433c89..bf82b7d0540 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
pkgbase = fontbakery
pkgdesc = A command-line tool for checking the quality of font projects
pkgver = 0.7.24
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/googlefonts/fontbakery
arch = any
license = Apache
- makedepends = python-setuptools
+ makedepends = python-setuptools-scm
depends = python
depends = font-v
depends = ttfautohint
@@ -23,4 +23,3 @@ pkgbase = fontbakery
sha256sums = b70d51d0065ded8527d847e284d62bc4390a15d4e603373572cc7fbfcf5aa910
pkgname = fontbakery
-
diff --git a/PKGBUILD b/PKGBUILD
index fae4239ae3f..b992afa4804 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,27 +2,28 @@
pkgname=fontbakery
pkgver=0.7.24
-pkgrel=1
+pkgrel=2
pkgdesc='A command-line tool for checking the quality of font projects'
-arch=('any')
+arch=(any)
url="https://github.com/googlefonts/$pkgname"
-license=('Apache')
-_py_deps=('beautifulsoup4'
- 'defcon'
- 'fonttools'
- 'lxml'
- 'fs' # optdepends of fonttols required for [ufo]
- 'opentype-sanitizer'
- 'protobuf'
- 'requests'
- 'unicodedata2') # optdepends of fonttools required for [unicode]
-depends=('python'
- 'font-v'
- 'ttfautohint'
- 'ufolint')
+license=(Apache)
+_py_deps=(beautifulsoup4
+ defcon
+ fonttools
+ lxml
+ fs # optdepends of fonttols required for [ufo]
+ opentype-sanitizer
+ protobuf
+ requests
+ unicodedata2) # optdepends of fonttools required for [unicode]
+depends=(python
+ font-v
+ ttfautohint
+ ufolint)
depends+=("${_py_deps[@]/#/python-}")
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+makedepends=(python-setuptools-scm)
+_archive="$pkgname-$pkgver"
+source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('b70d51d0065ded8527d847e284d62bc4390a15d4e603373572cc7fbfcf5aa910')
prepare() {
@@ -32,11 +33,11 @@ prepare() {
}
build() {
- cd "$pkgname-$pkgver"
+ cd "$_archive"
python setup.py build
}
package() {
- cd "$pkgname-$pkgver"
+ cd "$_archive"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}