Date: Friday, December 2, 2022 @ 12:30:26
Author: dvzrv
Revision: 1356164
archrelease: copy trunk to community-any
Added:
python-pytest-testinfra/repos/community-any/PKGBUILD
(from rev 1356163, python-pytest-testinfra/trunk/PKGBUILD)
Deleted:
python-pytest-testinfra/repos/community-any/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-02 12:30:15 UTC (rev 1356163)
+++ PKGBUILD 2022-12-02 12:30:26 UTC (rev 1356164)
@@ -1,55 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Christian Rebischke <[email protected]>
-# Contributor: Lex Black <[email protected]>
-# Contributor: gardar <[email protected]>
-# Contributor: Morten Linderud <[email protected]>
-
-_name=pytest-testinfra
-pkgname=python-pytest-testinfra
-pkgver=6.8.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-build python-installer python-setuptools-scm python-sphinx
python-wheel)
-checkdepends=(ansible 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=('e0c044430ffae1772b937b405572ef05b6177a645aff7b96e1f779d4f68449241757efae137a03ea8aec28db5f91c0e71574ab52aebef0052ca99ea0ca08db23')
-b2sums=('ab1f9732db6a5d88730f4989cc47dc2086844f9809754d9f7811a8f0f092cf3d1e6f48fac2596200bf8e354cfd4aa3dc767bc21139267813141c9522d2116453')
-
-build() {
- cd $_name-$pkgver
- python -m build --wheel --no-isolation
- make -C doc man
-}
-
-check() {
- local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $_name-$pkgver
-
- # install to temporary location
- python -m installer --destdir="$_test_dir" dist/*.whl
- export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
- pytest -vv
-}
-
-package() {
- cd $_name-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -Dm 644 doc/build/man/*.1 -t "$pkgdir/usr/share/man/man1/"
- install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst -t
"$pkgdir/usr/share/doc/$pkgname/"
-}
Copied: python-pytest-testinfra/repos/community-any/PKGBUILD (from rev 1356163,
python-pytest-testinfra/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-02 12:30:26 UTC (rev 1356164)
@@ -0,0 +1,55 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Christian Rebischke <[email protected]>
+# Contributor: Lex Black <[email protected]>
+# Contributor: gardar <[email protected]>
+# Contributor: Morten Linderud <[email protected]>
+
+_name=pytest-testinfra
+pkgname=python-pytest-testinfra
+pkgver=7.0.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-build python-installer python-setuptools-scm python-sphinx
python-wheel)
+checkdepends=(ansible 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=('507d7a434c2eb159e2c36b1be3d447e386d3a4e614f2717ed8add456358f644c18f801db6774a4854e4ec7936643febd332aa4096ab26ae0080aceeff420c78e')
+b2sums=('b0870cbf466627daff0ed6a3063c15c9b725fab4009fc24c3779b56765901e6b8d3a42fce429f1e42151b78d61f52c38955772e562c74d78c717a61a5fe74f04')
+
+build() {
+ cd $_name-$pkgver
+ python -m build --wheel --no-isolation
+ make -C doc man
+}
+
+check() {
+ local _site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $_name-$pkgver
+
+ # install to temporary location
+ python -m installer --destdir="$_test_dir" dist/*.whl
+ export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+ pytest -vv
+}
+
+package() {
+ cd $_name-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm 644 doc/build/man/*.1 -t "$pkgdir/usr/share/man/man1/"
+ install -vDm 644 {CHANGELOG,CONTRIBUTING,README}.rst -t
"$pkgdir/usr/share/doc/$pkgname/"
+}