Date: Monday, August 16, 2021 @ 12:55:19 Author: felixonmars Revision: 1000973
archrelease: copy trunk to community-any Added: python-yaspin/repos/community-any/PKGBUILD (from rev 1000972, python-yaspin/trunk/PKGBUILD) Deleted: python-yaspin/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-16 12:55:08 UTC (rev 1000972) +++ PKGBUILD 2021-08-16 12:55:19 UTC (rev 1000973) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-yaspin -pkgver=2.0.0 -pkgrel=1 -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=('5e3be4b8870ea37284b6efea939bbd5a9b6864d663812e163ec76da7f4ba1d04ab14234b0d51a6e8f0947cc622d3ff84d3584cb528b3ba86edaeb9ec53209ecc') - -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 1000972, python-yaspin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-16 12:55:19 UTC (rev 1000973) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-yaspin +pkgver=2.1.0 +pkgrel=1 +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/ +}