[arch-commits] Commit in termdown/trunk (PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Sep 6 22:31:02 UTC 2022
Date: Tuesday, September 6, 2022 @ 22:31:02
Author: polyzen
Revision: 1295997
upgpkg: termdown 1.18.0-3: Use PEP 517
Modified:
termdown/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 22:29:46 UTC (rev 1295996)
+++ PKGBUILD 2022-09-06 22:31:02 UTC (rev 1295997)
@@ -2,13 +2,14 @@
pkgname=termdown
pkgver=1.18.0
-pkgrel=2
+pkgrel=3
pkgdesc='Countdown timer and stopwatch in your terminal'
arch=('any')
url=https://github.com/trehn/termdown
license=('GPL3')
depends=('python-click' 'python-dateutil' 'python-pyfiglet')
-makedepends=('python-setuptools')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+ 'python-wheel')
optdepends=('espeak-ng: for spoken countdown')
source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz")
sha256sums=('9165df7afd74a442432ba1755c6da3e017801995cf0a17f794295fcb2fd6dd1e')
@@ -16,10 +17,10 @@
build() {
cd termdown-$pkgver
- python setup.py build
+ python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
cd termdown-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ python -m installer --destdir="$pkgdir" dist/*.whl
}
More information about the arch-commits
mailing list