Date: Friday, March 19, 2021 @ 11:00:45 Author: dvzrv Revision: 894550
upgpkg: python-pytest-testinfra 6.2.0-1: Upgrade to 6.2.0. Add salt to optdepends, as it now supports python3. Modified: python-pytest-testinfra/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-03-19 10:45:07 UTC (rev 894549) +++ PKGBUILD 2021-03-19 11:00:45 UTC (rev 894550) @@ -6,7 +6,7 @@ _name=pytest-testinfra pkgname=python-pytest-testinfra -pkgver=6.1.0 +pkgver=6.2.0 pkgrel=1 pkgdesc='Testinfra test your infrastructures' url="https://github.com/pytest-dev/pytest-testinfra" @@ -16,7 +16,6 @@ makedepends=('python-hacking' 'python-setuptools_scm' 'python-sphinx') checkdepends=('ansible' 'python-mock' 'python-paramiko' 'python-pytest-cov' 'python-pytest-xdist' 'python-pywinrm' 'python-tornado' 'salt') -# TODO: add salt to optdepends, after it has been ported to python3 optdepends=('ansible: for tests using ansible inventories' 'docker: for test running docker containers' 'kubectl: for test running containers in kubernetes' @@ -23,13 +22,14 @@ 'lxd: for test running LXC or LXD containers' 'podman: for test running podman containers' 'python-paramiko: for testing remote hosts' - 'python-pywinrm: for testing on Windows 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=('15c8f3539f63f8587c5b19979215673fb51d476353fd37e35aeb2308a6c4be681f3d247783c87ba0dac68673394ba116fe9fbf32d386baade3f6a8769851d2ec') -b2sums=('ed4787d3ec504a757716a7e5c8e00f9c203db18d22a7fba7da411f9cb1fe89bac156a7f4600684a202bdab3785344c58e22b8ff8f011f7e06707d922bccc4ad9') +sha512sums=('60cb08fa03030ab00cbb5609308aae17af4d6b213769e683ba185277067f3c9ebd84409104d0cfdaf5e899281a2c391f53581ca6502117df392314e77b8499fb') +b2sums=('dbf43324a227d6d3d1b3d0820b117e0995e05cb5820c0cc8581632713dff5617dfc158a3c7de1e6cc4f97cbaeccc04761acfcc74e8a9e266c2c58637ae2c3261') prepare() { mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" @@ -44,8 +44,7 @@ check() { cd "${pkgname}-${pkgver}" export PYTHONPATH="build:$PYTHONPATH" - # salt is not python3 (yet): https://bugs.archlinux.org/task/61129 - pytest -v -k 'not test_backend_importables' + pytest -v } package() {