From e6053e2a54113299df7cf7248f0d466b4c4c248c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=2E=20C=2E=20Moreira?= Date: Wed, 20 Nov 2024 01:23:57 -0300 Subject: [PATCH 1/2] ansible: update to 11.0.0, adopt --- srcpkgs/ansible/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template index 0972275964ed5e..cdcad152a1d41e 100644 --- a/srcpkgs/ansible/template +++ b/srcpkgs/ansible/template @@ -1,15 +1,15 @@ # Template file for 'ansible' pkgname=ansible -version=10.5.0 +version=11.0.0 revision=1 build_style="python3-pep517" hostmakedepends="python3-setuptools python3-wheel" depends="ansible-core" short_desc="Simple deployment, configuration management and execution framework" -maintainer="Orphaned " +maintainer="André L. C. Moreira " license="GPL-3.0-or-later" homepage="https://www.ansible.com/" distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz" -checksum=ba2045031a7d60c203b6e5fe1f8eaddd53ae076f7ada910e636494384135face +checksum=d6b3929f9954e49387870a4da290dbfa38a1f56ea6d4bf24c9a2765d2897db79 # Relevant tests happen in ansible-core make_check=no From 966e2f393aa83380597a6ee777e86146ea3c83b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20L=2E=20C=2E=20Moreira?= Date: Wed, 20 Nov 2024 01:36:33 -0300 Subject: [PATCH 2/2] ansible-core: update to 2.18.0, adopt --- srcpkgs/ansible-core/template | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template index 90390483d86687..3bbfad0fd20def 100644 --- a/srcpkgs/ansible-core/template +++ b/srcpkgs/ansible-core/template @@ -1,26 +1,27 @@ # Template file for 'ansible-core' pkgname=ansible-core -version=2.17.5 +version=2.18.0 revision=1 hostmakedepends="python3-setuptools python3-wheel python3-packaging - python3-straight.plugin python3-docutils python3-Jinja2 python3-yaml" + python3-straight.plugin python3-docutils python3-Jinja2 python3-yaml python3-build + python3-installer" depends="python3-cryptography python3-Jinja2 python3-paramiko python3-yaml python3-packaging python3-resolvelib python3-pytz git" checkdepends="${depends} python3-pytest python3-pytest-xdist python3-pytest-forked unzip openssh python3-pytest-mock libselinux python3-passlib" short_desc="Simple deployment, configuration management and execution framework" -maintainer="Orphaned " +maintainer="André L. C. Moreira " license="GPL-3.0-or-later" homepage="https://www.ansible.com/" changelog="https://raw.githubusercontent.com/ansible/ansible/stable-${version%.*}/changelogs/CHANGELOG-v${version%.*}.rst" -distfiles="${PYPI_SITE}/a/ansible-core/ansible_core-${version}.tar.gz" -checksum=ae7f51fd13dc9d57c9bcd43ef23f9c255ca8f18f4b5c0011a4f9b724d92c5a8e +distfiles="https://github.com/ansible/ansible/archive/refs/tags/v${version}.tar.gz" +checksum=7b05c060502bf0d792a23502803a5ca2189ece25d0c8653339805e54671cf6a9 conflicts="ansible<2.10.1_1" replaces="ansible-base<2.11.0_1" do_build() { - python setup.py build + python -m build --wheel --no-isolation } do_check() { @@ -28,7 +29,7 @@ do_check() { } do_install() { - python setup.py install --root="${DESTDIR}" + python -m installer --destdir="${DESTDIR}" dist/*.whl mkdir man ./packaging/cli-doc/build.py man --output-dir man