[arch-commits] Commit in python-yaspin/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat May 9 17:30:09 UTC 2020
Date: Saturday, May 9, 2020 @ 17:30:07
Author: felixonmars
Revision: 626039
upgpkg: python-yaspin 0.17.0-1
Modified:
python-yaspin/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-09 17:28:19 UTC (rev 626038)
+++ PKGBUILD 2020-05-09 17:30:07 UTC (rev 626039)
@@ -1,7 +1,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-yaspin
-pkgver=0.16.0
+pkgver=0.17.0
pkgrel=1
pkgdesc="Yet Another Terminal Spinner"
url="https://github.com/pavdmyt/yaspin"
@@ -8,11 +8,20 @@
license=('MIT')
arch=('any')
depends=('python')
-makedepends=('python-setuptools')
+makedepends=('python-dephell')
checkdepends=('python-pytest-runner')
source=("$pkgname-$pkgver.tar.gz::https://github.com/pavdmyt/yaspin/archive/v$pkgver.tar.gz")
-sha512sums=('91b0c9f10241ed2dd11a58e703a238c8690b8cef871e858567d2b0ac65011160c6c2ae342c8f9d43801ea3f80c350aa780bafed5bc33d008483e7739e35e12a1')
+sha512sums=('e059737d8f2b46929c8044ade0203d9f1298fc42a7354a984f385de5a72ebee06f2d7cbccb6c692c283b76139b825399901047ac0d6899147cf7a9532cc5b142')
+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
More information about the arch-commits
mailing list