[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-11-12 Thread Felix Yan via arch-commits
Date: Thursday, November 12, 2020 @ 19:50:04
  Author: felixonmars
Revision: 753642

upgpkg: python-testinfra 5.3.1-3: Python 3.9 rebuild

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-12 19:50:00 UTC (rev 753641)
+++ PKGBUILD2020-11-12 19:50:04 UTC (rev 753642)
@@ -7,7 +7,7 @@
 _name=testinfra
 pkgname=python-testinfra
 pkgver=5.3.1
-pkgrel=2
+pkgrel=3
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
 arch=('any')


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-11-09 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 05:13:55
  Author: felixonmars
Revision: 749372

upgpkg: python-testinfra 5.3.1-2: Python 3.9 rebuild

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-10 05:13:52 UTC (rev 749371)
+++ PKGBUILD2020-11-10 05:13:55 UTC (rev 749372)
@@ -7,7 +7,7 @@
 _name=testinfra
 pkgname=python-testinfra
 pkgver=5.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
 arch=('any')


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-09-03 Thread David Runge via arch-commits
Date: Thursday, September 3, 2020 @ 18:21:24
  Author: dvzrv
Revision: 697521

upgpkg: python-testinfra 5.3.1-1: Upgrade to 5.3.1.

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-03 17:16:23 UTC (rev 697520)
+++ PKGBUILD2020-09-03 18:21:24 UTC (rev 697521)
@@ -6,7 +6,7 @@
 
 _name=testinfra
 pkgname=python-testinfra
-pkgver=5.3.0
+pkgver=5.3.1
 pkgrel=1
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
@@ -25,8 +25,8 @@
 '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')
+sha512sums=('f28cb5fdd811a1c9fcd7f5ee9257f85eed3d23bbfc37ab11f6df59061bd51fe2289b2ce4e3868aa63dd7e83e8dc7c00f731f8384fcf0beca42f966eacc90bc8d')
+b2sums=('a859513f8ace452e264c8a0fb55e2bb65fc0444dcab5230a60975ee3a212b0e2bcdbb2e2249caa9a503f4c0e304095424d90ba396ca7e0c04c652c600f07e6ef')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-09-02 Thread David Runge via arch-commits
Date: Wednesday, September 2, 2020 @ 17:46:37
  Author: dvzrv
Revision: 696686

upgpkg: python-testinfra 5.3.0-1: Upgrade to 5.3.0.

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |   12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-02 17:46:35 UTC (rev 696685)
+++ PKGBUILD2020-09-02 17:46:37 UTC (rev 696686)
@@ -6,7 +6,7 @@
 
 _name=testinfra
 pkgname=python-testinfra
-pkgver=5.2.2
+pkgver=5.3.0
 pkgrel=1
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
@@ -13,9 +13,9 @@
 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')
+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'
@@ -25,8 +25,8 @@
 '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')
+sha512sums=('7bab1952d906e8e5e948e9d1997bfab3c46cafdff04f7d69e16f6cffe8a3b8ea380cc4e4f75c9d9a686a5cb090467730a867a880f41a1e2340032482ad07fb29')
+b2sums=('ba9be17e3d31a00bd0b9c0a05401509ab4f2a138703a924fcb748343e99e40be8e1e77b283a97611c556902d994113241a923b3e7b3bd9449b541711debc1db5')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-07-21 Thread David Runge via arch-commits
Date: Tuesday, July 21, 2020 @ 10:24:22
  Author: dvzrv
Revision: 664708

upgpkg: python-testinfra 5.2.2-1: Upgrade to 5.2.2.

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-07-21 10:18:46 UTC (rev 664707)
+++ PKGBUILD2020-07-21 10:24:22 UTC (rev 664708)
@@ -6,7 +6,7 @@
 
 _name=testinfra
 pkgname=python-testinfra
-pkgver=5.2.1
+pkgver=5.2.2
 pkgrel=1
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
@@ -25,7 +25,8 @@
 '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')
+sha512sums=('3516f1229771c81487464f56e25c3ceb80aed302279bfe9e362bd41676255ded1fd83a7b6a01b8d41b5b3e896d7296275a79723a3d8c0dd5e474dc3afa7f872c')
+b2sums=('b605d444a6d7aac4c6e8d78b1fe7f5e36c99276287b0702605c424550eebf5d6e6349006376f8d3cc42624d33a7818073331d7f2ed2c48ca03e5dcb081b407b1')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-06-15 Thread David Runge via arch-commits
Date: Monday, June 15, 2020 @ 15:03:50
  Author: dvzrv
Revision: 645295

upgpkg: python-testinfra 5.2.1-1: Upgrading to 5.2.1.

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-15 14:48:58 UTC (rev 645294)
+++ PKGBUILD2020-06-15 15:03:50 UTC (rev 645295)
@@ -6,7 +6,7 @@
 
 _name=testinfra
 pkgname=python-testinfra
-pkgver=5.1.0
+pkgver=5.2.1
 pkgrel=1
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
@@ -25,7 +25,7 @@
 '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=('4882507cc72486e3a6df0e933f37c15c27c1465e5528bac61bc8038013ceb4df61c8b11d1838db4713053cac7a4df2b50d46d43828b4e7b70a4afb04ccfe')
+sha512sums=('d5eaac6616d48d033a44ec18026ba34a33185b8f219a0b07cd7023b583c5e67fa8486756fc4f1ecfde16f119be533c757a70252c305399a0337626fcf8650461')
 
 prepare() {
   mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-06-04 Thread David Runge via arch-commits
Date: Thursday, June 4, 2020 @ 19:18:37
  Author: dvzrv
Revision: 639038

upgpkg: python-testinfra 5.1.0-1: Upgrading to 5.1.0.

Switching to pypi.org as source tarball upstream.
Adding all available optdepends.
Running setup.py using python-setuptools_scm.
Adding the correct dependency (python-pytest).
Running all tests using pytest, excluding the broken salt integration (salt is 
still python2).
Only installing the man page, as sphinx docs are usually not very reproducible 
and hold redundant info.
Installing docs. Updating contributor info.

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |   63 -
 1 file changed, 38 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-06-04 19:06:51 UTC (rev 639037)
+++ PKGBUILD2020-06-04 19:18:37 UTC (rev 639038)
@@ -1,43 +1,56 @@
 # Maintainer: Christian Rebischke 
+# Contributor: David Runge 
 # Contributor: Lex Black 
 # Contributor: gardar 
 # Contributor: Morten Linderud 
 
-pkgbase="python-testinfra"
-pkgname="python-testinfra"
-_pkgname="testinfra"
-pkgver=5.0.0
+_name=testinfra
+pkgname=python-testinfra
+pkgver=5.1.0
 pkgrel=1
 pkgdesc='Testinfra test your infrastructures'
 url="https://github.com/philpep/testinfra;
 arch=('any')
 license=('Apache')
-depends=('python-six')
-makedepends=('python' 'python-setuptools' 'python-pbr' 'python-sphinx')
-#checkdepends=('python-mock' 'python-pytest-cov' 'python-pytest-xdist'
-#'python-paramiko' 'python-tornado' 'salt' 'ansible' 'python-pywinrm')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/philpep/testinfra/archive/${pkgver}.tar.gz;)
-sha512sums=('915d4819b3d289b9b87dba614e2d5d9ca48e80c1e7dd0df60d64fad31f27c19b7914179422547c8eaab2e203f8d4a460972898599bc439348a6fb7cbb357991d')
+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=('4882507cc72486e3a6df0e933f37c15c27c1465e5528bac61bc8038013ceb4df61c8b11d1838db4713053cac7a4df2b50d46d43828b4e7b70a4afb04ccfe')
 
+prepare() {
+  mv -v "${_name}-${pkgver}" "${pkgname}-${pkgver}"
+}
 
-
 build() {
-cd "${_pkgname}-${pkgver}"
-SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" python setup.py build
-make -C doc html man
+  cd "${pkgname}-${pkgver}"
+  python setup.py build
+  make -C doc man
 }
 
-# This checks are disabled, because salt, doesn't support python3 yet.
-# See also: https://bugs.archlinux.org/task/61129
-#check() {
-#cd "${_pkgname}-${pkgver}"
-#SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" python setup.py test
-#}
+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}"
-SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" python setup.py install 
--root="${pkgdir}" --optimize=1 --skip-build
-install -d "${pkgdir}/usr/share/doc/${pkgname}"
-cp -r doc/build/html/* "${pkgdir}/usr/share/doc/${pkgname}"
-install -Dm 644 doc/build/man/testinfra.1 
"${pkgdir}/usr/share/man/man1/${pkgname}.1"
+  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}"
 }


[arch-commits] Commit in python-testinfra/trunk (PKGBUILD)

2020-03-14 Thread Christian Rebischke via arch-commits
Date: Saturday, March 14, 2020 @ 20:14:31
  Author: shibumi
Revision: 597155

upgpkg: python-testinfra 5.0.0-1 move testinfra to community with disabled tests

Modified:
  python-testinfra/trunk/PKGBUILD

--+
 PKGBUILD |   27 ---
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-03-14 20:10:27 UTC (rev 597154)
+++ PKGBUILD2020-03-14 20:14:31 UTC (rev 597155)
@@ -5,6 +5,7 @@
 
 pkgbase="python-testinfra"
 pkgname="python-testinfra"
+_pkgname="testinfra"
 pkgver=5.0.0
 pkgrel=1
 pkgdesc='Testinfra test your infrastructures'
@@ -12,26 +13,30 @@
 arch=('any')
 license=('Apache')
 depends=('python-six')
-makedepends=('git' 'python' 'python-setuptools' 'python-pbr' 'python-sphinx')
+makedepends=('python' 'python-setuptools' 'python-pbr' 'python-sphinx')
+#checkdepends=('python-mock' 'python-pytest-cov' 'python-pytest-xdist'
+#'python-paramiko' 'python-tornado' 'salt' 'ansible' 'python-pywinrm')
 
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/philpep/testinfra/archive/${pkgver}.tar.gz;)
-sha512sums=('')
+sha512sums=('915d4819b3d289b9b87dba614e2d5d9ca48e80c1e7dd0df60d64fad31f27c19b7914179422547c8eaab2e203f8d4a460972898599bc439348a6fb7cbb357991d')
 
 
+
 build() {
-cd "${pkgname}-${pkgver}"
-python setup.py build
+cd "${_pkgname}-${pkgver}"
+SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" python setup.py build
 make -C doc html man
 }
 
-check() {
-cd "${pkgname}-${pkgver}"
-py.test
+# This checks are disabled, because salt, doesn't support python3 yet.
+# See also: https://bugs.archlinux.org/task/61129
+#check() {
+#cd "${_pkgname}-${pkgver}"
+#SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" python setup.py test
+#}
 
-}
-
 package() {
-cd "${pkgname}-${pkgver}"
-python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+cd "${_pkgname}-${pkgver}"
+SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}" python setup.py install 
--root="${pkgdir}" --optimize=1 --skip-build
 install -d "${pkgdir}/usr/share/doc/${pkgname}"
 cp -r doc/build/html/* "${pkgdir}/usr/share/doc/${pkgname}"
 install -Dm 644 doc/build/man/testinfra.1 
"${pkgdir}/usr/share/man/man1/${pkgname}.1"