diff options
author | Caleb Maclennan | 2021-12-14 12:14:13 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-12-14 12:14:13 +0300 |
commit | 44d06077c8f69fa29ef195e2471773bf99a15e5b (patch) | |
tree | dfbbc470059af26465aeca50f88ef0a329e789b3 /PKGBUILD | |
parent | 3e5da655f1f8c0a7da60cdc66300fe2aecb332f6 (diff) | |
download | aur-python-mutatormath.tar.gz |
upgpkg: python-mutatormath 3.0.1-2
Rebuild for Python 3.10
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 20 insertions, 16 deletions
@@ -5,28 +5,32 @@ pkgname=python-mutatormath _pkgname=MutatorMath pkgver=3.0.1 -pkgrel=1 -pkgdesc='Piecewise linear interpolation in multiple dimensions with multiple, arbitrarily placed, masters' -arch=('any') +pkgrel=2 +pkgdesc='Piecewise linear interpolation of multiple, arbitrarily placed, masters' +arch=(any) url='https://github.com/LettError/MutatorMath' -license=('BSD') -depends=('python' 'python-fonttools' 'python-defcon' 'python-fontmath') -makedepends=('python-setuptools') -source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.zip") +license=(BSD) +depends=(python + python-defcon + python-fontmath + python-fonttools) +makedepends=(python-setuptools) +_archive="$_pkgname-$pkgver" +source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_archive.zip") sha256sums=('8127c1ffad1646f11a953752296c43f5d88cbd5293fff03f093d916b0bc13864') -check() { - cd "$_pkgname-$pkgver" - python setup.py test +build() { + cd "$_archive" + python setup.py build } -build() { - cd "$_pkgname-$pkgver" - python setup.py build +check() { + cd "$_archive" + python setup.py test } package() { - cd "$_pkgname-$pkgver" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "$_archive" + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE } |