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

David Runge dvzrv at archlinux.org
Wed Oct 28 22:22:39 UTC 2020


    Date: Wednesday, October 28, 2020 @ 22:22:38
  Author: dvzrv
Revision: 735746

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-28 22:22:00 UTC (rev 735745)
+++ PKGBUILD	2020-10-28 22:22:38 UTC (rev 735746)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=molecule-podman
-pkgver=0.2.3
-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-selinux')
-makedepends=('python-setuptools_scm')
-checkdepends=('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=('c0b7032e474463867d0ec3e0c9dd5dd0f706480d98619b48068a7e422ed6c1e15310c1ade199a7e9a359e4a765b9650f8aea89b653740ecb6a8bfd3a19d36180')
-b2sums=('a5915f474d28080c362bfc34355e5e1503edd16aa9cc0417c553b979df197d0f17339af928c9e879059189730e04b55dee7ddc3f7355b09782dfce22c50544f8')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  sed -e '/addopts/d' \
-      -i setup.cfg
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  # NOTE: we can only run the detection test, as the other tests require
-  # running podman (which requires unprivileged_userns_clone)
-  pytest -v "${pkgname//-/_}/test/test_driver.py"
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --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 735745, molecule-podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-28 22:22:38 UTC (rev 735746)
@@ -0,0 +1,45 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=molecule-podman
+pkgver=0.3.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-selinux')
+makedepends=('python-setuptools_scm')
+checkdepends=('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=('66ea0cca135c51b9563a865318c35ef36bc0f3ea24eefc8aea3c04f0ad57e84f5d45536268e57c48600d2449d3b409f89d2e80d548d0ab900de976d66b7ad3ce')
+b2sums=('98115b549f435079317a5d7e37a249357e67db2f4bf821148c6194b2d9e2ebf47f0fad93d94d99d969f5a028c0222b82d714f85562cba065153d969e7000625b')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  sed -e '/addopts/d' \
+      -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="build:${PYTHONPATH}"
+  # NOTE: we can only run the detection test, as the other tests require
+  # running podman (which requires unprivileged_userns_clone)
+  pytest -v "lib/${pkgname//-/_}/test/test_driver.py"
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+                          --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