Date: Wednesday, February 1, 2023 @ 09:46:27
Author: dvzrv
Revision: 1391704
archrelease: copy trunk to community-any
Added:
python-ansible-compat/repos/community-any/PKGBUILD
(from rev 1391703, python-ansible-compat/trunk/PKGBUILD)
Deleted:
python-ansible-compat/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-01 09:46:16 UTC (rev 1391703)
+++ PKGBUILD 2023-02-01 09:46:27 UTC (rev 1391704)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-
-_name=ansible-compat
-pkgname=python-ansible-compat
-pkgver=2.2.7
-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=('08deddcd0a1dc6baabe674b07c6ff882118492c123d281f56f01905271a7ffc4')
-b2sums=('58f3b19400fb7646d37c585df07435e65a60f3e57d445c98e8089c6a2ed853cb5dbab682d85cee1a604e1b4de6dd137faa12bf78fe7913752839f95bd651435f')
-
-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"
- # disable broken tests: https://github.com/ansible/ansible-compat/issues/210
- pytest -vv -c /dev/null -k 'not test_prerun_reqs_v1 and not
test_prerun_reqs_v2'
-}
-
-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 1391703,
python-ansible-compat/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-01 09:46:27 UTC (rev 1391704)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=ansible-compat
+pkgname=python-ansible-compat
+pkgver=3.0.0
+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=(ansible-core python-jsonschema python-packaging python-pyyaml
python-subprocess-tee)
+makedepends=(python-build python-installer python-setuptools
python-setuptools-scm python-wheel)
+checkdepends=(python-pytest python-pytest-mock)
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('b2fb46656d6a2171e8774e7e5a6858908b1e4387a5e50d46bcc895cd738c210c')
+b2sums=('7a944fdf5fb419b95f9da0e28cc4e58f5a8fb969653bb74fa2a4103f7d367210bf86de95fa5f3493ef383db4d8ffcc2ab935c006450c2778cb10b256cd32c515')
+
+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"
+ # disable broken tests: https://github.com/ansible/ansible-compat/issues/210
+ pytest -vv -c /dev/null -k 'not test_prerun_reqs_v1 and not
test_prerun_reqs_v2'
+}
+
+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/"
+}