* [PR PATCH] python3-ansible-lint: update to 6.11.0.
@ 2023-01-20 11:39 jcgruenhage
2023-01-20 21:50 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: jcgruenhage @ 2023-01-20 11:39 UTC (permalink / raw)
To: ml
[-- 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"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: python3-ansible-lint: update to 6.11.0.
2023-01-20 11:39 [PR PATCH] python3-ansible-lint: update to 6.11.0 jcgruenhage
@ 2023-01-20 21:50 ` paper42
0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2023-01-20 21:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1077 bytes --]
There's a merged pull request on the void-packages repository
python3-ansible-lint: update to 6.11.0.
https://github.com/void-linux/void-packages/pull/41755
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-20 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20 11:39 [PR PATCH] python3-ansible-lint: update to 6.11.0 jcgruenhage
2023-01-20 21:50 ` [PR PATCH] [Merged]: " paper42
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).