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

David Runge dvzrv at archlinux.org
Tue Jul 14 21:34:57 UTC 2020


    Date: Tuesday, July 14, 2020 @ 21:34:57
  Author: dvzrv
Revision: 663800

archrelease: copy trunk to community-any

Added:
  molecule/repos/community-any/PKGBUILD
    (from rev 663799, molecule/trunk/PKGBUILD)
Deleted:
  molecule/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  142 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-14 21:34:39 UTC (rev 663799)
+++ PKGBUILD	2020-07-14 21:34:57 UTC (rev 663800)
@@ -1,71 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=molecule
-pkgver=3.0.5
-pkgrel=1
-pkgdesc="Aids in the development and testing of Ansible roles"
-arch=('any')
-url="https://github.com/ansible-community/molecule"
-license=('MIT')
-depends=('ansible' 'python-cerberus' 'python-click' 'python-click-completion'
-'python-click-help-colors' 'python-colorama' 'python-cookiecutter'
-'python-gilt' 'python-jinja' 'python-paramiko' 'python-pexpect' 'python-pluggy'
-'python-selinux' 'python-sh' 'python-six' 'python-tabulate'
-'python-tree-format' 'python-yaml' 'yamllint')
-makedepends=('python-setuptools-scm' 'python-simplejson')
-# TODO: potentially add 'python-shade'
-checkdepends=('docker' 'python-ansi2html' 'python-docker' 'python-mock'
-'python-pytest' 'python-pytest-cov' 'python-pytest-helpers-namespace'
-'python-pytest-html' 'python-pytest-mock' 'python-pytest-sugar'
-'python-pytest-verbose-parametrize' 'python-pytest-xdist' 'python-testinfra')
-optdepends=('docker: for the docker driver'
-            'molecule-vagrant: for the vagrant driver'
-            'podman: for the podman driver'
-            'python-pywinrm: for Windows support'
-            'python-testinfra: for the testinfra verifier')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('e8bfcf6d072c07d6dfc1d5c6671716747aa295616c12c2a56c84b387255c5d0126f11548be32b91e8b401e67e0a9a7673bd96f527cb3281dd205d40f6d0b19f2')
-b2sums=('8c6372f3518652f78b30f4969993fc262c3ae51ebc5d679276cdb3e67611e6769c694665e08e4a29c0471f37b83b373421437b20374c03ff38d9d862ee7b73fc')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  # python-pre-commit is absolutely not a runtime dependency
-  sed -e '/pre-commit/d' -i setup.cfg
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  # installing into test location, so pytest can pick up the executable
-  mkdir -vp test_dir
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="test_dir"
-  local python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
-  export PYTHONPATH="${PWD}/test_dir/usr/lib/python${python_version}/site-packages/:${PYTHONPATH}"
-  export PATH="${PWD}/test_dir/usr/bin:${PATH}"
-  # do not run tests that require interaction with the docker daemon
-  pytest -v \
-         --ignore='molecule/test/functional/docker/' \
-         --ignore='molecule/test/functional/test_command.py' \
-         -k 'not test_execute \
-             and not test_execute_bakes \
-             and not test_execute_bakes_with_ansible_args \
-             and not test_executes_cathces_and_exits_return_code_with_stdout'
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 {CHANGELOG,README}.rst \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: molecule/repos/community-any/PKGBUILD (from rev 663799, molecule/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-14 21:34:57 UTC (rev 663800)
@@ -0,0 +1,71 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=molecule
+pkgver=3.0.6
+pkgrel=1
+pkgdesc="Aids in the development and testing of Ansible roles"
+arch=('any')
+url="https://github.com/ansible-community/molecule"
+license=('MIT')
+depends=('ansible' 'python-cerberus' 'python-click' 'python-click-completion'
+'python-click-help-colors' 'python-colorama' 'python-cookiecutter'
+'python-gilt' 'python-jinja' 'python-paramiko' 'python-pexpect' 'python-pluggy'
+'python-selinux' 'python-sh' 'python-six' 'python-tabulate'
+'python-tree-format' 'python-yaml' 'yamllint')
+makedepends=('python-setuptools-scm' 'python-simplejson')
+# TODO: potentially add 'python-shade'
+checkdepends=('docker' 'python-ansi2html' 'python-docker' 'python-mock'
+'python-pytest' 'python-pytest-cov' 'python-pytest-helpers-namespace'
+'python-pytest-html' 'python-pytest-mock' 'python-pytest-sugar'
+'python-pytest-verbose-parametrize' 'python-pytest-xdist' 'python-testinfra')
+optdepends=('docker: for the docker driver'
+            'molecule-vagrant: for the vagrant driver'
+            'podman: for the podman driver'
+            'python-pywinrm: for Windows support'
+            'python-testinfra: for the testinfra verifier')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('2e599d02bfdcabe51136722314894e51d36d170370f6571380a2d78ce2d060a5fbc11b09037af54ba438c8b697b9111123bcad267eef9a8d7d216b02f4e0b239')
+b2sums=('4744e2d0427a12f11a5db7bd06fc166135642a9f85e8befad60fc1d38536520be340ce4d116cc1086553fe019ffe9a8e7d7447c7415440cc857e0dd1f2b80a67')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # python-pre-commit is absolutely not a runtime dependency
+  sed -e '/pre-commit/d' -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  # installing into test location, so pytest can pick up the executable
+  mkdir -vp test_dir
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="test_dir"
+  local python_version="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')"
+  export PYTHONPATH="${PWD}/test_dir/usr/lib/python${python_version}/site-packages/:${PYTHONPATH}"
+  export PATH="${PWD}/test_dir/usr/bin:${PATH}"
+  # do not run tests that require interaction with the docker daemon
+  pytest -v \
+         --ignore='molecule/test/functional/docker/' \
+         --ignore='molecule/test/functional/test_command.py' \
+         -k 'not test_execute \
+             and not test_execute_bakes \
+             and not test_execute_bakes_with_ansible_args \
+             and not test_executes_cathces_and_exits_return_code_with_stdout'
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 {CHANGELOG,README}.rst \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list