Date: Thursday, September 3, 2020 @ 18:21:34 Author: dvzrv Revision: 697522
archrelease: copy trunk to community-any Added: python-testinfra/repos/community-any/PKGBUILD (from rev 697521, python-testinfra/trunk/PKGBUILD) Deleted: python-testinfra/repos/community-any/PKGBUILD ----------+ PKGBUILD | 114 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-09-03 18:21:24 UTC (rev 697521) +++ PKGBUILD 2020-09-03 18:21:34 UTC (rev 697522) @@ -1,57 +0,0 @@ -# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> -# Contributor: David Runge <dv...@archlinux.org> -# Contributor: Lex Black <autumn-w...@web.de> -# Contributor: gardar <a...@gardar.net> -# Contributor: Morten Linderud <mor...@linderud.pw> - -_name=testinfra -pkgname=python-testinfra -pkgver=5.3.0 -pkgrel=1 -pkgdesc='Testinfra test your infrastructures' -url="https://github.com/philpep/testinfra" -arch=('any') -license=('Apache') -depends=('python-pytest') -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' - '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') -source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") -sha512sums=('7bab1952d906e8e5e948e9d1997bfab3c46cafdff04f7d69e16f6cffe8a3b8ea380cc4e4f75c9d9a686a5cb090467730a867a880f41a1e2340032482ad07fb29') -b2sums=('ba9be17e3d31a00bd0b9c0a05401509ab4f2a138703a924fcb748343e99e40be8e1e77b283a97611c556902d994113241a923b3e7b3bd9449b541711debc1db5') - -prepare() { - mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" -} - -build() { - cd "${pkgname}-${pkgver}" - python setup.py build - make -C doc man -} - -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' -} - -package() { - cd "${pkgname}-${pkgver}" - python setup.py install --root="${pkgdir}" --optimize=1 --skip-build - # man page - install -Dm 644 doc/build/man/${_name}.1 \ - "${pkgdir}/usr/share/man/man1/${pkgname}.1" - # docs - install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst \ - -t "${pkgdir}/usr/share/doc/${pkgname}" -} Copied: python-testinfra/repos/community-any/PKGBUILD (from rev 697521, python-testinfra/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-09-03 18:21:34 UTC (rev 697522) @@ -0,0 +1,57 @@ +# Maintainer: Christian Rebischke <chris.rebisc...@archlinux.org> +# Contributor: David Runge <dv...@archlinux.org> +# Contributor: Lex Black <autumn-w...@web.de> +# Contributor: gardar <a...@gardar.net> +# Contributor: Morten Linderud <mor...@linderud.pw> + +_name=testinfra +pkgname=python-testinfra +pkgver=5.3.1 +pkgrel=1 +pkgdesc='Testinfra test your infrastructures' +url="https://github.com/philpep/testinfra" +arch=('any') +license=('Apache') +depends=('python-pytest') +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' + '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') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('f28cb5fdd811a1c9fcd7f5ee9257f85eed3d23bbfc37ab11f6df59061bd51fe2289b2ce4e3868aa63dd7e83e8dc7c00f731f8384fcf0beca42f966eacc90bc8d') +b2sums=('a859513f8ace452e264c8a0fb55e2bb65fc0444dcab5230a60975ee3a212b0e2bcdbb2e2249caa9a503f4c0e304095424d90ba396ca7e0c04c652c600f07e6ef') + +prepare() { + mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}" +} + +build() { + cd "${pkgname}-${pkgver}" + python setup.py build + make -C doc man +} + +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' +} + +package() { + cd "${pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + # man page + install -Dm 644 doc/build/man/${_name}.1 \ + "${pkgdir}/usr/share/man/man1/${pkgname}.1" + # docs + install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst \ + -t "${pkgdir}/usr/share/doc/${pkgname}" +}