[arch-commits] Commit in python-yaspin/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Jan 3 20:28:47 UTC 2022


    Date: Monday, January 3, 2022 @ 20:28:47
  Author: felixonmars
Revision: 1092559

archrelease: copy trunk to community-any

Added:
  python-yaspin/repos/community-any/PKGBUILD
    (from rev 1092558, python-yaspin/trunk/PKGBUILD)
Deleted:
  python-yaspin/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 31 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-03 20:28:39 UTC (rev 1092558)
+++ PKGBUILD	2022-01-03 20:28:47 UTC (rev 1092559)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-yaspin
-pkgver=2.1.0
-pkgrel=3
-pkgdesc="Yet Another Terminal Spinner"
-url="https://github.com/pavdmyt/yaspin"
-license=('MIT')
-arch=('any')
-depends=('python-termcolor')
-makedepends=('python-dephell')
-checkdepends=('python-pytest-runner')
-source=("https://github.com/pavdmyt/yaspin/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('ea2379fe052ac7523a6383b51babc867adccbf98938f2ca6755a33fc932fee54c5bc84e91ab09ad1d88b436f55d7bc4f69ae63a13453b7aac3877bcd1efe232a')
-
-prepare() {
-  cd yaspin-$pkgver
-
-  # poetry-generated setup.py is badly broken in several ways, including
-  # distribution of tests in the built package as well as using distutils for
-  # bad metadata. See https://github.com/sdispater/poetry/issues/866
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
-build() {
-  cd yaspin-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd yaspin-$pkgver
-  python setup.py pytest
-}
-
-package() {
-  cd yaspin-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-yaspin/repos/community-any/PKGBUILD (from rev 1092558, python-yaspin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-03 20:28:47 UTC (rev 1092559)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=2.1.0
+pkgrel=4
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('any')
+depends=('python-termcolor')
+makedepends=('python-pyproject2setuppy')
+checkdepends=('python-pytest')
+source=("https://github.com/pavdmyt/yaspin/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ea2379fe052ac7523a6383b51babc867adccbf98938f2ca6755a33fc932fee54c5bc84e91ab09ad1d88b436f55d7bc4f69ae63a13453b7aac3877bcd1efe232a')
+
+build() {
+  cd yaspin-$pkgver
+  python -m pyproject2setuppy build
+}
+
+check() {
+  cd yaspin-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd yaspin-$pkgver
+  python -m pyproject2setuppy install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list