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

Felix Yan felixonmars at archlinux.org
Sun Feb 28 22:21:38 UTC 2021


    Date: Sunday, February 28, 2021 @ 22:21:38
  Author: felixonmars
Revision: 876159

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-28 22:21:36 UTC (rev 876158)
+++ PKGBUILD	2021-02-28 22:21:38 UTC (rev 876159)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-yaspin
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="Yet Another Terminal Spinner"
-url="https://github.com/pavdmyt/yaspin"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-dephell')
-checkdepends=('python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/pavdmyt/yaspin/archive/v$pkgver.tar.gz")
-sha512sums=('678616341ed86d23e3021df628ae607039ed06d9fccc872f72c45c5a9da1a04215d26c7cfbe647db8bd04593a82d7c78d024778a9ad8d9c56922663c3320a708')
-
-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 876157, python-yaspin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-28 22:21:38 UTC (rev 876159)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="Yet Another Terminal Spinner"
+url="https://github.com/pavdmyt/yaspin"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-dephell')
+checkdepends=('python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pavdmyt/yaspin/archive/v$pkgver.tar.gz")
+sha512sums=('a9b0dbfd98ae377c673159a267bcd6d6e7e4b23ff4a4dc18728a9ed2e1e9de3d117229982dd519311a0008c90910c64aa2d14875ea8bf721f91b170f401aa395')
+
+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/
+}



More information about the arch-commits mailing list