Github messages for voidlinux
 help / color / mirror / Atom feed
From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-ansible-lint: update to 6.11.0.
Date: Fri, 20 Jan 2023 12:39:40 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41755@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages python3-ansible-lint-6.11.0_1
https://github.com/void-linux/void-packages/pull/41755

python3-ansible-lint: update to 6.11.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/41755.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-ansible-lint-6.11.0_1-41755.patch --]
[-- Type: text/x-diff, Size: 2951 bytes --]

From 750e0d9983448f114467b110ce6700fac9d9eee8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 20 Jan 2023 12:38:40 +0100
Subject: [PATCH] python3-ansible-lint: update to 6.11.0.

---
 ...eck-only-makes-sense-when-installing.patch | 32 +++++++++++++++++++
 srcpkgs/python3-ansible-lint/template         |  4 +--
 2 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 srcpkgs/python3-ansible-lint/patches/0001-remove-update-check-only-makes-sense-when-installing.patch

diff --git a/srcpkgs/python3-ansible-lint/patches/0001-remove-update-check-only-makes-sense-when-installing.patch b/srcpkgs/python3-ansible-lint/patches/0001-remove-update-check-only-makes-sense-when-installing.patch
new file mode 100644
index 000000000000..b901a7f03887
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint/patches/0001-remove-update-check-only-makes-sense-when-installing.patch
@@ -0,0 +1,32 @@
+From 024867b927d760e4ae4cce88c8415ce1f8dddab2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Fri, 20 Jan 2023 12:31:41 +0100
+Subject: [PATCH] remove update check, only makes sense when installing with
+ pip
+
+---
+ src/ansiblelint/app.py | 7 -------
+ 1 file changed, 7 deletions(-)
+
+diff --git a/src/ansiblelint/app.py b/src/ansiblelint/app.py
+index 40423c64..e5dff508 100644
+--- a/src/ansiblelint/app.py
++++ b/src/ansiblelint/app.py
+@@ -291,13 +291,6 @@ warn_list:  # or 'skip_list' to silence them completely
+             msg += f", and fixed {summary.fixed} issue(s)"
+         msg += f" on {files_count} files."
+ 
+-        # on offline mode and when run under pre-commit we do not want to
+-        # check for updates.
+-        if not self.options.offline and os.environ.get("PRE_COMMIT", "0") != "1":
+-            version_warning = get_version_warning()
+-            if version_warning:
+-                msg += f"\n{version_warning}"
+-
+         console_stderr.print(msg)
+ 
+ 
+-- 
+2.39.1
+
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 2c64ddb0f119..bd14f14474cb 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=6.10.2
+version=6.11.0
 revision=1
 build_style=python3-pep517
 make_install_target="dist/ansible_lint-*-*-*-*.whl"
@@ -18,7 +18,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-only"
 homepage="https://github.com/ansible/ansible-lint"
 distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=e228449ac2f10d1c16df35c4769282b529ac1fe2b50767333fad1c85a62df671
+checksum=348ac356c3817a6db98fb6993ec17b5b236c16312238759f0a3f14f3543a9e50
 # cba anymore, the list of failing tests changes with every update
 make_check="no"
 

             reply	other threads:[~2023-01-20 11:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 11:39 jcgruenhage [this message]
2023-01-20 21:50 ` [PR PATCH] [Merged]: " paper42

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41755@inbox.vuxu.org \
    --to=jcgruenhage@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).