Date: Sunday, November 13, 2022 @ 13:52:44
Author: dvzrv
Revision: 1347256
archrelease: copy trunk to community-any
Added:
molecule-podman/repos/community-any/PKGBUILD
(from rev 1347255, molecule-podman/trunk/PKGBUILD)
molecule-podman/repos/community-any/molecule-podman-2.0.3-dependencies.patch
(from rev 1347255,
molecule-podman/trunk/molecule-podman-2.0.3-dependencies.patch)
Deleted:
molecule-podman/repos/community-any/PKGBUILD
------------------------------------------+
PKGBUILD | 106 +++++++++++++++--------------
molecule-podman-2.0.3-dependencies.patch | 17 ++++
2 files changed, 72 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-13 13:52:00 UTC (rev 1347255)
+++ PKGBUILD 2022-11-13 13:52:44 UTC (rev 1347256)
@@ -1,51 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-pkgname=molecule-podman
-pkgver=2.0.3
-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-build python-installer python-setuptools-scm
python-setuptools-scm-git-archive python-wheel)
-checkdepends=(ansible-core podman python-pytest
python-pytest-helpers-namespace)
-optdepends=(
- 'ansible-core: for Dockerfile validation'
- 'podman: for using a local podman setup'
-)
-source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz)
-sha512sums=('206c8e2b1e97dae0072bc5e42cc95428991269234dc0ff6b1ec30d39d56a9bc180278355a99a47fe0e32ddc80d7ef74f45e8a87cbe2746cbfeb44d126cf2fb4c')
-b2sums=('da634e983d22386971218f814b90f3a48bff769b67572dd13e2ff54a4e5ae37a10df1e794ce75bc0ffd9f95b256106e26a858d3adadd41d145244ff39d5be4f2')
-
-prepare() {
- cd $pkgname-$pkgver
- # remove pip from build backends because it is in fact not required and just
- # YOLO installs things
- sed -e '/pip/d' -i pyproject.toml
-}
-
-build() {
- cd $pkgname-$pkgver
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd $pkgname-$pkgver
- # 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 -vv -c /dev/null --ignore src/molecule_podman/test/test_func.py
-}
-
-package() {
- local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
-
- cd $pkgname-$pkgver
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
- install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
-
- rm -rv "$pkgdir/$site_packages/molecule_podman/test/"
-}
Copied: molecule-podman/repos/community-any/PKGBUILD (from rev 1347255,
molecule-podman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-13 13:52:44 UTC (rev 1347256)
@@ -0,0 +1,55 @@
+# Maintainer: David Runge <[email protected]>
+
+pkgname=molecule-podman
+pkgver=2.0.3
+pkgrel=3
+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-build python-installer python-setuptools-scm
python-setuptools-scm-git-archive python-wheel)
+checkdepends=(ansible-core podman python-pytest
python-pytest-helpers-namespace)
+optdepends=(
+ 'ansible-core: for Dockerfile validation'
+ 'podman: for using a local podman setup'
+)
+source=(
+
https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname-2.0.3-dependencies.patch
+)
+sha512sums=('206c8e2b1e97dae0072bc5e42cc95428991269234dc0ff6b1ec30d39d56a9bc180278355a99a47fe0e32ddc80d7ef74f45e8a87cbe2746cbfeb44d126cf2fb4c'
+
'0772a5fe31d0275a3abc2133ef2797e6ceebf6a7d019bf7d680656e8f51cf7b71adb36768b86c9271b4d6cc0d24fd3dd6cda84923a7698d3f4cf9cce09a994bb')
+b2sums=('da634e983d22386971218f814b90f3a48bff769b67572dd13e2ff54a4e5ae37a10df1e794ce75bc0ffd9f95b256106e26a858d3adadd41d145244ff39d5be4f2'
+
'dcf66b869bbcbc3a916e69109e986397975687f6f62f56090fb5d0afe49c68872140aac7f1edad51d36b4705980c2573d88472fd7f836697f574cb0b8e4b9fe2')
+
+prepare() {
+ # remove the use of python-pip and python-setuptools-scm-git-archive from
makedepends:
+ # https://github.com/ansible-community/molecule-podman/pull/146
+ patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.0.3-dependencies.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd $pkgname-$pkgver
+ # 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 -vv -c /dev/null --ignore src/molecule_podman/test/test_func.py
+}
+
+package() {
+ local site_packages=$(python -c "import site;
print(site.getsitepackages()[0])")
+
+ cd $pkgname-$pkgver
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+ install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname"
+
+ rm -rv "$pkgdir/$site_packages/molecule_podman/test/"
+}
Copied:
molecule-podman/repos/community-any/molecule-podman-2.0.3-dependencies.patch
(from rev 1347255,
molecule-podman/trunk/molecule-podman-2.0.3-dependencies.patch)
===================================================================
--- molecule-podman-2.0.3-dependencies.patch (rev 0)
+++ molecule-podman-2.0.3-dependencies.patch 2022-11-13 13:52:44 UTC (rev
1347256)
@@ -0,0 +1,17 @@
+diff --git c/pyproject.toml w/pyproject.toml
+index 0d283d7..c79435a 100644
+--- c/pyproject.toml
++++ w/pyproject.toml
+@@ -1,10 +1,7 @@
+ [build-system]
+ requires = [
+- "pip >= 19.3.1",
+- "setuptools >= 42",
+- "setuptools_scm[toml] >= 3.5.0",
+- "setuptools_scm_git_archive >= 1.1",
+- "wheel >= 0.33.6",
++ "setuptools >= 45",
++ "setuptools_scm[toml] >= 7.0.0",
+ ]
+ build-backend = "setuptools.build_meta"
+