[arch-commits] Commit in termdown/trunk (PKGBUILD)

2022-09-06 Thread Daniel M. Capella via arch-commits
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
===
--- PKGBUILD2022-09-06 22:29:46 UTC (rev 1295996)
+++ PKGBUILD2022-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
 }



[arch-commits] Commit in termdown/trunk (PKGBUILD)

2021-11-10 Thread Daniel M. Capella via arch-commits
Date: Wednesday, November 10, 2021 @ 20:54:13
  Author: polyzen
Revision: 1040339

upgpkg: termdown 1.18.0-1

Modified:
  termdown/trunk/PKGBUILD

--+
 PKGBUILD |   18 +-
 1 file changed, 5 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-11-10 20:53:37 UTC (rev 1040338)
+++ PKGBUILD2021-11-10 20:54:13 UTC (rev 1040339)
@@ -1,8 +1,8 @@
 # Maintainer: Daniel M. Capella 
 
 pkgname=termdown
-pkgver=1.17.0
-pkgrel=4
+pkgver=1.18.0
+pkgrel=1
 pkgdesc='Countdown timer and stopwatch in your terminal'
 arch=('any')
 url=https://github.com/trehn/termdown
@@ -10,18 +10,10 @@
 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";
-
'termdown-espeak-ng.patch::https://github.com/trehn/termdown/commit/2e3fe87ede413dc9378e5bc2e3b16589dfe99a2f.patch')
-sha256sums=('0ad7b7ec41b0a112ef3aa1fd429bace570fb838c10a079cc2198b9aa22c6d521'
-'a6ca9c281794bb5bc4f4c00325e50dbfa270b64aebb995a1dfc207acb17c08d8')
-b2sums=('e8576a2706fb0b958c57789f32f3e9d962596d4c78c3c7ef1683dac8e8d0c7af1e7e738b58dfd5b127b43fb5dd40ef9d1b68c3e4dd0d2468a04bbdfbd89dcc8e'
-
'8de6966b09dac8ad98e8ee610ac3c5ed950dedf65465c38cc5c869a32af55c055329ee3ea8aaeecc738e2b1fd3c58987a44882e6978d2a720d980f6811478b43')
+source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";)
+sha256sums=('9165df7afd74a442432ba1755c6da3e017801995cf0a17f794295fcb2fd6dd1e')
+b2sums=('6a04dba81de96bb7197c68ac0cea981b19f8ba5e0be683d2f748df9289dba85ef2394648e8a0cfd593c93567d4e182d148d967f7944c44743fa8e809c94525e7')
 
-prepare() {
-  cd termdown-$pkgver
-  patch --forward --strip=1 --input=../termdown-espeak-ng.patch
-}
-
 build() {
   cd termdown-$pkgver
   python setup.py build



[arch-commits] Commit in termdown/trunk (PKGBUILD)

2021-09-02 Thread Daniel M. Capella via arch-commits
Date: Friday, September 3, 2021 @ 00:24:10
  Author: polyzen
Revision: 1010641

upgpkg: termdown 1.17.0-4: Backport espeak-ng support

Modified:
  termdown/trunk/PKGBUILD

--+
 PKGBUILD |   19 +--
 1 file changed, 13 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-09-03 00:19:35 UTC (rev 1010640)
+++ PKGBUILD2021-09-03 00:24:10 UTC (rev 1010641)
@@ -2,7 +2,7 @@
 
 pkgname=termdown
 pkgver=1.17.0
-pkgrel=3
+pkgrel=4
 pkgdesc='Countdown timer and stopwatch in your terminal'
 arch=('any')
 url=https://github.com/trehn/termdown
@@ -9,12 +9,19 @@
 license=('GPL3')
 depends=('python-click' 'python-dateutil' 'python-pyfiglet')
 makedepends=('python-setuptools')
-optdepends=('espeak: for spoken countdown'
-'espeak-ng-espeak: for spoken countdown')
-source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";)
-sha256sums=('0ad7b7ec41b0a112ef3aa1fd429bace570fb838c10a079cc2198b9aa22c6d521')
-b2sums=('e8576a2706fb0b958c57789f32f3e9d962596d4c78c3c7ef1683dac8e8d0c7af1e7e738b58dfd5b127b43fb5dd40ef9d1b68c3e4dd0d2468a04bbdfbd89dcc8e')
+optdepends=('espeak-ng: for spoken countdown')
+source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";
+
'termdown-espeak-ng.patch::https://github.com/trehn/termdown/commit/2e3fe87ede413dc9378e5bc2e3b16589dfe99a2f.patch')
+sha256sums=('0ad7b7ec41b0a112ef3aa1fd429bace570fb838c10a079cc2198b9aa22c6d521'
+'a6ca9c281794bb5bc4f4c00325e50dbfa270b64aebb995a1dfc207acb17c08d8')
+b2sums=('e8576a2706fb0b958c57789f32f3e9d962596d4c78c3c7ef1683dac8e8d0c7af1e7e738b58dfd5b127b43fb5dd40ef9d1b68c3e4dd0d2468a04bbdfbd89dcc8e'
+
'8de6966b09dac8ad98e8ee610ac3c5ed950dedf65465c38cc5c869a32af55c055329ee3ea8aaeecc738e2b1fd3c58987a44882e6978d2a720d980f6811478b43')
 
+prepare() {
+  cd termdown-$pkgver
+  patch --forward --strip=1 --input=../termdown-espeak-ng.patch
+}
+
 build() {
   cd termdown-$pkgver
   python setup.py build



[arch-commits] Commit in termdown/trunk (PKGBUILD)

2021-02-08 Thread Daniel M. Capella via arch-commits
Date: Tuesday, February 9, 2021 @ 07:18:21
  Author: polyzen
Revision: 850807

upgpkg: termdown 1.17.0-3: Move setuptools to makedeps

pyfiglet uses pkg_resources anyhow.

https://archlinux.org/todo/cleanup-of-python-setuptools-dependency-for-console-scripts/

Modified:
  termdown/trunk/PKGBUILD

--+
 PKGBUILD |6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-02-09 07:13:04 UTC (rev 850806)
+++ PKGBUILD2021-02-09 07:18:21 UTC (rev 850807)
@@ -2,16 +2,18 @@
 
 pkgname=termdown
 pkgver=1.17.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' 
'python-setuptools')
+depends=('python-click' 'python-dateutil' 'python-pyfiglet')
+makedepends=('python-setuptools')
 optdepends=('espeak: for spoken countdown'
 'espeak-ng-espeak: for spoken countdown')
 
source=("https://files.pythonhosted.org/packages/source/t/termdown/termdown-$pkgver.tar.gz";)
 sha256sums=('0ad7b7ec41b0a112ef3aa1fd429bace570fb838c10a079cc2198b9aa22c6d521')
+b2sums=('e8576a2706fb0b958c57789f32f3e9d962596d4c78c3c7ef1683dac8e8d0c7af1e7e738b58dfd5b127b43fb5dd40ef9d1b68c3e4dd0d2468a04bbdfbd89dcc8e')
 
 build() {
   cd termdown-$pkgver