Date: Monday, March 6, 2023 @ 19:01:39 Author: felixonmars Revision: 1416060
archrelease: copy trunk to community-any Added: python-vistir/repos/community-any/PKGBUILD (from rev 1416059, python-vistir/trunk/PKGBUILD) Deleted: python-vistir/repos/community-any/PKGBUILD ----------+ PKGBUILD | 63 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-03-06 19:01:26 UTC (rev 1416059) +++ PKGBUILD 2023-03-06 19:01:39 UTC (rev 1416060) @@ -1,32 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-vistir -pkgver=0.7.5 -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') -makedepends=('python-setuptools' 'python-wheel') -checkdepends=('python-pytest' 'python-hypothesis-fspaths' 'python-pytest-timeout' 'python-requests' - 'python-yaspin') -source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/vistir/archive/v$pkgver.tar.gz") -sha512sums=('8b54a21ff9aa443a89f751ef2f4b881e37bfa0f5bf1add10bda5ab8d56e7358d412794ba33125d4acf8be156077905880d4c28a49261eb3954ded5628ad7997e') - -build() { - cd vistir-$pkgver - python setup.py build -} - -check() { - cd vistir-$pkgver - PYTHONPATH="$PWD/build/lib" 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 1416059, python-vistir/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-03-06 19:01:39 UTC (rev 1416060) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-vistir +pkgver=0.8.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') +makedepends=('python-setuptools' 'python-wheel') +checkdepends=('python-pytest' 'python-hypothesis-fspaths' 'python-pytest-timeout' 'python-requests') +source=("$pkgname-$pkgver.tar.gz::https://github.com/sarugaku/vistir/archive/v$pkgver.tar.gz") +sha512sums=('e417b4e43b71679c4e74ccca2156ff2bdff5180479f8af22a70a359e0e864ba80c0cb2e7bae1a1766280c84b8c02f06be79ae090a3ae8883cc73891bd3f77b44') + +build() { + cd vistir-$pkgver + python setup.py build +} + +check() { + cd vistir-$pkgver + PYTHONPATH="$PWD/build/lib" pytest +} + +package() { + cd vistir-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/ +}