Date: Tuesday, July 21, 2020 @ 20:10:55 Author: felixonmars Revision: 664774
archrelease: copy trunk to community-any Added: python-yaspin/repos/community-any/PKGBUILD (from rev 664773, python-yaspin/trunk/PKGBUILD) Deleted: python-yaspin/repos/community-any/PKGBUILD ----------+ PKGBUILD | 80 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-21 20:10:40 UTC (rev 664773) +++ PKGBUILD 2020-07-21 20:10:55 UTC (rev 664774) @@ -1,40 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-yaspin -pkgver=0.17.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=('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 -} - -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 664773, python-yaspin/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-21 20:10:55 UTC (rev 664774) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-yaspin +pkgver=0.18.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=('daa8ee8272ee48afb5cb0685da4daa4e64d2ce31dda7d1e818655a9c2360242068e234b38ffdb80df766724836668fe5da375817a33ad292804384bc335bb09f') + +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/ +}