[arch-commits] Commit in python-pytest-testinfra/repos/community-any (2 files)

David Runge dvzrv at gemini.archlinux.org
Thu Feb 10 16:17:23 UTC 2022


    Date: Thursday, February 10, 2022 @ 16:17:23
  Author: dvzrv
Revision: 1130970

archrelease: copy trunk to community-any

Added:
  python-pytest-testinfra/repos/community-any/PKGBUILD
    (from rev 1130969, python-pytest-testinfra/trunk/PKGBUILD)
Deleted:
  python-pytest-testinfra/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  107 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 50 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-10 16:17:15 UTC (rev 1130969)
+++ PKGBUILD	2022-02-10 16:17:23 UTC (rev 1130970)
@@ -1,57 +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.5.0
-pkgrel=2
-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}"
-}

Copied: python-pytest-testinfra/repos/community-any/PKGBUILD (from rev 1130969, python-pytest-testinfra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-10 16:17:23 UTC (rev 1130970)
@@ -0,0 +1,50 @@
+# 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.6.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')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('f78f1cd5240e157d4e2949178f29900a7b85a6065b4113b18273af3f1fef6b19c859192f59426b93eba48418bb89d163ad1d951e97d4fdfcea4394635a05140a')
+b2sums=('c7583685aeb770f76e4679730599909b8fff53d1909664f55e2d35f7f5a6a96741e3aa56b81da464c2d474d1d5f646892e36a4f9b6938327cb526476536b0b6c')
+
+build() {
+  cd "${_name}-${pkgver}"
+  python setup.py build
+  make -C doc man
+}
+
+check() {
+  cd "${_name}-${pkgver}"
+  export PYTHONPATH="build:$PYTHONPATH"
+  pytest -v
+}
+
+package() {
+  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/"
+  # docs
+  install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list