[arch-commits] Commit in python-testinfra/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Tue Jul 21 10:24:39 UTC 2020


    Date: Tuesday, July 21, 2020 @ 10:24:39
  Author: dvzrv
Revision: 664709

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  113 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-21 10:24:22 UTC (rev 664708)
+++ PKGBUILD	2020-07-21 10:24:39 UTC (rev 664709)
@@ -1,56 +0,0 @@
-# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
-# Contributor: David Runge <dvzrv 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=testinfra
-pkgname=python-testinfra
-pkgver=5.2.1
-pkgrel=1
-pkgdesc='Testinfra test your infrastructures'
-url="https://github.com/philpep/testinfra"
-arch=('any')
-license=('Apache')
-depends=('python-pytest')
-makedepends=('python-setuptools_scm' 'python-hacking' 'python-sphinx')
-checkdepends=('python-mock' 'python-paramiko' 'python-pytest-cov'
-'python-pytest-xdist' 'python-pywinrm' 'python-tornado' 'ansible' '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=('d5eaac6616d48d033a44ec18026ba34a33185b8f219a0b07cd7023b583c5e67fa8486756fc4f1ecfde16f119be533c757a70252c305399a0337626fcf8650461')
-
-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 664708, python-testinfra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-21 10:24:39 UTC (rev 664709)
@@ -0,0 +1,57 @@
+# Maintainer: Christian Rebischke <chris.rebischke at archlinux.org>
+# Contributor: David Runge <dvzrv 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=testinfra
+pkgname=python-testinfra
+pkgver=5.2.2
+pkgrel=1
+pkgdesc='Testinfra test your infrastructures'
+url="https://github.com/philpep/testinfra"
+arch=('any')
+license=('Apache')
+depends=('python-pytest')
+makedepends=('python-setuptools_scm' 'python-hacking' 'python-sphinx')
+checkdepends=('python-mock' 'python-paramiko' 'python-pytest-cov'
+'python-pytest-xdist' 'python-pywinrm' 'python-tornado' 'ansible' '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=('3516f1229771c81487464f56e25c3ceb80aed302279bfe9e362bd41676255ded1fd83a7b6a01b8d41b5b3e896d7296275a79723a3d8c0dd5e474dc3afa7f872c')
+b2sums=('b605d444a6d7aac4c6e8d78b1fe7f5e36c99276287b0702605c424550eebf5d6e6349006376f8d3cc42624d33a7818073331d7f2ed2c48ca03e5dcb081b407b1')
+
+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}"
+}



More information about the arch-commits mailing list