[arch-commits] Commit in python-yaspin/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 21 20:15:49 UTC 2021
Date: Sunday, March 21, 2021 @ 20:15:48
Author: felixonmars
Revision: 898476
archrelease: copy trunk to community-any
Added:
python-yaspin/repos/community-any/PKGBUILD
(from rev 898475, python-yaspin/trunk/PKGBUILD)
Deleted:
python-yaspin/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-21 20:15:39 UTC (rev 898475)
+++ PKGBUILD 2021-03-21 20:15:48 UTC (rev 898476)
@@ -1,40 +0,0 @@
-# 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/
-}
Copied: python-yaspin/repos/community-any/PKGBUILD (from rev 898475, python-yaspin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-21 20:15:48 UTC (rev 898476)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-yaspin
+pkgver=1.5.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=('532de0b781e515835d088dbdac44b132c2cef8596d503ccec271f00245a19195c76fdabe0ba121f269d26d2686942fffcfac65402c3eb95ccfd90741f6f298a9')
+
+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