Date: Friday, January 6, 2023 @ 15:22:07
Author: felixonmars
Revision: 1378631
archrelease: copy trunk to community-any
Added:
python-yaspin/repos/community-any/PKGBUILD
(from rev 1378630, python-yaspin/trunk/PKGBUILD)
Deleted:
python-yaspin/repos/community-any/PKGBUILD
----------+
PKGBUILD | 67 +++++++++++++++++++++++++++----------------------------------
1 file changed, 30 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-06 15:21:55 UTC (rev 1378630)
+++ PKGBUILD 2023-01-06 15:22:07 UTC (rev 1378631)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-yaspin
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="Yet Another Terminal Spinner"
-url="https://github.com/pavdmyt/yaspin"
-license=('MIT')
-arch=('any')
-depends=('python-termcolor')
-makedepends=('python-build' 'python-installer' 'python-poetry-core')
-checkdepends=('python-pytest')
-source=("https://github.com/pavdmyt/yaspin/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('5fa5126d940ceaf44386eea4bd185e57ae1289b4059149d27194d16a5efbafb45faa737895eb6ba0d8e35ea0b33c26f31af543ceb55041058bc9a2cb3b053e4e')
-
-prepare() {
- cd yaspin-$pkgver
- # https://github.com/pavdmyt/yaspin/issues/211
- sed -i 's/^termcolor-whl =.*$/termcolor = "^2.0.0"/' pyproject.toml
-}
-
-build() {
- cd yaspin-$pkgver
- python -m build --no-isolation --wheel
-}
-
-check() {
- cd yaspin-$pkgver
- python -m pytest
-}
-
-package() {
- cd yaspin-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-yaspin/repos/community-any/PKGBUILD (from rev 1378630,
python-yaspin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-06 15:22:07 UTC (rev 1378631)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-yaspin
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('any')
+depends=('python-termcolor')
+makedepends=('python-build' 'python-installer' 'python-poetry-core')
+checkdepends=('python-pytest')
+source=("https://github.com/pavdmyt/yaspin/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('0e18b7eef0a2a0b76d0600763646f82231c0da671c05394af7d4ecaedf9c3b8b9fc7617b6b867e8c6cacdeb888194d72ac9c116c38888f9b88c8232926860ed6')
+
+build() {
+ cd yaspin-$pkgver
+ python -m build --no-isolation --wheel
+}
+
+check() {
+ cd yaspin-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd yaspin-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}