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

David Runge dvzrv at archlinux.org
Tue Oct 20 08:24:19 UTC 2020


    Date: Tuesday, October 20, 2020 @ 08:24:19
  Author: dvzrv
Revision: 727513

upgpkg: molecule 3.1.3-1: Upgrade to 3.1.3.

The drivers for docker and podman are now in separate packages (molecule-docker and molecule-podman respectively).
Remove now nonrequired depends/optdepends.
Add molecule-docker and molecule-podman to optdepends.

Modified:
  molecule/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-20 08:19:42 UTC (rev 727512)
+++ PKGBUILD	2020-10-20 08:24:19 UTC (rev 727513)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=molecule
-pkgver=3.0.8
+pkgver=3.1.3
 pkgrel=1
 pkgdesc="Aids in the development and testing of Ansible roles"
 arch=('any')
@@ -9,23 +9,23 @@
 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-tabulate' 'python-tree-format'
-'python-yaml' 'yamllint')
+'python-jinja' 'python-packaging' 'python-paramiko' 'python-pexpect'
+'python-pluggy' 'python-selinux' 'python-sh' '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'
+# TODO: python-pytest-plus
+checkdepends=('python-ansi2html' 'python-mock' 'python-pytest'
+'python-pytest-cov' 'python-pytest-helpers-namespace' 'python-pytest-html'
+'python-pytest-mock' 'python-pytest-verbose-parametrize'
 'python-pytest-verbose-parametrize' 'python-pytest-xdist' 'python-testinfra')
-optdepends=('docker: for the docker driver'
+optdepends=('molecule-docker: for the docker driver'
+            'molecule-podman: for the podman 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=('e097cb997722e00d2eff491be0b571dfab5682708052836ce56cda54fb9ad44912d6c8cdf24e8fffdeea53f051b2e836e0173589573ef522a31a3dc04e59b7a9')
-b2sums=('a9f60969d202fbac3fd19796613678492f4e554e1138bbccb84dbb2e95e9f6b88ed30a6fb357d828fe09a74b33b6ecf12b7df2569019693e065a4f42a024b2c5')
+sha512sums=('b0a19fc43b01fae51a16f5a6db1f2011377286904fd5a01d46d3a4889bf4ab71cf77c9dab521799c3149b07b8b6f43939bac932104c3faf19ccde76679e4a85b')
+b2sums=('ed2b83f889380aa170ed4e7cfe41e0fc541df22305dd39a72b7ff2399154e7c68a899e6176db1f344c0fb183c614992363a892279e626e85fec819f7617929b7')
 
 prepare() {
   cd "$pkgname-$pkgver"
@@ -67,10 +67,9 @@
 package() {
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
+                          --optimize=1 \
+                          --root="${pkgdir}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 {CHANGELOG,README}.rst \
+  install -vDm 644 README.rst \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list