Date: Saturday, May 25, 2019 @ 17:41:10 Author: felixonmars Revision: 470717
archrelease: copy trunk to community-any Added: python-vistir/repos/community-any/ python-vistir/repos/community-any/PKGBUILD (from rev 470716, python-vistir/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: python-vistir/repos/community-any/PKGBUILD (from rev 470716, python-vistir/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2019-05-25 17:41:10 UTC (rev 470717) @@ -0,0 +1,32 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-vistir +pkgver=0.4.2 +pkgrel=2 +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=('11c6003f3c5c26540ca1875f93b4cb8edea7efded8076c53e8dabed4c638a045b78c4f20b0f0e0fcca2580582f127c2a6bb12df7172acdb742f91fe410f90fd8') + +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/ +}