From: dstolfa <dstolfa@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] ansible: update to 4.0.0
Date: Wed, 19 May 2021 01:05:34 +0200 [thread overview]
Message-ID: <20210518230534.wljy8-o_61FgJAUKRnP3U3OvZd3NcEwPLgkBno_0cGQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-30968@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 744 bytes --]
There is an updated pull request by dstolfa against master on the void-packages repository
https://github.com/dstolfa/void-packages ansible-dev
https://github.com/void-linux/void-packages/pull/30968
ansible: update to 4.0.0
With the major version update of ansible to 4.0.0, ansible-base has been renamed to ansible-core. This pull request addresses the changes necessary to update ansible to 4.0.0.
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
A patch file from https://github.com/void-linux/void-packages/pull/30968.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ansible-dev-30968.patch --]
[-- Type: text/x-diff, Size: 4353 bytes --]
From 58e20bfd4e790b1b3b5426cc9fd710fbbb7aedb7 Mon Sep 17 00:00:00 2001
From: Domagoj Stolfa <ds815@gmx.com>
Date: Tue, 18 May 2021 16:34:37 +0100
Subject: [PATCH] ansible: update to 4.0.0
With the update of ansible to 4.0.0, ansible-base has been deprecated
and ansible-core is the new name of its dependency [1]. This commit
makes the following changes outside of ansible:
ansible-base is now a transitional package that depends on ansible-core.
ansible-core is what ansible-base used to be (for the most part) with
names changed where necessary.
In order to minimize the chance of users getting into a broken state,
this was all done as a single commit rather than separate ones.
[1]: https://www.ansible.com/blog/ansible-3.0.0-qa
---
srcpkgs/ansible-base/template | 21 ++++------------
srcpkgs/ansible-core/template | 24 +++++++++++++++++++
srcpkgs/{ansible-base => ansible-core}/update | 0
srcpkgs/ansible/template | 6 ++---
4 files changed, 31 insertions(+), 20 deletions(-)
create mode 100644 srcpkgs/ansible-core/template
rename srcpkgs/{ansible-base => ansible-core}/update (100%)
diff --git a/srcpkgs/ansible-base/template b/srcpkgs/ansible-base/template
index 177f378e146d..4bad4162624b 100644
--- a/srcpkgs/ansible-base/template
+++ b/srcpkgs/ansible-base/template
@@ -1,24 +1,11 @@
# Template file for 'ansible-base'
+# This is a transitional package for ansible-core. Since ansible 4.0.0,
+# ansible-base was deprecated in favor of ansible-core.
pkgname=ansible-base
-version=2.10.9
+version=2.11.0
revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="${hostmakedepends} python3-cryptography python3-Jinja2 python3-paramiko
- python3-yaml python3-packaging"
+depends="ansible-core"
short_desc="Simple deployment, configuration management and execution framework"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-or-later"
homepage="https://www.ansible.com/"
-distfiles="${PYPI_SITE}/a/ansible-base/ansible-base-${version}.tar.gz"
-checksum=04635d3e08fc29358c76b8e7f1e9db0ce443fb09ce30b2acc6cacaad165f2151
-conflicts="ansible<2.10.1_1"
-make_check=no
-
-post_install() {
- vsconf examples/ansible.cfg
- vsconf examples/hosts
- for m in docs/man/man1/*.1; do
- vman ${m}
- done
-}
diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template
new file mode 100644
index 000000000000..34cf7cbe57a3
--- /dev/null
+++ b/srcpkgs/ansible-core/template
@@ -0,0 +1,24 @@
+# Template file for 'ansible-core'
+pkgname=ansible-core
+version=2.11.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="${hostmakedepends} python3-cryptography python3-Jinja2 python3-paramiko
+ python3-yaml python3-packaging"
+short_desc="Simple deployment, configuration management and execution framework"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://www.ansible.com/"
+distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz"
+checksum=9470ceb710711eacd75f1bcae802af036ab2a6c2cd5a13bfcb50b2d89667c9c5
+conflicts="ansible<4.0.0"
+make_check=no
+
+post_install() {
+ vsconf examples/ansible.cfg
+ vsconf examples/hosts
+ for m in docs/man/man1/*.1; do
+ vman ${m}
+ done
+}
diff --git a/srcpkgs/ansible-base/update b/srcpkgs/ansible-core/update
similarity index 100%
rename from srcpkgs/ansible-base/update
rename to srcpkgs/ansible-core/update
diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template
index 143f1e3f6ea4..d7c2047fcafc 100644
--- a/srcpkgs/ansible/template
+++ b/srcpkgs/ansible/template
@@ -1,14 +1,14 @@
# Template file for 'ansible'
pkgname=ansible
-version=3.3.0
+version=4.0.0
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
-depends="python3 ansible-base"
+depends="python3 ansible-core"
short_desc="Simple deployment, configuration management and execution framework"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-or-later"
homepage="https://www.ansible.com/"
distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz"
-checksum=2de5385c48a2a24a19f6cbaccc7d7684c64b6194f9a9b175aba7949d53b07bc9
+checksum=6f67ca5c634e4721d1f8e206dc71d60d1a114d147945355bfc902bd37eb07080
make_check=no
next prev parent reply other threads:[~2021-05-18 23:05 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-18 15:36 [PR PATCH] ansible: update to 3.4.0 dstolfa
2021-05-18 22:54 ` [PR PATCH] [Updated] " dstolfa
2021-05-18 23:05 ` dstolfa [this message]
2021-05-18 23:15 ` [PR PATCH] [Updated] ansible: update to 4.0.0 dstolfa
2021-05-20 15:12 ` ahesford
2021-05-20 15:13 ` ahesford
2021-05-20 16:07 ` [PR PATCH] [Updated] " dstolfa
2021-05-20 16:11 ` dstolfa
2021-05-20 16:28 ` dstolfa
2021-05-21 0:53 ` jcgruenhage
2021-05-21 11:58 ` [PR PATCH] [Updated] " dstolfa
2021-05-21 13:54 ` ericonr
2021-05-21 13:54 ` [PR PATCH] [Closed]: " ericonr
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=20210518230534.wljy8-o_61FgJAUKRnP3U3OvZd3NcEwPLgkBno_0cGQ@z \
--to=dstolfa@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).