Date: Thursday, December 1, 2022 @ 10:30:05
  Author: dvzrv
Revision: 1355595

archrelease: copy trunk to community-any

Added:
  python-ansible-compat/repos/community-any/PKGBUILD
    (from rev 1355594, python-ansible-compat/trunk/PKGBUILD)
Deleted:
  python-ansible-compat/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-01 10:29:55 UTC (rev 1355594)
+++ PKGBUILD    2022-12-01 10:30:05 UTC (rev 1355595)
@@ -1,38 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=ansible-compat
-pkgname=python-ansible-compat
-pkgver=2.2.5
-pkgrel=1
-pkgdesc="Functions that help interacting with various versions of Ansible"
-arch=(any)
-url="https://github.com/ansible-community/ansible-compat";
-license=(MIT)
-depends=(python-jsonschema python-packaging python-pyyaml 
python-subprocess-tee)
-makedepends=(python-build python-installer python-setuptools 
python-setuptools-scm python-wheel)
-checkdepends=(ansible python-flaky python-pytest python-pytest-mock)
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('28c7c545fd60ef9c3059cfb2fefd27f92db091ff6b5868f83f121ceb5e1fe1b5')
-b2sums=('25a5c858eb3e120b7f51b8800b01eff2482a03d0e5f5c049d4ff2bc96ab2c01e856284f3328d5c9e3621b2d769df4450c9427997b48a7ddd337b01aa777e0c28')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
-
-  cd $_name-$pkgver
-  # install to temporary location, as importlib is used
-  python -m installer --destdir=test_dir dist/*.whl
-  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
-  pytest -vv -c /dev/null
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
-  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
-}

Copied: python-ansible-compat/repos/community-any/PKGBUILD (from rev 1355594, 
python-ansible-compat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-12-01 10:30:05 UTC (rev 1355595)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=ansible-compat
+pkgname=python-ansible-compat
+pkgver=2.2.6
+pkgrel=1
+pkgdesc="Functions that help interacting with various versions of Ansible"
+arch=(any)
+url="https://github.com/ansible-community/ansible-compat";
+license=(MIT)
+depends=(python-jsonschema python-packaging python-pyyaml 
python-subprocess-tee)
+makedepends=(python-build python-installer python-setuptools 
python-setuptools-scm python-wheel)
+checkdepends=(ansible python-flaky python-pytest python-pytest-mock)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('8bb3488327125a0948d38b766389a4819573343d5673aa78a7bed23eb9d5b28d')
+b2sums=('5022676dca1c2cb24e8f3e3387de8ef214979124b6d4a819f6328b2ffa0b19bddc5ef60131eb0133d809a214ecdf39fb5c01b197a44111e05a23740d4955c00c')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  local _site_packages=$(python -c "import site; 
print(site.getsitepackages()[0])")
+
+  cd $_name-$pkgver
+  # install to temporary location, as importlib is used
+  python -m installer --destdir=test_dir dist/*.whl
+  export PYTHONPATH="test_dir/$_site_packages:$PYTHONPATH"
+  pytest -vv -c /dev/null
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -vDm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
+  install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}

Reply via email to