Date: Thursday, February 10, 2022 @ 16:17:15 Author: dvzrv Revision: 1130969
upgpkg: python-pytest-testinfra 6.6.0-1: Upgrade to 6.6.0. Modified: python-pytest-testinfra/trunk/PKGBUILD ----------+ PKGBUILD | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-10 16:09:04 UTC (rev 1130968) +++ PKGBUILD 2022-02-10 16:17:15 UTC (rev 1130969) @@ -6,8 +6,8 @@ _name=pytest-testinfra pkgname=python-pytest-testinfra -pkgver=6.5.0 -pkgrel=2 +pkgver=6.6.0 +pkgrel=1 pkgdesc='Testinfra test your infrastructures' arch=(any) url="https://github.com/pytest-dev/pytest-testinfra" @@ -24,31 +24,24 @@ 'python-paramiko: for testing remote hosts' 'python-pywinrm: for testing on Windows hosts' 'salt: for tests using saltstack') -conflicts=(python-testinfra) -provides=(python-testinfra) -replaces=(python-testinfra) source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('f7fcf8facafc0d99b06f55f4241c39b610ff7648b0049c584a75b46944b522b957c98c353f147d74bc8a72f677a179380c456b0868f9dae9af514a9c95d55b13') -b2sums=('98a8f10f7cf62f204c117d295496a7dfa4de476f5cde457af6f5bc71b22e12e9f02b4893adc6b0d1be11915ed652f628c2574fd44750c82c690e3d8326e29c4c') +sha512sums=('f78f1cd5240e157d4e2949178f29900a7b85a6065b4113b18273af3f1fef6b19c859192f59426b93eba48418bb89d163ad1d951e97d4fdfcea4394635a05140a') +b2sums=('c7583685aeb770f76e4679730599909b8fff53d1909664f55e2d35f7f5a6a96741e3aa56b81da464c2d474d1d5f646892e36a4f9b6938327cb526476536b0b6c') -prepare() { - mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" -} - build() { - cd "${pkgname}-${pkgver}" + cd "${_name}-${pkgver}" python setup.py build make -C doc man } check() { - cd "${pkgname}-${pkgver}" + cd "${_name}-${pkgver}" export PYTHONPATH="build:$PYTHONPATH" pytest -v } package() { - cd "${pkgname}-${pkgver}" + cd "${_name}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 # man page install -Dm 644 doc/build/man/*.1 -t "${pkgdir}/usr/share/man/man1/"
