[arch-commits] Commit in python-terminado/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue May 17 19:23:02 UTC 2022
Date: Tuesday, May 17, 2022 @ 19:23:02
Author: arojas
Revision: 1207704
Update to 0.15.0
Modified:
python-terminado/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-17 19:19:13 UTC (rev 1207703)
+++ PKGBUILD 2022-05-17 19:23:02 UTC (rev 1207704)
@@ -3,7 +3,7 @@
pkgname=python-terminado
_pkgname=terminado
-pkgver=0.13.3
+pkgver=0.15.0
pkgrel=1
pkgdesc="Terminals served to term.js using Tornado websockets"
url="https://github.com/takluyver/terminado"
@@ -10,10 +10,10 @@
arch=('any')
license=('BSD')
depends=('python-tornado' 'python-ptyprocess')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+makedepends=('python-build' 'python-installer' 'python-hatchling')
checkdepends=('python-pytest')
source=("https://files.pythonhosted.org/packages/source/t/terminado/terminado-$pkgver.tar.gz")
-md5sums=('2847ae71834cf485432e58d40973920e')
+md5sums=('e3fe92b48b3885ffa19b9890ed41578f')
build() {
cd $_pkgname-$pkgver
@@ -26,11 +26,11 @@
# Workaround for readline 8.1
echo "set enable-bracketed-paste off" > .inputrc
INPUTRC=$PWD/.inputrc \
- python setup.py test
+ pytest -v
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
- python3 -m installer --destdir="$pkgdir/" dist/*.whl
+ python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/python-$_pkgname/LICENSE"
}
More information about the arch-commits
mailing list