Date: Tuesday, April 25, 2023 @ 13:51:03
  Author: dvzrv
Revision: 1448665

archrelease: copy trunk to community-staging-any

Added:
  ansible-core/repos/community-staging-any/PKGBUILD
    (from rev 1448664, ansible-core/trunk/PKGBUILD)
  
ansible-core/repos/community-staging-any/ansible-core-2.14.4-resolvelib_1.1.patch
    (from rev 1448664, 
ansible-core/trunk/ansible-core-2.14.4-resolvelib_1.1.patch)
Deleted:
  ansible-core/repos/community-staging-any/PKGBUILD
  
ansible-core/repos/community-staging-any/ansible-core-2.14.4-resolvelib_1.1.patch

------------------------------------------+
 PKGBUILD                                 |  211 ++++++++++++++---------------
 ansible-core-2.14.4-resolvelib_1.1.patch |   78 +++++-----
 2 files changed, 145 insertions(+), 144 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-25 13:50:51 UTC (rev 1448664)
+++ PKGBUILD    2023-04-25 13:51:03 UTC (rev 1448665)
@@ -1,105 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Maintainer: Robin Candau <[email protected]>
-# Contributor: BartÅ‚omiej Piotrowski <[email protected]>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Chris <[email protected]>
-# Contributor: m0ikz <[email protected]>
-# Contributor: atweiden <[email protected]>
-
-pkgname=ansible-core
-pkgver=2.14.4
-pkgrel=6
-pkgdesc='Radically simple IT automation platform'
-arch=('any')
-url='https://pypi.org/project/ansible-core'
-license=('GPL3')
-depends=(
-  'python'
-  'python-cryptography'
-  'python-jinja'
-  'python-packaging'
-  'python-pyyaml'
-  'python-resolvelib'
-)
-# not directly required, but either convenient or indirectly required
-depends+=('python-paramiko' 'python-typing-extensions')
-makedepends=(
-  'python-build'
-  'python-docutils'
-  'python-installer'
-  'python-setuptools'
-  'python-straight.plugin'
-  'python-wheel'
-)
-checkdepends=(
-  'git'
-  'openssh'
-  'python-bcrypt'
-  'python-botocore'
-  'python-passlib'
-  'python-pexpect'
-  'python-py'  # missing as dependency of python-pytest-forked
-  'python-pytest'
-  'python-pytest-mock'
-  'python-pytest-xdist'
-  'python-pytest-forked'
-  'python-pywinrm'
-  'python-voluptuous'
-)
-optdepends=(
-  'python-dnspython: for dig lookup'
-  'python-jmespath: json_query support'
-  'python-netaddr: for the ipaddr filter'
-  'python-passlib: crypt values for vars_prompt'
-  'python-pip: for module to manage Python libarary dependencies'
-  'python-pywinrm: connect to Windows machines'
-  'python-setuptools: for module to manage Python libarary dependencies'
-  'python-systemd: for journald support'
-  'sshpass: for ssh connections with password'
-)
-provides=('python-ansible' 'ansible-base')
-replaces=('ansible-base')
-backup=('etc/ansible/ansible.cfg')
-source=(
-  
"https://pypi.python.org/packages/source/a/ansible-core/ansible-core-${pkgver}.tar.gz";
-  "$pkgname-2.14.4-resolvelib_1.1.patch"
-)
-sha512sums=('86164dfded15232174e4f11140a71b91ef5b0d93b40a2df9588930b4b955f20feb419258c2bbf9d6735d298ec626c88c5e9b1c933a51e3273a28b85fac7a3762'
-            
'cdf1335d49ecec7bb4fff6b29cc0217d0dfa50ca9dc23338717bcbf807d06e7db8bb2c8037f8c613299f92d7db8733ce3e08f343dac33def3bf1612bd6e6bfca')
-b2sums=('ae096debaf676dbd46cb047f0f87af5d09b4265368500964bbd0cf3ac8e58969bee489d66486fb570a697df5b22065fae206f1df361eb911a7fe025628655371'
-        
'712bc0366da99e8176bd80b7abbc2cdc3d9960911a39fedb7f1ae460577151bf13af9ca1225c28fa63c8feae30226cbc686765511459b81bc253745bf28ae246')
-
-prepare() {
-  # backport (minus test requirements!) of patch to add resolvelib < 1.1.0 
support
-  # 
https://github.com/ansible/ansible/commit/b148fd8dd74c8599f809f71117a86577ccfb0638
-  # 
https://github.com/ansible/ansible/commit/016b7f71b10539c90ddbb3246f19f9cbf0e65428
-  patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.14.4-resolvelib_1.1.patch
-}
-
-build() {
-  cd $pkgname-$pkgver
-  python -m build --wheel --no-isolation
-
-  make docs
-}
-
-check() {
-  local python_version=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
-
-  # tests require upstream wrapper to find ansible-core internals: 
https://github.com/ansible/ansible/issues/80472
-  cd $pkgname-$pkgver
-  # we do not have libselinux packaged
-  rm -v test/units/module_utils/basic/test_selinux.py
-  bin/ansible-test units --python $python_version --truncate 0
-}
-
-package() {
-  cd $pkgname-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-
-  install -Dm644 COPYING -t "${pkgdir}"/usr/share/doc/${pkgname}/
-  install -Dm644 examples/ansible.cfg -t "${pkgdir}"/etc/ansible/
-  install -Dm644 examples/{ansible.cfg,hosts} -t 
"${pkgdir}"/usr/share/ansible/doc/examples/
-  install -Dm644 docs/man/man1/*.1 -t "${pkgdir}"/usr/share/man/man1/
-}

Copied: ansible-core/repos/community-staging-any/PKGBUILD (from rev 1448664, 
ansible-core/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-25 13:51:03 UTC (rev 1448665)
@@ -0,0 +1,106 @@
+# Maintainer: David Runge <[email protected]>
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Maintainer: Robin Candau <[email protected]>
+# Contributor: BartÅ‚omiej Piotrowski <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Chris <[email protected]>
+# Contributor: m0ikz <[email protected]>
+# Contributor: atweiden <[email protected]>
+
+pkgname=ansible-core
+pkgver=2.14.5
+pkgrel=1
+pkgdesc='Radically simple IT automation platform'
+arch=('any')
+url='https://pypi.org/project/ansible-core'
+license=('GPL3')
+depends=(
+  'python'
+  'python-cryptography'
+  'python-jinja'
+  'python-packaging'
+  'python-pyyaml'
+  'python-resolvelib'
+  # not directly required, but either convenient or indirectly required
+  'python-paramiko'
+  'python-typing-extensions'
+)
+makedepends=(
+  'python-build'
+  'python-docutils'
+  'python-installer'
+  'python-setuptools'
+  'python-straight.plugin'
+  'python-wheel'
+)
+checkdepends=(
+  'git'
+  'openssh'
+  'python-bcrypt'
+  'python-botocore'
+  'python-passlib'
+  'python-pexpect'
+  'python-py'  # missing as dependency of python-pytest-forked
+  'python-pytest'
+  'python-pytest-mock'
+  'python-pytest-xdist'
+  'python-pytest-forked'
+  'python-pywinrm'
+  'python-voluptuous'
+)
+optdepends=(
+  'python-dnspython: for dig lookup'
+  'python-jmespath: json_query support'
+  'python-netaddr: for the ipaddr filter'
+  'python-passlib: crypt values for vars_prompt'
+  'python-pip: for module to manage Python libarary dependencies'
+  'python-pywinrm: connect to Windows machines'
+  'python-setuptools: for module to manage Python libarary dependencies'
+  'python-systemd: for journald support'
+  'sshpass: for ssh connections with password'
+)
+provides=('python-ansible' 'ansible-base')
+replaces=('ansible-base')
+backup=('etc/ansible/ansible.cfg')
+source=(
+  
"https://pypi.python.org/packages/source/a/ansible-core/ansible-core-${pkgver}.tar.gz";
+  "$pkgname-2.14.4-resolvelib_1.1.patch"
+)
+sha512sums=('130a0de925c7229dee350ddbf4382d87802d86aab4817ed595105db8ed5071153847dac0478f20a994670e59e53a07b77d0bf35855d309ebc222fbb61233b7db'
+            
'cdf1335d49ecec7bb4fff6b29cc0217d0dfa50ca9dc23338717bcbf807d06e7db8bb2c8037f8c613299f92d7db8733ce3e08f343dac33def3bf1612bd6e6bfca')
+b2sums=('d006f773e1c2b28582143a4f08f699e5744fba492130388fa5463053cdf8f0cc7056296daa213c72884ea0c0ba454a3e04ef118c184faba8c8d3c281ae65345a'
+        
'712bc0366da99e8176bd80b7abbc2cdc3d9960911a39fedb7f1ae460577151bf13af9ca1225c28fa63c8feae30226cbc686765511459b81bc253745bf28ae246')
+
+prepare() {
+  # backport (minus test requirements!) of patch to add resolvelib < 1.1.0 
support
+  # 
https://github.com/ansible/ansible/commit/b148fd8dd74c8599f809f71117a86577ccfb0638
+  # 
https://github.com/ansible/ansible/commit/016b7f71b10539c90ddbb3246f19f9cbf0e65428
+  patch -Np1 -d $pkgname-$pkgver -i ../$pkgname-2.14.4-resolvelib_1.1.patch
+}
+
+build() {
+  cd $pkgname-$pkgver
+  python -m build --wheel --no-isolation
+
+  make docs
+}
+
+check() {
+  local python_version=$(python -c 'import sys; print(".".join(map(str, 
sys.version_info[:2])))')
+
+  # tests require upstream wrapper to find ansible-core internals: 
https://github.com/ansible/ansible/issues/80472
+  cd $pkgname-$pkgver
+  # we do not have libselinux packaged
+  rm -v test/units/module_utils/basic/test_selinux.py
+  bin/ansible-test units --python $python_version --truncate 0
+}
+
+package() {
+  cd $pkgname-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+
+  install -Dm644 COPYING -t "${pkgdir}"/usr/share/doc/${pkgname}/
+  install -Dm644 examples/ansible.cfg -t "${pkgdir}"/etc/ansible/
+  install -Dm644 examples/{ansible.cfg,hosts} -t 
"${pkgdir}"/usr/share/ansible/doc/examples/
+  install -Dm644 docs/man/man1/*.1 -t "${pkgdir}"/usr/share/man/man1/
+}

Deleted: ansible-core-2.14.4-resolvelib_1.1.patch
===================================================================
--- ansible-core-2.14.4-resolvelib_1.1.patch    2023-04-25 13:50:51 UTC (rev 
1448664)
+++ ansible-core-2.14.4-resolvelib_1.1.patch    2023-04-25 13:51:03 UTC (rev 
1448665)
@@ -1,39 +0,0 @@
-diff -ruN a/lib/ansible/galaxy/dependency_resolution/providers.py 
b/lib/ansible/galaxy/dependency_resolution/providers.py
---- a/lib/ansible/galaxy/dependency_resolution/providers.py    2023-03-27 
19:29:13.000000000 +0200
-+++ b/lib/ansible/galaxy/dependency_resolution/providers.py    2023-04-10 
22:10:30.216701977 +0200
-@@ -42,7 +42,7 @@
- 
- # TODO: add python requirements to ansible-test's ansible-core distribution 
info and remove the hardcoded lowerbound/upperbound fallback
- RESOLVELIB_LOWERBOUND = SemanticVersion("0.5.3")
--RESOLVELIB_UPPERBOUND = SemanticVersion("0.9.0")
-+RESOLVELIB_UPPERBOUND = SemanticVersion("1.1.0")
- RESOLVELIB_VERSION = 
SemanticVersion.from_loose_version(LooseVersion(resolvelib_version))
- 
- 
-@@ -220,7 +220,7 @@
-             Mapping of identifier, list of named tuple pairs.
-             The named tuples have the entries ``requirement`` and ``parent``.
- 
--        resolvelib >=0.8.0, <= 0.8.1
-+        resolvelib >=0.8.0, <= 1.0.1
- 
-         :param identifier: The value returned by ``identify()``.
- 
-diff -ruN a/requirements.txt b/requirements.txt
---- a/requirements.txt 2023-03-27 19:29:13.000000000 +0200
-+++ b/requirements.txt 2023-04-11 16:34:09.987613705 +0200
-@@ -12,4 +12,4 @@
- # NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
- # NOTE: When updating the upper bound, also update the latest version used
- # NOTE: in the ansible-galaxy-collection test suite.
--resolvelib >= 0.5.3, < 0.9.0  # dependency resolver used by ansible-galaxy
-+resolvelib >= 0.5.3, < 1.1.0  # dependency resolver used by ansible-galaxy
-diff -ruN a/test/lib/ansible_test/_data/requirements/ansible.txt 
b/test/lib/ansible_test/_data/requirements/ansible.txt
---- a/test/lib/ansible_test/_data/requirements/ansible.txt     2023-03-27 
19:29:13.000000000 +0200
-+++ b/test/lib/ansible_test/_data/requirements/ansible.txt     2023-04-10 
22:11:39.433634202 +0200
-@@ -12,4 +12,4 @@
- # NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
- # NOTE: When updating the upper bound, also update the latest version used
- # NOTE: in the ansible-galaxy-collection test suite.
--resolvelib >= 0.5.3, < 0.9.0  # dependency resolver used by ansible-galaxy
-+resolvelib >= 0.5.3, < 1.1.0  # dependency resolver used by ansible-galaxy

Copied: 
ansible-core/repos/community-staging-any/ansible-core-2.14.4-resolvelib_1.1.patch
 (from rev 1448664, ansible-core/trunk/ansible-core-2.14.4-resolvelib_1.1.patch)
===================================================================
--- ansible-core-2.14.4-resolvelib_1.1.patch                            (rev 0)
+++ ansible-core-2.14.4-resolvelib_1.1.patch    2023-04-25 13:51:03 UTC (rev 
1448665)
@@ -0,0 +1,39 @@
+diff -ruN a/lib/ansible/galaxy/dependency_resolution/providers.py 
b/lib/ansible/galaxy/dependency_resolution/providers.py
+--- a/lib/ansible/galaxy/dependency_resolution/providers.py    2023-03-27 
19:29:13.000000000 +0200
++++ b/lib/ansible/galaxy/dependency_resolution/providers.py    2023-04-10 
22:10:30.216701977 +0200
+@@ -42,7 +42,7 @@
+ 
+ # TODO: add python requirements to ansible-test's ansible-core distribution 
info and remove the hardcoded lowerbound/upperbound fallback
+ RESOLVELIB_LOWERBOUND = SemanticVersion("0.5.3")
+-RESOLVELIB_UPPERBOUND = SemanticVersion("0.9.0")
++RESOLVELIB_UPPERBOUND = SemanticVersion("1.1.0")
+ RESOLVELIB_VERSION = 
SemanticVersion.from_loose_version(LooseVersion(resolvelib_version))
+ 
+ 
+@@ -220,7 +220,7 @@
+             Mapping of identifier, list of named tuple pairs.
+             The named tuples have the entries ``requirement`` and ``parent``.
+ 
+-        resolvelib >=0.8.0, <= 0.8.1
++        resolvelib >=0.8.0, <= 1.0.1
+ 
+         :param identifier: The value returned by ``identify()``.
+ 
+diff -ruN a/requirements.txt b/requirements.txt
+--- a/requirements.txt 2023-03-27 19:29:13.000000000 +0200
++++ b/requirements.txt 2023-04-11 16:34:09.987613705 +0200
+@@ -12,4 +12,4 @@
+ # NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
+ # NOTE: When updating the upper bound, also update the latest version used
+ # NOTE: in the ansible-galaxy-collection test suite.
+-resolvelib >= 0.5.3, < 0.9.0  # dependency resolver used by ansible-galaxy
++resolvelib >= 0.5.3, < 1.1.0  # dependency resolver used by ansible-galaxy
+diff -ruN a/test/lib/ansible_test/_data/requirements/ansible.txt 
b/test/lib/ansible_test/_data/requirements/ansible.txt
+--- a/test/lib/ansible_test/_data/requirements/ansible.txt     2023-03-27 
19:29:13.000000000 +0200
++++ b/test/lib/ansible_test/_data/requirements/ansible.txt     2023-04-10 
22:11:39.433634202 +0200
+@@ -12,4 +12,4 @@
+ # NOTE: Ref: https://github.com/sarugaku/resolvelib/issues/69
+ # NOTE: When updating the upper bound, also update the latest version used
+ # NOTE: in the ansible-galaxy-collection test suite.
+-resolvelib >= 0.5.3, < 0.9.0  # dependency resolver used by ansible-galaxy
++resolvelib >= 0.5.3, < 1.1.0  # dependency resolver used by ansible-galaxy

Reply via email to