summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiretza2022-06-13 19:46:20 +0200
committerXiretza2022-06-13 19:46:20 +0200
commitc9be820f36399be0118f9522feba9a590807f1ec (patch)
treec3ea959a794a9d67a07e2b78ee12878463c7e119
parent83207a3c6d7b9a0b1bb2d9dd843bce6d5db0a78d (diff)
downloadaur-c9be820f36399be0118f9522feba9a590807f1ec.tar.gz
Update to 1.5.8
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD10
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e2245b8419d..b009fce7ef0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,19 @@
pkgbase = python-pytooling-terminalui
pkgdesc = A set of helpers to implement a text user interface (TUI) in a terminal
- pkgver = 1.5.7
+ pkgver = 1.5.8
pkgrel = 1
url = https://github.com/pyTooling/pyTooling.TerminalUI
arch = any
license = Apache
checkdepends = python-pytest
+ makedepends = python-build
+ makedepends = python-installer
+ makedepends = python-wheel
makedepends = python-setuptools
depends = python
depends = python-colorama
depends = python-pytooling
- source = python-pytooling-terminalui-1.5.7.tar.gz::https://github.com/pyTooling/pyTooling.TerminalUI/archive/v1.5.7.tar.gz
- sha256sums = bc496a68dfd7a8ef8ad0cc1e2e6e068ee08c4e6bd725eafe2ca3f5d91afdcf4c
+ source = python-pytooling-terminalui-1.5.8.tar.gz::https://github.com/pyTooling/pyTooling.TerminalUI/archive/v1.5.8.tar.gz
+ sha256sums = b74e8f5e120bdff3d57053aad35f10600d789d4e9b629264b20bd63d80eaa338
pkgname = python-pytooling-terminalui
diff --git a/PKGBUILD b/PKGBUILD
index b9bf68f3244..a746f2f430d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,21 +3,21 @@
_pkgname='pyTooling.TerminalUI'
pkgname=python-${_pkgname,,}
pkgname=${pkgname/./-}
-pkgver=1.5.7
+pkgver=1.5.8
pkgrel=1
pkgdesc="A set of helpers to implement a text user interface (TUI) in a terminal"
arch=(any)
url="https://github.com/pyTooling/$_pkgname"
license=('Apache')
depends=('python' 'python-colorama' 'python-pytooling')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-wheel' 'python-setuptools')
checkdepends=('python-pytest')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('bc496a68dfd7a8ef8ad0cc1e2e6e068ee08c4e6bd725eafe2ca3f5d91afdcf4c')
+sha256sums=('b74e8f5e120bdff3d57053aad35f10600d789d4e9b629264b20bd63d80eaa338')
build() {
cd "$_pkgname-$pkgver"
- python setup.py build
+ python -m build --wheel --no-isolation
}
check(){
@@ -27,5 +27,5 @@ check(){
package() {
cd "$_pkgname-$pkgver"
- python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}