[arch-commits] Commit in termdown/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Sep 6 22:31:21 UTC 2022
Date: Tuesday, September 6, 2022 @ 22:31:21
Author: polyzen
Revision: 1295998
archrelease: copy trunk to community-any
Added:
termdown/repos/community-any/PKGBUILD
(from rev 1295997, termdown/trunk/PKGBUILD)
Deleted:
termdown/repos/community-any/PKGBUILD
----------+
PKGBUILD | 53 ++++++++++++++++++++++++++---------------------------
1 file changed, 26 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-06 22:31:02 UTC (rev 1295997)
+++ PKGBUILD 2022-09-06 22:31:21 UTC (rev 1295998)
@@ -1,27 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=termdown
-pkgver=1.18.0
-pkgrel=2
-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')
-optdepends=('espeak-ng: for spoken countdown')
-source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz")
-sha256sums=('9165df7afd74a442432ba1755c6da3e017801995cf0a17f794295fcb2fd6dd1e')
-b2sums=('6a04dba81de96bb7197c68ac0cea981b19f8ba5e0be683d2f748df9289dba85ef2394648e8a0cfd593c93567d4e182d148d967f7944c44743fa8e809c94525e7')
-
-build() {
- cd termdown-$pkgver
- python setup.py build
-}
-
-package() {
- cd termdown-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim:set ts=2 sw=2 et:
Copied: termdown/repos/community-any/PKGBUILD (from rev 1295997, termdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-06 22:31:21 UTC (rev 1295998)
@@ -0,0 +1,26 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=termdown
+pkgver=1.18.0
+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-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')
+b2sums=('6a04dba81de96bb7197c68ac0cea981b19f8ba5e0be683d2f748df9289dba85ef2394648e8a0cfd593c93567d4e182d148d967f7944c44743fa8e809c94525e7')
+
+build() {
+ cd termdown-$pkgver
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd termdown-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}
More information about the arch-commits
mailing list