From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-ansible-lint: update to 6.3.0.
Date: Fri, 01 Jul 2022 23:10:02 +0200 [thread overview]
Message-ID: <20220701211002.2cpvjL28CMBGhOikRVXbpKsulLfB25zmsw5Z2LvA8GQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37488@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages python3-ansible-lint-6.3.0_1
https://github.com/void-linux/void-packages/pull/37488
python3-ansible-lint: update to 6.3.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 [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-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/37488.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-ansible-lint-6.3.0_1-37488.patch --]
[-- Type: text/x-diff, Size: 8959 bytes --]
From c4e4fb7b5aa525612c3a56bee7fe0e19eb9b6400 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Sun, 26 Jun 2022 16:47:17 +0200
Subject: [PATCH 1/4] python3-jsonschema: update to 4.6.1.
---
srcpkgs/python3-jsonschema/template | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-jsonschema/template b/srcpkgs/python3-jsonschema/template
index 120392ad1be3..a1dd7ff5d073 100644
--- a/srcpkgs/python3-jsonschema/template
+++ b/srcpkgs/python3-jsonschema/template
@@ -1,20 +1,24 @@
# Template file for 'python3-jsonschema'
pkgname=python3-jsonschema
-version=4.4.0
+version=4.6.1
revision=1
wrksrc="jsonschema-${version}"
build_style=python3-pep517
-make_check_args="--deselect jsonschema/tests/test_cli.py::TestCLIIntegration::test_license"
-hostmakedepends="python3-setuptools_scm python3-wheel"
+hostmakedepends="hatchling hatch-vcs"
depends="python3-attrs python3-pyrsistent"
-checkdepends="python3-pytest python3-Twisted $depends"
short_desc="Implementation of JSON Schema for Python3"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT"
homepage="https://github.com/Julian/jsonschema"
changelog="https://raw.githubusercontent.com/Julian/jsonschema/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/j/jsonschema/jsonschema-${version}.tar.gz"
-checksum=636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83
+checksum=ec2802e6a37517f09d47d9ba107947589ae1d25ff557b925d83a321fc2aa5d3b
+# Tests require jsonschema to be installed already. Setting PYTHONPATH doesn't seem to do trick
+make_check=no
+
+pre_build() {
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
+}
post_install() {
vlicense COPYING LICENSE
From fc312a0532ae75f612bc88e4246c8758bb457c9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:53:19 +0200
Subject: [PATCH 2/4] python3-bracex: update to 2.3.post1.
---
srcpkgs/python3-bracex/template | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
index a88b1f66737c..89025d991378 100644
--- a/srcpkgs/python3-bracex/template
+++ b/srcpkgs/python3-bracex/template
@@ -1,10 +1,10 @@
# Template file for 'python3-bracex'
pkgname=python3-bracex
-version=2.2.1
+version=2.3.post1
revision=1
wrksrc="${pkgname/python3-/}-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+hostmakedepends="hatchling"
depends="python3"
checkdepends="python3-pytest"
short_desc="Bash style brace expansion for Python"
@@ -13,7 +13,7 @@ license="MIT"
homepage="https://github.com/facelessuser/bracex"
changelog="https://raw.githubusercontent.com/facelessuser/bracex/master/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
-checksum=1c8d1296e00ad9a91030ccb4c291f9e4dc7c054f12c707ba3c5ff3e9a81bcd21
+checksum=e7b23fc8b2cd06d3dec0692baabecb249dda94e06a617901ff03a6c56fd71693
post_install() {
vlicense LICENSE.md
From 62ab2f02555dc5d75becd7115439b73ba817a560 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Fri, 1 Jul 2022 08:59:13 +0200
Subject: [PATCH 3/4] python3-wcmatch: update to 8.4.
---
srcpkgs/python3-wcmatch/template | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
index d132c7721d80..60ad0128e422 100644
--- a/srcpkgs/python3-wcmatch/template
+++ b/srcpkgs/python3-wcmatch/template
@@ -1,12 +1,12 @@
# Template file for 'python3-wcmatch'
pkgname=python3-wcmatch
-version=8.3
+version=8.4
revision=1
wrksrc="${pkgname/python3-/}-${version}"
-build_style=python3-module
-make_check_args="--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_realpath
---deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_tilde"
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+#make_check_args="--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_realpath
+#--deselect tests/test_globmatch.py::TestTilde::test_tilde_globmatch_no_tilde"
+hostmakedepends="hatchling"
depends="python3-bracex"
checkdepends="python3-pytest ${depends}"
short_desc="Wilcard File Name matching library"
@@ -15,7 +15,7 @@ license="MIT"
homepage="https://github.com/facelessuser/wcmatch"
changelog="https://raw.githubusercontent.com/facelessuser/wcmatch/main/docs/src/markdown/about/changelog.md"
distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
-checksum=371072912398af61d1e4e78609e18801c6faecd3cb36c54c82556a60abc965db
+checksum=ba4fc5558f8946bf1ffc7034b05b814d825d694112499c86035e0e4d398b6a67
post_install() {
vlicense LICENSE.md
From a987f0ff32de7db31a79375fb323a26d1891cdcc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 17:30:55 +0200
Subject: [PATCH 4/4] python3-ansible-lint: update to 6.3.0.
---
srcpkgs/python3-ansible-lint/template | 41 ++++++++++++++++++++++-----
1 file changed, 34 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 19b1453782e9..a2887ed6ad5c 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,13 +1,42 @@
# Template file for 'python3-ansible-lint'
pkgname=python3-ansible-lint
-version=6.2.2
+version=6.3.0
revision=1
wrksrc="${pkgname/python3-/}-${version}"
build_style=python3-pep517
+# These require ansible-lint installed properly, or they are flaky
+make_check_args="--deselect test/test_eco.py::test_eco
+ --deselect test/test_main.py::test_call_from_outside_venv
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_script
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_role_name_with_prefix
+ --deselect test/test_cli_role_paths.py::test_run_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_invalid_role_name_from_meta
+ --deselect test/test_cli_role_paths.py::test_run_role_three_dir_deep
+ --deselect test/test_cli_role_paths.py::test_run_playbook
+ --deselect test/test_cli_role_paths.py::test_run_role_name_invalid
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_no_trailing_slash_module
+ --deselect test/test_cli_role_paths.py::test_run_inside_role_dir
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_multiple_role_path_no_trailing_slash
+ --deselect test/test_cli_role_paths.py::test_run_single_role_path_with_roles_path_env
+ --deselect test/test_verbosity.py::test_default_verbosity
+ --deselect test/test_task_includes.py::test_included_tasks
+ --deselect test/test_utils.py::test_cli_auto_detect
+ --deselect test/test_list_rules.py::test_list_rules_includes_opt_in_rules
+ --deselect test/test_formatter_json.py::test_code_climate_parsable_ignored
+ --deselect test/test_examples.py::test_custom_kinds
+ --deselect src/ansiblelint/rules/only_builtins.py::test_only_builtin_fail
+ --deselect test/test_import_playbook.py::test_task_hook_import_playbook
+ --deselect test/test_rules_collection.py::test_rich_rule_listing"
+make_install_target="ansible_lint-*-*-*-*.whl"
hostmakedepends="python3-wheel python3-setuptools_scm"
depends="ansible-core python3-yamllint python3-six python3-yaml
python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch
- python3-ansible-compat"
+ python3-ansible-compat python3-jsonschema"
+checkdepends="${depends} python3-pytest black python3-flake8 python3-flaky
+ python3-mypy pylint python3-pytest-cov python3-pytest-xdist
+ python3-pytest-forked"
short_desc="Linter for Ansible files"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
# Note about licensing from upstream:
@@ -18,12 +47,10 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="GPL-3.0-only"
homepage="https://github.com/ansible-community/ansible-lint"
distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=b8e2956fede90bd28150e97f209a8af787c6001f584bb6613112a1ce1aea311d
-# Tests are currently broken for ansible on python 3.10
-# See https://github.com/ansible/ansible/issues/74658
-# and https://github.com/ansible/ansible/issues/74660
-make_check=no
+checksum=f57f520ae5d810ce062157dc7d633990ad2fbec81bbbb34ccc4ce3a0c21fcd38
+make_check_pre="env PYTHONPATH=src"
post_patch() {
vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml
+ export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
}
next prev parent reply other threads:[~2022-07-01 21:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-10 15:31 [PR PATCH] " jcgruenhage
2022-06-25 0:19 ` classabbyamp
2022-06-26 10:43 ` jcgruenhage
2022-06-26 14:48 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-30 8:43 ` jcgruenhage
2022-07-01 8:51 ` jcgruenhage
2022-07-01 8:54 ` jcgruenhage
2022-07-01 8:56 ` [PR PATCH] [Updated] " jcgruenhage
2022-07-01 21:10 ` jcgruenhage [this message]
2022-07-01 21:17 ` jcgruenhage
2022-07-01 21:56 ` [PR PATCH] [Merged]: " the-maldridge
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=20220701211002.2cpvjL28CMBGhOikRVXbpKsulLfB25zmsw5Z2LvA8GQ@z \
--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).