[arch-commits] Commit in python-pytest-testinfra/repos/community-any (2 files)
David Runge
dvzrv at gemini.archlinux.org
Fri Dec 10 17:52:15 UTC 2021
Date: Friday, December 10, 2021 @ 17:52:14
Author: dvzrv
Revision: 1068137
archrelease: copy trunk to community-any
Added:
python-pytest-testinfra/repos/community-any/PKGBUILD
(from rev 1068136, python-pytest-testinfra/trunk/PKGBUILD)
Deleted:
python-pytest-testinfra/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 57 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-10 17:52:07 UTC (rev 1068136)
+++ PKGBUILD 2021-12-10 17:52:14 UTC (rev 1068137)
@@ -1,59 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: Lex Black <autumn-wind at web.de>
-# Contributor: gardar <aur at gardar.net>
-# Contributor: Morten Linderud <morten at linderud.pw>
-
-_name=pytest-testinfra
-pkgname=python-pytest-testinfra
-pkgver=6.4.0
-pkgrel=1
-pkgdesc='Testinfra test your infrastructures'
-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')
-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'
- '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=('acd2c7f9daeb391815a32c972a3542c0d643a716f3cffcb66f4203435ebac789333edb91c83d2778ae8da93b676b245fd47821bca9218faa3e7b50e6764087f4')
-b2sums=('2baf5940e8736cbe78d8017a82b3a8fdb6df95b89acccd49ecd354447b7ea88079f48211e0acea46a0d8702b67609fe6f85f730c66e781a99d8a92b52b3c99b9')
-
-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"
- pytest -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- # man page
- 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}"
-}
Copied: python-pytest-testinfra/repos/community-any/PKGBUILD (from rev 1068136, python-pytest-testinfra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-10 17:52:14 UTC (rev 1068137)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: Lex Black <autumn-wind at web.de>
+# Contributor: gardar <aur at gardar.net>
+# Contributor: Morten Linderud <morten at linderud.pw>
+
+_name=pytest-testinfra
+pkgname=python-pytest-testinfra
+pkgver=6.5.0
+pkgrel=1
+pkgdesc='Testinfra test your infrastructures'
+arch=(any)
+url="https://github.com/pytest-dev/pytest-testinfra"
+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'
+ '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'
+ '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')
+
+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"
+ pytest -v
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+ # man page
+ 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}"
+}
More information about the arch-commits
mailing list