Date: Friday, December 10, 2021 @ 17:52:07 Author: dvzrv Revision: 1068136
upgpkg: python-pytest-testinfra 6.5.0-1: Upgrade to 6.5.0. Simplify quoting in file. Simplify installation in package() to adhere to python package guidelines. Modified: python-pytest-testinfra/trunk/PKGBUILD ----------+ PKGBUILD | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-12-10 17:51:41 UTC (rev 1068135) +++ PKGBUILD 2021-12-10 17:52:07 UTC (rev 1068136) @@ -6,16 +6,16 @@ _name=pytest-testinfra pkgname=python-pytest-testinfra -pkgver=6.4.0 -pkgrel=2 +pkgver=6.5.0 +pkgrel=1 pkgdesc='Testinfra test your infrastructures' +arch=(any) url="https://github.com/pytest-dev/pytest-testinfra" -arch=('any') -license=('Apache') -depends=('python-pytest') -makedepends=('python-setuptools-scm' 'python-sphinx') -checkdepends=('ansible' 'python-mock' 'python-paramiko' 'python-pytest-cov' -'python-pytest-xdist' 'python-pywinrm' 'python-tornado' 'salt') +license=(Apache) +depends=(python-pytest) +makedepends=(python-setuptools-scm python-sphinx) +checkdepends=(ansible python-mock python-paramiko python-pytest-cov +python-pytest-xdist python-pywinrm python-tornado salt) optdepends=('ansible: for tests using ansible inventories' 'docker: for test running docker containers' 'kubectl: for test running containers in kubernetes' @@ -24,12 +24,12 @@ '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') +conflicts=(python-testinfra) +provides=(python-testinfra) +replaces=(python-testinfra) source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('acd2c7f9daeb391815a32c972a3542c0d643a716f3cffcb66f4203435ebac789333edb91c83d2778ae8da93b676b245fd47821bca9218faa3e7b50e6764087f4') -b2sums=('2baf5940e8736cbe78d8017a82b3a8fdb6df95b89acccd49ecd354447b7ea88079f48211e0acea46a0d8702b67609fe6f85f730c66e781a99d8a92b52b3c99b9') +sha512sums=('f7fcf8facafc0d99b06f55f4241c39b610ff7648b0049c584a75b46944b522b957c98c353f147d74bc8a72f677a179380c456b0868f9dae9af514a9c95d55b13') +b2sums=('98a8f10f7cf62f204c117d295496a7dfa4de476f5cde457af6f5bc71b22e12e9f02b4893adc6b0d1be11915ed652f628c2574fd44750c82c690e3d8326e29c4c') prepare() { mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" @@ -49,11 +49,9 @@ package() { cd "${pkgname}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + python setup.py install --root="${pkgdir}" --optimize=1 # man page - install -Dm 644 doc/build/man/*.1 \ - -t "${pkgdir}/usr/share/man/man1/" + install -Dm 644 doc/build/man/*.1 -t "${pkgdir}/usr/share/man/man1/" # docs - install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst \ - -t "${pkgdir}/usr/share/doc/${pkgname}" + install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}" }