Date: Saturday, February 22, 2020 @ 11:56:15 Author: felixonmars Revision: 578410
archrelease: copy trunk to community-any Added: python-vistir/repos/community-any/PKGBUILD (from rev 578409, python-vistir/trunk/PKGBUILD) Deleted: python-vistir/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-22 11:56:07 UTC (rev 578409) +++ PKGBUILD 2020-02-22 11:56:15 UTC (rev 578410) @@ -1,32 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-vistir -pkgver=0.4.3 -pkgrel=3 -pkgdesc="Miscellaneous utilities for dealing with filesystems, paths, projects, subprocesses, and more" -url="https://github.com/sarugaku/vistir" -license=('BSD') -arch=('any') -depends=('python-colorama' 'python-requests' 'python-six') -makedepends=('python-setuptools' 'python-wheel') -checkdepends=('python-pytest-runner' 'python-hypothesis-fspaths' 'python-pytest-cov' - 'python-pytest-timeout' 'python-yaspin') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/vistir/archive/$pkgver.tar.gz") -sha512sums=('60da4b1886fc0642530f3d3159844a2ff9401952584d72acdb9fe1a8e3578f05ba5a784f3f77a7379dcb1d93f2aa5aecd48a392b8acea1126b8e5be99d3d2eec') - -build() { - cd vistir-$pkgver - python setup.py build -} - -check() { - cd vistir-$pkgver - python setup.py pytest -} - -package() { - cd vistir-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ -} Copied: python-vistir/repos/community-any/PKGBUILD (from rev 578409, python-vistir/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-22 11:56:15 UTC (rev 578410) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-vistir +pkgver=0.5.0 +pkgrel=1 +pkgdesc="Miscellaneous utilities for dealing with filesystems, paths, projects, subprocesses, and more" +url="https://github.com/sarugaku/vistir" +license=('BSD') +arch=('any') +depends=('python-colorama' 'python-requests' 'python-six') +makedepends=('python-setuptools' 'python-wheel') +checkdepends=('python-pytest-runner' 'python-hypothesis-fspaths' 'python-pytest-cov' + 'python-pytest-timeout' 'python-yaspin') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/vistir/archive/$pkgver.tar.gz") +sha512sums=('6a2a87bfb7a3c1090e764eeb1ebf46f0155cff0270e9a88ffcc9cbb59f6a25c709213e77b06035da9fc55f810e4f94aa068dacb7050d0c46fd8ade9a36e70c9f') + +build() { + cd vistir-$pkgver + python setup.py build +} + +check() { + cd vistir-$pkgver + LC_CTYPE=en_US.UTF-8 python setup.py pytest +} + +package() { + cd vistir-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}