Github messages for voidlinux
 help / color / mirror / Atom feed
From: andrelcmoreira <andrelcmoreira@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] WIP ansible: update to 11.0.0, adopt; ansible-core: update to 2.8.0, adopt
Date: Thu, 21 Nov 2024 03:54:04 +0100	[thread overview]
Message-ID: <20241121025404.AEE072144D@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-53163@inbox.vuxu.org>

[-- 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

      reply	other threads:[~2024-11-21  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-21  2:37 [PR PATCH] " andrelcmoreira
2024-11-21  2:54 ` andrelcmoreira [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241121025404.AEE072144D@inbox.vuxu.org \
    --to=andrelcmoreira@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).