diff options
author | Caleb Maclennan | 2021-12-14 12:54:31 +0300 |
---|---|---|
committer | Caleb Maclennan | 2021-12-14 12:54:31 +0300 |
commit | 4298d2bae639563f34905025fda6a84d680eb3c7 (patch) | |
tree | c19b04309ae5bb41ef632f67b5086899bbf447a8 | |
parent | 0aa30d99433f3b5a08d9cc530c77290069a47206 (diff) | |
download | aur-4298d2bae639563f34905025fda6a84d680eb3c7.tar.gz |
upgpkg: python-pantable 0.14.0-2
Rebuild for Python 3.10
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pantable pkgdesc = CSV Tables in Markdown: Pandoc Filter for CSV Tables pkgver = 0.14.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/ickc/pantable arch = any license = GPL3 @@ -3,7 +3,7 @@ _name=pantable pkgname=python-$_name pkgver=0.14.0 -pkgrel=1 +pkgrel=2 pkgdesc='CSV Tables in Markdown: Pandoc Filter for CSV Tables' arch=(any) url="https://github.com/ickc/$_name" @@ -14,15 +14,16 @@ depends=('pandoc>=2.11.2' python "${_py_deps[@]/#/python-}") makedepends=(python-setuptools) -source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +_archive="$_name-$pkgver" +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_archive.tar.gz") sha256sums=('6705702829320f0cd6a9d23e314c797b4309594a4d36ae6d456cfdf68b310d5f') build() { - cd "$_name-$pkgver" + cd "$_archive" python setup.py build } package() { - cd "$_name-$pkgver" + cd "$_archive" python setup.py install --root="$pkgdir" --optimize=1 --skip-build } |