diff options
author | Caleb Maclennan | 2021-12-14 14:33:59 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-12-14 14:33:59 +0300 |
commit | 3201e766e189d7117ad53d37986154a69c6d1ac2 (patch) | |
tree | a1e3151a5bb1a5be58a39188cd982a9b323d1d17 | |
parent | c27f53b60696ae9b21b9917d4e5d947abe9fa42a (diff) | |
download | aur-3201e766e189d7117ad53d37986154a69c6d1ac2.tar.gz |
upgpkg: python-vttlib 0.11.0-3
Rebuild for Python 3.10
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 8 deletions
@@ -1,7 +1,7 @@ pkgbase = python-vttlib pkgdesc = Dump, merge and compile Visual TrueType data in UFO3 with FontTools pkgver = 0.11.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/daltonmaag/vttLib arch = any license = MIT @@ -3,11 +3,11 @@ _pipname=vttLib pkgname=python-${_pipname,,} pkgver=0.11.0 -pkgrel=2 +pkgrel=3 pkgdesc='Dump, merge and compile Visual TrueType data in UFO3 with FontTools' arch=(any) url="https://github.com/daltonmaag/$_pipname" -license=('MIT') +license=(MIT) _py_deps=(fonttools fs # optdepends of fonttools required for [ufo] pyparsing @@ -16,21 +16,21 @@ depends=(python "${_py_deps[@]/#/python-}") makedepends=(python-setuptools-scm python-toml) -_pkgdir=$_pipname-$pkgver -source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_pkgdir.zip") +_archive=$_pipname-$pkgver +source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.zip") sha256sums=('5b57017ee80ba3091b48719a98c198d7540a1daaa5b513a10bfe1451b28b8476') prepare() { - cd "$_pkgdir" + cd "$_archive" sed -i -e '/wheel/d' setup.cfg } build() { - cd "$_pkgdir" + cd "$_archive" python setup.py build } package() { - cd "$_pkgdir" + cd "$_archive" python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |