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

David Runge dvzrv at gemini.archlinux.org
Mon Jan 17 18:28:13 UTC 2022


    Date: Monday, January 17, 2022 @ 18:28:12
  Author: dvzrv
Revision: 1107868

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   84 +++++++++++++++++++++++++++----------------------------------
 1 file changed, 38 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-17 18:28:12 UTC (rev 1107867)
+++ PKGBUILD	2022-01-17 18:28:12 UTC (rev 1107868)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=molecule-podman
-pkgver=1.0.1
-pkgrel=2
-pkgdesc="Molecule Podman Driver allows use of podman as backend for testing"
-arch=('any')
-url="https://github.com/ansible-community/molecule-podman"
-license=('MIT')
-depends=('molecule' 'python-ansible-compat' 'python-selinux')
-makedepends=('python-setuptools-scm' 'python-setuptools-scm-git-archive')
-checkdepends=('podman' 'python-pytest' 'python-pytest-helpers-namespace')
-optdepends=('podman: for using a local podman setup')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('0558e2e9289cce30cfaf0a032be718604010fb19d12d1111d480e59c373fd4285aff4cc1d0fdb750650a23577f1a19fcfdf1143904cc3bab1b19a861e966534a')
-b2sums=('cce76cbcfda5e3a6378be242889c5274e54c96858dba9b125253c82b10ef613fb2919ced9c12b06cd57a8a6cf3d9369b3b54e5ffabbe4dc8f94e512b3b74275a')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  # remove additional pytest options
-  # remove fitler to raise warnings as errors: https://github.com/ansible-community/molecule/issues/3004
-  sed -e '/addopts/d' \
-      -e '/error/d' \
-      -i setup.cfg
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  # disable tests that require the driver to be installed for the system
-  # version of molecule that we are testing with
-  pytest -v --ignore src/molecule_podman/test/test_func.py
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --optimize=1 --root="${pkgdir}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -vDm 644 README.rst \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: molecule-podman/repos/community-any/PKGBUILD (from rev 1107866, molecule-podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-17 18:28:12 UTC (rev 1107868)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=molecule-podman
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Molecule Podman Driver allows use of podman as backend for testing"
+arch=(any)
+url="https://github.com/ansible-community/molecule-podman"
+license=(MIT)
+depends=(molecule python-ansible-compat python-selinux)
+makedepends=(python-setuptools-scm python-setuptools-scm-git-archive)
+checkdepends=(podman python-pytest python-pytest-helpers-namespace)
+optdepends=('podman: for using a local podman setup')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('230dc1750405fd76bff894bbb181095164de935527484e2f29a3cecfbfb68c7d4adab0f7de55b2dc4dd53ce1da006c37b1258b91c8f4944e019f726fb35d56aa')
+b2sums=('120b9377a30b5abde6fd9ed3765ed45cf71354ee9845f30aa867d0775a54726160b1a275d0ed0ff12ff0aab096e230b9c36615dddd3beee50047929df69732e8')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  # disable tests that require the driver to be installed for the system
+  # version of molecule that we are testing with
+  # remove additional pytest options
+  # remove fitler to raise warnings as errors: https://github.com/ansible-community/molecule/issues/3004
+  pytest -v -c /dev/null --ignore src/molecule_podman/test/test_func.py
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --optimize=1 --root="${pkgdir}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list