* [PR PATCH] WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt
@ 2024-11-21 2:37 andrelcmoreira
2024-11-21 2:54 ` [PR PATCH] [Updated] " andrelcmoreira
0 siblings, 1 reply; 2+ messages in thread
From: andrelcmoreira @ 2024-11-21 2:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 550 bytes --]
There is a new pull request by andrelcmoreira against master on the void-packages repository
https://github.com/andrelcmoreira/void-packages update_ansible
https://github.com/void-linux/void-packages/pull/53163
WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53163.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_ansible-53163.patch --]
[-- Type: text/x-diff, Size: 3554 bytes --]
From e6053e2a54113299df7cf7248f0d466b4c4c248c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20L=2E=20C=2E=20Moreira?=
<andrelcmoreira@disroot.org>
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 <orphan@voidlinux.org>"
+maintainer="André L. C. Moreira <andrelcmoreira@disroot.org>"
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 732c7b6f1de4084855a1e72eb16f5a5788efe628 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20L=2E=20C=2E=20Moreira?=
<andrelcmoreira@disroot.org>
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 | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template
index 90390483d86687..6629b56dc9e460 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"
+ python3-passlib util-linux"
short_desc="Simple deployment, configuration management and execution framework"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="André L. C. Moreira <andrelcmoreira@disroot.org>"
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Updated] WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt
2024-11-21 2:37 [PR PATCH] WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt andrelcmoreira
@ 2024-11-21 2:54 ` andrelcmoreira
0 siblings, 0 replies; 2+ messages in thread
From: andrelcmoreira @ 2024-11-21 2:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 555 bytes --]
There is an updated pull request by andrelcmoreira against master on the void-packages repository
https://github.com/andrelcmoreira/void-packages update_ansible
https://github.com/void-linux/void-packages/pull/53163
WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
A patch file from https://github.com/void-linux/void-packages/pull/53163.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update_ansible-53163.patch --]
[-- Type: text/x-diff, Size: 3522 bytes --]
From e6053e2a54113299df7cf7248f0d466b4c4c248c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20L=2E=20C=2E=20Moreira?=
<andrelcmoreira@disroot.org>
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 <orphan@voidlinux.org>"
+maintainer="André L. C. Moreira <andrelcmoreira@disroot.org>"
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?=
<andrelcmoreira@disroot.org>
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 <orphan@voidlinux.org>"
+maintainer="André L. C. Moreira <andrelcmoreira@disroot.org>"
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-11-21 2:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-21 2:37 [PR PATCH] WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt andrelcmoreira
2024-11-21 2:54 ` [PR PATCH] [Updated] " andrelcmoreira
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).