Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-ansible-lint: update to 5.0.12.
@ 2021-07-16 10:45 jcgruenhage
  2021-10-12 16:22 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (35 more replies)
  0 siblings, 36 replies; 37+ messages in thread
From: jcgruenhage @ 2021-07-16 10:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 997 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: update to 5.0.12.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

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

#### Checks

For some reason, the checks on python3-ansible-lint currently fails, but I don't get what the error message is trying to tell me. Any pointers there?

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

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

From 1dc8f73d113e7805ceb9ea778503e44fac53f3e7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/6] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From 1d5304b025a7b8bc6e36da8d4c86f2d06fc67c33 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/6] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..e0bd9537a809
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE
+}

From d760908d6218d09e988b35ac1c01e45b61a6a67d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/6] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..05b04b7c9d90
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE
+}

From 95757d57590f28fbb36d116c4b68da41059648ce Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/6] New package: python3-typeguard-2.12.1

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..1394c1a02ba9
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.12.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=c2af8b9bdd7657f4bd27b45336e7930171aead796711bc4cfc99b4731bb9d051
+
+post_install() {
+	vlicense LICENSE
+}

From c8d690c43098f46ddc606d1869ffcff289089b35 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/6] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 0e5c2b9d40eca36e64af7ae7e1f0b2c348adf1b9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 6/6] python3-ansible-lint: update to 5.0.12.

---
 srcpkgs/python3-ansible-lint/template | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index 80fa8dbe130c..47db7f51d19b 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=4.3.5
-revision=2
-wrksrc="ansible-lint-${version}"
+version=5.0.12
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
+hostmakedepends="python3-pip python3-wheel"
+depends="ansible-core python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+checkdepends="tox ${depends}"
 short_desc="Linter for Ansible files"
 maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
 license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
+homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
+checksum=f2b0b74bd05cf55f0bb45304767e1862ed62c05def06e1f03aa2c2d39c67907c
 
 post_patch() {
 	# scm versioning is broken in this release

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 5.0.12.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
@ 2021-10-12 16:22 ` jcgruenhage
  2021-10-12 17:32 ` [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.0 jcgruenhage
                   ` (34 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-12 16:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1002 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: update to 5.0.12.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

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

#### Checks

For some reason, the checks on python3-ansible-lint currently fails, but I don't get what the error message is trying to tell me. Any pointers there?

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

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

From d74cd8cdd69675c0397e37f8b497db7009266f48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/6] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From 97e7632daff9b60ff2620251a2801a85758610a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/6] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..01eb3dab8b75
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 082a3bafad9d87012c3143e114235334effb3aad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/6] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..790090dc7930
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 363ce7b08a10e958651b5116bc1a12691b385eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/6] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From bcbf0cb166c4cfc27f70a07e9b400c9886de87be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/6] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 9e2472c8c340f1125ae649e353f40778b9ab70cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 6/6] python3-ansible-lint: update to 5.2.0.

---
 srcpkgs/python3-ansible-lint/template | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index bc8b03fcd823..dcbe23de439e 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,18 +1,19 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
+version=5.2.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
+hostmakedepends="python3-pip python3-wheel"
+depends="ansible-core python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+checkdepends="tox ${depends}"
 short_desc="Linter for Ansible files"
 maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
 license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
+homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
 
 post_patch() {
 	# scm versioning is broken in this release

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
  2021-10-12 16:22 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-10-12 17:32 ` jcgruenhage
  2021-10-12 18:01 ` [PR REVIEW] " paper42
                   ` (33 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-12 17:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 833 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From d74cd8cdd69675c0397e37f8b497db7009266f48 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From 97e7632daff9b60ff2620251a2801a85758610a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..01eb3dab8b75
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 082a3bafad9d87012c3143e114235334effb3aad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..790090dc7930
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 363ce7b08a10e958651b5116bc1a12691b385eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From bcbf0cb166c4cfc27f70a07e9b400c9886de87be Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 334b7c2c52d990d2eafc6737b97f9b9c84c5ee30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: update to 1.26.3.

---
 srcpkgs/python3-yamllint/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
index 70c4643e21a6..150d8a5f5a73 100644
--- a/srcpkgs/python3-yamllint/template
+++ b/srcpkgs/python3-yamllint/template
@@ -1,18 +1,18 @@
 # Template file for 'python3-yamllint'
 pkgname=python3-yamllint
-version=1.15.0
-revision=5
+version=1.26.3
+revision=1
 wrksrc="yamllint-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-pathspec python3-setuptools python3-yaml"
 checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="GPL-3.0-or-later"
 homepage="https://github.com/adrienverge/yamllint"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
 conflicts="python-yamllint>=0"
 
 do_check() {

From e840f779fc98c4cc9a5d2365117acf5785d85356 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: update to 5.2.0.

---
 srcpkgs/python3-ansible-lint/template | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
index bc8b03fcd823..1bf5f4974792 100644
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -1,18 +1,19 @@
 # Template file for 'python3-ansible-lint'
 pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
+version=5.2.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
+hostmakedepends="python3-pip python3-wheel"
+depends="ansible-core python3-yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+checkdepends="tox ${depends}"
 short_desc="Linter for Ansible files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
+homepage="https://github.com/ansible-community/ansible-lint"
 distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
 
 post_patch() {
 	# scm versioning is broken in this release

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
  2021-10-12 16:22 ` [PR PATCH] [Updated] " jcgruenhage
  2021-10-12 17:32 ` [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.0 jcgruenhage
@ 2021-10-12 18:01 ` paper42
  2021-10-12 18:01 ` paper42
                   ` (32 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: paper42 @ 2021-10-12 18:01 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r727372037

Comment:
can we keep using setuptools?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (2 preceding siblings ...)
  2021-10-12 18:01 ` [PR REVIEW] " paper42
@ 2021-10-12 18:01 ` paper42
  2021-10-13  9:25 ` jcgruenhage
                   ` (31 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: paper42 @ 2021-10-12 18:01 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r727373223

Comment:
* this should use pytest if possible
* you are skipping check anyway

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (3 preceding siblings ...)
  2021-10-12 18:01 ` paper42
@ 2021-10-13  9:25 ` jcgruenhage
  2021-10-13  9:29 ` jcgruenhage
                   ` (30 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13  9:25 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r727872184

Comment:
I don't think so :/

```
=> python3-ansible-lint-5.2.0_1: running do_build ...
WARNING: The wheel package is not available.
/usr/bin/python3: No module named pip
```

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (4 preceding siblings ...)
  2021-10-13  9:25 ` jcgruenhage
@ 2021-10-13  9:29 ` jcgruenhage
  2021-10-13 10:59 ` jcgruenhage
                   ` (29 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13  9:29 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r727875330

Comment:
So should I just omit `checkdepends` if `makecheck=no` is set?

Regarding skipping, this is the error message, and I have no idea what it means:

```
=> python3-ansible-lint-5.2.0_1: running do_check ...
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 939, in _find_spec
AttributeError: '_SixMetaPathImporter' object has no attribute 'find_spec'
```

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (5 preceding siblings ...)
  2021-10-13  9:29 ` jcgruenhage
@ 2021-10-13 10:59 ` jcgruenhage
  2021-10-13 11:41 ` jcgruenhage
                   ` (28 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 10:59 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r727943220

Comment:
I think I've found the reason for these, the custom loader that ansible uses implements methods deprecated in Python 3.4, and Python 3.10 started spitting out warnings. In the context of tests, `filterwarnings` is set to `error`, which causes the tests to fail there. Fixes for these are being implemented in ansible, meaning we should get working tests. Apparently, as far as I can tell, the old methods still work, so it doesn't actually break anything in actual use, but the tests will still fail.

The failures in ansible-lint come from the imported ansible-core, the issue is not in ansible-lint itself.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (6 preceding siblings ...)
  2021-10-13 10:59 ` jcgruenhage
@ 2021-10-13 11:41 ` jcgruenhage
  2021-10-13 12:59 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (27 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 11:41 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r727972604

Comment:
Another update on this: Even with a patch included which ignores the ImportWarnings, the testing doesn't work right now:

```
=> python3-ansible-lint-5.2.0_1: running do_check ...
ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]
__main__.py: error: unrecognized arguments: -n --no-success-flaky-report test ansiblelint.rules
  inifile: /builddir/ansible-lint-5.2.0/pytest.ini
  rootdir: /builddir/ansible-lint-5.2.0

=> ERROR: python3-ansible-lint-5.2.0_1: do_check: 'PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest ${make_check_args} ${make_check_target}' exited with 4
=> ERROR:   in do_check() at common/build-style/python3-module.sh:28
```

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (7 preceding siblings ...)
  2021-10-13 11:41 ` jcgruenhage
@ 2021-10-13 12:59 ` jcgruenhage
  2021-10-13 15:03 ` [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, " jcgruenhage
                   ` (26 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 12:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 833 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From 5f01254794a23f5de4b1d66a22968be5f77aa714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From a7c70fbdfb3ceca22e818d87d0490ec24dc21811 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..01eb3dab8b75
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 84fa38399fb210b5a1a47f6e755454c33e21cede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..790090dc7930
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From fd1b771c244017e2d8c48c9a3ce8df940a995cac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From b5c2a9c577f9c1101ea4a196f03c12d9c4f32c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 00cc5283600ffe32eac5667aeab261e85a501279 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/python3-yamllint |  1 +
 srcpkgs/yamllint/template         | 29 +++++++++++++++++++++++++++++
 4 files changed, 31 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 120000 srcpkgs/yamllint/python3-yamllint
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 70c4643e21a6..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/python3-yamllint b/srcpkgs/yamllint/python3-yamllint
new file mode 120000
index 000000000000..1d89b7366f80
--- /dev/null
+++ b/srcpkgs/yamllint/python3-yamllint
@@ -0,0 +1 @@
+python3-yamllint
\ No newline at end of file
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..37b6f0b2f92a
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,29 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64-musl) makecheck=no;;
+esac
+
+do_check() {
+	python3 setup.py test
+}
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From 97bf1959645b58f68495113af14a9ec967467b50 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 29 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 ----------------------
 3 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..fc4ca045c0f3
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,29 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index bc8b03fcd823..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (8 preceding siblings ...)
  2021-10-13 12:59 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-10-13 15:03 ` jcgruenhage
  2021-10-13 15:09 ` jcgruenhage
                   ` (25 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 15:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From 5f01254794a23f5de4b1d66a22968be5f77aa714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From a7c70fbdfb3ceca22e818d87d0490ec24dc21811 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..01eb3dab8b75
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 84fa38399fb210b5a1a47f6e755454c33e21cede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..790090dc7930
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From fd1b771c244017e2d8c48c9a3ce8df940a995cac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From b5c2a9c577f9c1101ea4a196f03c12d9c4f32c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From e20a2f2ea867a3c8df5c2c83a38edc5877f08f0d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 31 +++++++++++++++++++++++++++++++
 3 files changed, 32 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 70c4643e21a6..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..2c4448f6c810
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,31 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64-musl) make_check=no;;
+esac
+
+do_check() {
+	echo ${makecheck}
+	echo ${XBPS_TARGET_MACHINE}
+	python3 setup.py test
+}
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From d0b3607f14e01118ee47be3ba2d8f53d3a2e4df1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 29 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 ----------------------
 3 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..fc4ca045c0f3
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,29 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index bc8b03fcd823..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (9 preceding siblings ...)
  2021-10-13 15:03 ` [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, " jcgruenhage
@ 2021-10-13 15:09 ` jcgruenhage
  2021-10-13 16:45 ` [PR REVIEW] " Chocimier
                   ` (24 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 15:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From 5f01254794a23f5de4b1d66a22968be5f77aa714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From a7c70fbdfb3ceca22e818d87d0490ec24dc21811 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..01eb3dab8b75
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 84fa38399fb210b5a1a47f6e755454c33e21cede Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..790090dc7930
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From fd1b771c244017e2d8c48c9a3ce8df940a995cac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From b5c2a9c577f9c1101ea4a196f03c12d9c4f32c57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From d231efe35db21ed340db1d9e862e02683871fbbf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 29 +++++++++++++++++++++++++++++
 3 files changed, 30 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 70c4643e21a6..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..3778b4cf289d
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,29 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64-musl) make_check=no;;
+esac
+
+do_check() {
+	python3 setup.py test
+}
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From d70373e91a1138674ef5b3414f84317e211aa859 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 29 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 ----------------------
 3 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..fc4ca045c0f3
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,29 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index bc8b03fcd823..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (10 preceding siblings ...)
  2021-10-13 15:09 ` jcgruenhage
@ 2021-10-13 16:45 ` Chocimier
  2021-10-13 16:48 ` Chocimier
                   ` (23 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-13 16:45 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728257392

Comment:
We can, same for all other. Please remove pip from hostmakedepends, builds should be done using packages from our repo, not pypi.

```diff
--- a/srcpkgs/python3-ansible-lint/template
+++ b/srcpkgs/python3-ansible-lint/template
@@ -4,7 +4,7 @@ version=5.2.0
 revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-module
-hostmakedepends="python3-pip python3-wheel"
+hostmakedepends="python3-setuptools_scm python3-wheel"
 depends="ansible-core python3-yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
 checkdepends="tox ${depends}"
 short_desc="Linter for Ansible files"
```

```
index: added `python3-ansible-lint-5.2.0_1' (x86_64).
```

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (11 preceding siblings ...)
  2021-10-13 16:45 ` [PR REVIEW] " Chocimier
@ 2021-10-13 16:48 ` Chocimier
  2021-10-13 16:48 ` Chocimier
                   ` (22 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-13 16:48 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728257883

Comment:
make_check should be always explained with comment on reason.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (12 preceding siblings ...)
  2021-10-13 16:48 ` Chocimier
@ 2021-10-13 16:48 ` Chocimier
  2021-10-13 16:48 ` Chocimier
                   ` (21 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-13 16:48 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728258093

Comment:
Why to rename in first place?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (13 preceding siblings ...)
  2021-10-13 16:48 ` Chocimier
@ 2021-10-13 16:48 ` Chocimier
  2021-10-13 17:30 ` jcgruenhage
                   ` (20 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-13 16:48 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728259280

Comment:
This the default when pytest is not installed, remove.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (14 preceding siblings ...)
  2021-10-13 16:48 ` Chocimier
@ 2021-10-13 17:30 ` jcgruenhage
  2021-10-13 17:35 ` jcgruenhage
                   ` (19 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 17:30 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728299721

Comment:
Because it's primarily a CLI utility, not a python library

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (15 preceding siblings ...)
  2021-10-13 17:30 ` jcgruenhage
@ 2021-10-13 17:35 ` jcgruenhage
  2021-10-13 18:10 ` jcgruenhage
                   ` (18 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 17:35 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728303074

Comment:
How much should I go into detail there? Is linking to https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true enough?

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (16 preceding siblings ...)
  2021-10-13 17:35 ` jcgruenhage
@ 2021-10-13 18:10 ` jcgruenhage
  2021-10-13 18:10 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (17 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 18:10 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r728328597

Comment:
done

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (17 preceding siblings ...)
  2021-10-13 18:10 ` jcgruenhage
@ 2021-10-13 18:10 ` jcgruenhage
  2021-10-14 16:29 ` [PR REVIEW] " Chocimier
                   ` (16 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-13 18:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From b44009ac5ca407df98f4f032c6e41f54f2775e69 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..b47364a6daf6
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From cc9f5509eaba50dce7f67f619710cc3fae674a5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..01eb3dab8b75
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 9d83e75c88c8b11d0134e654a7458b0c21237a16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..790090dc7930
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From eabb7fcb33d9b359f380595e827ab35471da1168 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From 261970dcbd00c0871c552fba1a674030b53f0256 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..81b0fa9888d3
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-pip python3-wheel"
+makedepends="python3-Sphinx python3-tornado python3-typeguard"
+depends="python3-tornado python3-typeguard"
+checkdepends="tox"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 8ea52cb4004483f0b72ed59f87eaa828b70ab6b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 26 ++++++++++++++++++++++++++
 3 files changed, 27 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 70c4643e21a6..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..bbaa20ea87f6
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,26 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	# See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true
+	x86_64-musl) make_check=no;;
+esac
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From 6f10b29894eb4b0171b10149b41f0f9111675808 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 29 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 ----------------------
 3 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..7dfcf4d69d8b
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,29 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index bc8b03fcd823..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (18 preceding siblings ...)
  2021-10-13 18:10 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-10-14 16:29 ` Chocimier
  2021-10-14 16:29 ` Chocimier
                   ` (15 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-14 16:29 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729152224

Comment:
Remove pip from hostmakedepends in all templates.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (20 preceding siblings ...)
  2021-10-14 16:29 ` Chocimier
@ 2021-10-14 16:29 ` Chocimier
  2021-10-14 16:30 ` Chocimier
                   ` (13 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-14 16:29 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729151801

Comment:
These three tests fail on musl, because it does not have locales. Please rather disable only those tests like in `reuse`.

@ericonr, please correct me if i'm wrong.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (19 preceding siblings ...)
  2021-10-14 16:29 ` [PR REVIEW] " Chocimier
@ 2021-10-14 16:29 ` Chocimier
  2021-10-14 16:29 ` Chocimier
                   ` (14 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-14 16:29 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729149164

Comment:
Not enough reason to justify rename, please use existing names here and in python3-ansible-lint.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (21 preceding siblings ...)
  2021-10-14 16:29 ` Chocimier
@ 2021-10-14 16:30 ` Chocimier
  2021-10-14 17:12 ` jcgruenhage
                   ` (12 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-14 16:30 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729152835

Comment:
make_check should be ALWAYS explained with comment on reason.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (22 preceding siblings ...)
  2021-10-14 16:30 ` Chocimier
@ 2021-10-14 17:12 ` jcgruenhage
  2021-10-14 20:02 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (11 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 17:12 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729185065

Comment:
I specifically asked about this in the xbps IRC channel, and over there I was told I should go ahead with the rename...

Is there any real drawback to renaming it? As I see it, this is cleaning it up, because no user would expect the packages to have a `python3-` prefix, if they aren't installing a python library.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (23 preceding siblings ...)
  2021-10-14 17:12 ` jcgruenhage
@ 2021-10-14 20:02 ` jcgruenhage
  2021-10-14 20:04 ` jcgruenhage
                   ` (10 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 20:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From c0f7bef5f6afe7144ee6115944606e7f87c7dba2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..1ed7a794741c
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel python3-rich"
+checkdepends="python3-pytest python3-pytest-mock ${depends}"
+depends="python3-rich"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From f48a6ac95e6b58df40ffc1aace3e39ef2a953c60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..cd4c7583b412
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 384df2e1ce825cd545a2e6ecdc740fb19a9a0b1c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..b86391dc67d0
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+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"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 65ecfd226f63eb2034907f912297f4d78d636ce9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From eb1ec42b42bc98f33134da0af562dd522cf0b7d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..75c165588077
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-Sphinx python3-tornado python3-typeguard"
+checkdepends="python3-pytest ${depends}"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 9537b37d032015158c3ce06dbb36add2cb6c8de2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 30 ++++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 201a7b34423a..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..18d158832de8
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,30 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	# See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true
+	*-musl)
+		make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case"
+		;;
+esac
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From 85ad49e97d3b07eba047b0e1b3f70253de18f27d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 29 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 ----------------------
 3 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..7dfcf4d69d8b
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,29 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index 93f631fa6a17..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (24 preceding siblings ...)
  2021-10-14 20:02 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-10-14 20:04 ` jcgruenhage
  2021-10-14 20:12 ` jcgruenhage
                   ` (9 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 20:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From b75b20bab47b639ceeb1e81c8346a3861faef2ea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 1/7] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..67c7cc53c45f
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel python3-rich"
+depends="python3-rich"
+checkdepends="python3-pytest python3-pytest-mock ${depends}"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From ae67478c4a9180fe16de42fbd443398173014099 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 2/7] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..cd4c7583b412
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 2b2c46ee95eff915907782f05ea9b8a0ad4231da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 3/7] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..b86391dc67d0
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+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"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 91950334ec9257ab6bf450c922da8010c3acf230 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From ffe4962f5b7f4477dc23cf900a2917ca3d321450 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..75c165588077
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-Sphinx python3-tornado python3-typeguard"
+checkdepends="python3-pytest ${depends}"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 5bac7b21364c81b4d31e5d5b6edf2254d3781775 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 30 ++++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 201a7b34423a..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..18d158832de8
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,30 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	# See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true
+	*-musl)
+		make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case"
+		;;
+esac
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From 2fa4e328c593472d8497508b33060ec8aa146f38 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 29 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 ----------------------
 3 files changed, 30 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..7dfcf4d69d8b
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,29 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+make_check=no
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index 93f631fa6a17..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (25 preceding siblings ...)
  2021-10-14 20:04 ` jcgruenhage
@ 2021-10-14 20:12 ` jcgruenhage
  2021-10-14 20:12 ` [PR REVIEW] " jcgruenhage
                   ` (8 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 20:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From cc1752aebcbbbe4f31c3394f213c772fe1d8d85f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:37 +0200
Subject: [PATCH 1/9] ansible-core: explain make_check=no

---
 srcpkgs/ansible-core/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template
index 5a5b546ed033..2ed2c1fe21d7 100644
--- a/srcpkgs/ansible-core/template
+++ b/srcpkgs/ansible-core/template
@@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz"
 checksum=93d50283c7c5b476debf83dc089b3f679b939a8b9a7b5d628d28daafbb3d303a
 conflicts="ansible<2.10.1_1"
 replaces="ansible-base<2.11.0_1"
+# 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
 
 post_install() {

From 13aecf459b7ffc2809ac3eb127d80e9fe4a1f2dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:14 +0200
Subject: [PATCH 2/9] ansible: explain make_check=no

---
 srcpkgs/ansible/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template
index 42cbc79a1809..47981ea3e8aa 100644
--- a/srcpkgs/ansible/template
+++ b/srcpkgs/ansible/template
@@ -11,4 +11,7 @@ license="GPL-3.0-or-later"
 homepage="https://www.ansible.com/"
 distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz"
 checksum=2955fcbf51367f8bd88c38a86f8be83d4fcd05f778afb4feed31abfe8dcff639
+# 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

From 286adedd86075c5aff4318a15373f8504f414c94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 3/9] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..67c7cc53c45f
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel python3-rich"
+depends="python3-rich"
+checkdepends="python3-pytest python3-pytest-mock ${depends}"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From cc5ef2665074497e8979b2ec09c4ecdf4f8c8e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 4/9] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..cd4c7583b412
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 0771a1deb9c4ee3295c4e4b790e4738595855445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 5/9] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..b86391dc67d0
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+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"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 0b722f57fcec529cdc22c99bcadb7ac9910e8af4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 6/9] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From cd9f5b2ad8fc20ea57cc7633aeac8060e85ab908 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 7/9] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..75c165588077
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-Sphinx python3-tornado python3-typeguard"
+checkdepends="python3-pytest ${depends}"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From 4f991f3e8e8cf36b0ae52ee8397c4a93daa939a8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 8/9] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 30 ++++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 201a7b34423a..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..18d158832de8
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,30 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	# See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true
+	*-musl)
+		make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case"
+		;;
+esac
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From 55b6c6c8a47067a58646adbe75796be143a42a79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 9/9] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 32 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 --------------------
 3 files changed, 33 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..208443d67f79
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,32 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+# 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
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index 93f631fa6a17..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (26 preceding siblings ...)
  2021-10-14 20:12 ` jcgruenhage
@ 2021-10-14 20:12 ` jcgruenhage
  2021-10-14 20:13 ` jcgruenhage
                   ` (7 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 20:12 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729307522

Comment:
done

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (27 preceding siblings ...)
  2021-10-14 20:12 ` [PR REVIEW] " jcgruenhage
@ 2021-10-14 20:13 ` jcgruenhage
  2021-10-14 20:22 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (6 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 20:13 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729307651

Comment:
done

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (28 preceding siblings ...)
  2021-10-14 20:13 ` jcgruenhage
@ 2021-10-14 20:22 ` jcgruenhage
  2021-10-14 21:26 ` [PR REVIEW] " jcgruenhage
                   ` (5 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 20:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From cc1752aebcbbbe4f31c3394f213c772fe1d8d85f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:37 +0200
Subject: [PATCH 1/9] ansible-core: explain make_check=no

---
 srcpkgs/ansible-core/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template
index 5a5b546ed033..2ed2c1fe21d7 100644
--- a/srcpkgs/ansible-core/template
+++ b/srcpkgs/ansible-core/template
@@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz"
 checksum=93d50283c7c5b476debf83dc089b3f679b939a8b9a7b5d628d28daafbb3d303a
 conflicts="ansible<2.10.1_1"
 replaces="ansible-base<2.11.0_1"
+# 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
 
 post_install() {

From 13aecf459b7ffc2809ac3eb127d80e9fe4a1f2dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:14 +0200
Subject: [PATCH 2/9] ansible: explain make_check=no

---
 srcpkgs/ansible/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template
index 42cbc79a1809..47981ea3e8aa 100644
--- a/srcpkgs/ansible/template
+++ b/srcpkgs/ansible/template
@@ -11,4 +11,7 @@ license="GPL-3.0-or-later"
 homepage="https://www.ansible.com/"
 distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz"
 checksum=2955fcbf51367f8bd88c38a86f8be83d4fcd05f778afb4feed31abfe8dcff639
+# 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

From 286adedd86075c5aff4318a15373f8504f414c94 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 3/9] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..67c7cc53c45f
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel python3-rich"
+depends="python3-rich"
+checkdepends="python3-pytest python3-pytest-mock ${depends}"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From cc5ef2665074497e8979b2ec09c4ecdf4f8c8e4f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 4/9] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..cd4c7583b412
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest"
+short_desc="Bash style brace expansion for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From 0771a1deb9c4ee3295c4e4b790e4738595855445 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 5/9] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..b86391dc67d0
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+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"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 0b722f57fcec529cdc22c99bcadb7ac9910e8af4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 6/9] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..8110d6a1fc13
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From cd9f5b2ad8fc20ea57cc7633aeac8060e85ab908 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 7/9] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..75c165588077
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,15 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-Sphinx python3-tornado python3-typeguard"
+checkdepends="python3-pytest ${depends}"
+short_desc="General-purpose retrying library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From e448b0cb4500a301534c354d046113f926eade3b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 8/9] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 30 ++++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 201a7b34423a..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..fea6d55baced
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,30 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pytest python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	# See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true
+	*-musl)
+		make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case"
+		;;
+esac
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From c75c1b94ef30347a10a41a56fa86986665dde996 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 9/9] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 32 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 --------------------
 3 files changed, 33 insertions(+), 24 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..208443d67f79
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,32 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+# 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
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index 93f631fa6a17..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (29 preceding siblings ...)
  2021-10-14 20:22 ` [PR PATCH] [Updated] " jcgruenhage
@ 2021-10-14 21:26 ` jcgruenhage
  2021-10-15 16:22 ` Chocimier
                   ` (4 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-14 21:26 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729354107

Comment:
done

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (30 preceding siblings ...)
  2021-10-14 21:26 ` [PR REVIEW] " jcgruenhage
@ 2021-10-15 16:22 ` Chocimier
  2021-10-15 16:23 ` Chocimier
                   ` (3 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-15 16:22 UTC (permalink / raw)
  To: ml

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

New review comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r729960764

Comment:
We will need to still carry package of old name in order to provide updates for people already using it.

That leads to 

    xbps-query -Rs yamllint
    [-] python3-yamllint-1.26.3_1 Python 3 linter for YAML files - transitional dummy package
    [-] yamllint-1.26.3_1         Python 3 linter for YAML files

, what isn't really better than

    xbps-query -Rs yamllint
    [-] python3-yamllint-1.15.0_4 Python3 linter for YAML files

More, this particular proposal opens precedent to do `{python3,ruby,...}-foo` <-> `foo` rename churn, where we will have to judge if given package is library or command.

Existing transitional packages are either upstream renames, former functional packages that got removed (py2), or meaningful change (lua versioning).

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (31 preceding siblings ...)
  2021-10-15 16:22 ` Chocimier
@ 2021-10-15 16:23 ` Chocimier
  2021-10-15 19:56 ` [PR REVIEW] " paper42
                   ` (2 subsequent siblings)
  35 siblings, 0 replies; 37+ messages in thread
From: Chocimier @ 2021-10-15 16:23 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#issuecomment-944431891

Comment:
Add changelogs, add depends="python3" for packages that do not depend on any python module yet.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (32 preceding siblings ...)
  2021-10-15 16:23 ` Chocimier
@ 2021-10-15 19:56 ` paper42
  2021-10-16 13:49 ` jcgruenhage
  2021-10-16 14:06 ` [PR PATCH] [Updated] " jcgruenhage
  35 siblings, 0 replies; 37+ messages in thread
From: paper42 @ 2021-10-15 19:56 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r730082591

Comment:
Let's not rename it then. I think it should have been named yamllint when the package was created, but changing the name is not worth it.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR REVIEW] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (33 preceding siblings ...)
  2021-10-15 19:56 ` [PR REVIEW] " paper42
@ 2021-10-16 13:49 ` jcgruenhage
  2021-10-16 14:06 ` [PR PATCH] [Updated] " jcgruenhage
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-16 13:49 UTC (permalink / raw)
  To: ml

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

New review comment by jcgruenhage on void-packages repository

https://github.com/void-linux/void-packages/pull/31998#discussion_r730266010

Comment:
> isn't really better than

I doubt most people start by searching for packages. People do `xi ${pkgname}` and if that fails, they go to the search. So I'd argue that this:

```
xi ansible-lint
Package 'ansible-lint' not found in repository pool.
```
is definitely worse that it just working.

> More, this particular proposal opens precedent to do `{python3,ruby,...}-foo` <-> `foo` rename churn, where we will have to judge if given package is library or command.

Well, sorry to say but:
 - that's a bad reason IMO
 - that precedent has already been set by `youtube-dl`, `xmldiff`, `subliminal`, `setconf`, `pylint`, `pex`, `httpie`, `fonttools` and `flake8`, which is just the set I've found with skimming the output of `grep -r "transitional dummy package" -C 5`, so I wouldn't be surprised if there was more.
 
 > Existing transitional packages are either upstream renames, former functional packages that got removed (py2), or meaningful change (lua versioning).
 
 Given the list above, this point does not hold. I'd still pledge for the rename
 
 I can undo the rename for now to allow the updates to be merged sooner though, if we really can't agree here.

^ permalink raw reply	[flat|nested] 37+ messages in thread

* Re: [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
  2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
                   ` (34 preceding siblings ...)
  2021-10-16 13:49 ` jcgruenhage
@ 2021-10-16 14:06 ` jcgruenhage
  35 siblings, 0 replies; 37+ messages in thread
From: jcgruenhage @ 2021-10-16 14:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 857 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-5.0.12_1
https://github.com/void-linux/void-packages/pull/31998

python3-ansible-lint: rename to ansible-lint, update to 5.2.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### 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/31998.patch is attached

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

From 384b923a37d1be325c507734418188fd2fe4d4d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:37 +0200
Subject: [PATCH 1/9] ansible-core: explain make_check=no

---
 srcpkgs/ansible-core/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible-core/template b/srcpkgs/ansible-core/template
index 5a5b546ed033..2ed2c1fe21d7 100644
--- a/srcpkgs/ansible-core/template
+++ b/srcpkgs/ansible-core/template
@@ -14,6 +14,9 @@ distfiles="${PYPI_SITE}/a/ansible-core/ansible-core-${version}.tar.gz"
 checksum=93d50283c7c5b476debf83dc089b3f679b939a8b9a7b5d628d28daafbb3d303a
 conflicts="ansible<2.10.1_1"
 replaces="ansible-base<2.11.0_1"
+# 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
 
 post_install() {

From f1da1466c9a4dab059adc9eb1b55c2a9923aab92 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 14 Oct 2021 22:11:14 +0200
Subject: [PATCH 2/9] ansible: explain make_check=no

---
 srcpkgs/ansible/template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/srcpkgs/ansible/template b/srcpkgs/ansible/template
index 42cbc79a1809..47981ea3e8aa 100644
--- a/srcpkgs/ansible/template
+++ b/srcpkgs/ansible/template
@@ -11,4 +11,7 @@ license="GPL-3.0-or-later"
 homepage="https://www.ansible.com/"
 distfiles="${PYPI_SITE}/a/ansible/ansible-${version}.tar.gz"
 checksum=2955fcbf51367f8bd88c38a86f8be83d4fcd05f778afb4feed31abfe8dcff639
+# 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

From b9c53b905d20d666a73fae1cca31d3ae17757685 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:13 +0200
Subject: [PATCH 3/9] New package: python3-enrich-1.2.6

---
 srcpkgs/python3-enrich/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-enrich/template

diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template
new file mode 100644
index 000000000000..67c7cc53c45f
--- /dev/null
+++ b/srcpkgs/python3-enrich/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-enrich'
+pkgname=python3-enrich
+version=1.2.6
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel python3-rich"
+depends="python3-rich"
+checkdepends="python3-pytest python3-pytest-mock ${depends}"
+short_desc="Extended variant of the rich library for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/enrich"
+distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz"
+checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4
+
+post_install() {
+	vlicense LICENSE
+}

From d0f8d4f917cc95725f71e1f239e5d957b5450408 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:35:21 +0200
Subject: [PATCH 4/9] New package: python3-bracex-2.1.1

---
 srcpkgs/python3-bracex/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-bracex/template

diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template
new file mode 100644
index 000000000000..8735c7f9d5bd
--- /dev/null
+++ b/srcpkgs/python3-bracex/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-bracex'
+pkgname=python3-bracex
+version=2.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+checkdepends="python3-pytest"
+depends="python3"
+short_desc="Bash style brace expansion for Python"
+changelog="https://raw.githubusercontent.com/facelessuser/bracex/master/docs/src/markdown/about/changelog.md"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/bracex"
+distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz"
+checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425
+
+post_install() {
+	vlicense LICENSE.md
+}

From dd0d4803745e3eafbf4a1169a7f7475009a96f93 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:36:07 +0200
Subject: [PATCH 5/9] New package: python3-wcmatch-8.2

---
 srcpkgs/python3-wcmatch/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-wcmatch/template

diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template
new file mode 100644
index 000000000000..332e17443096
--- /dev/null
+++ b/srcpkgs/python3-wcmatch/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-wcmatch'
+pkgname=python3-wcmatch
+version=8.2
+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"
+depends="python3-bracex"
+checkdepends="python3-pytest ${depends}"
+short_desc="Wilcard File Name matching library"
+changelog="https://raw.githubusercontent.com/facelessuser/wcmatch/main/docs/src/markdown/about/changelog.md"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/facelessuser/wcmatch"
+distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz"
+checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617
+
+post_install() {
+	vlicense LICENSE.md
+}

From 03a35732ef632c7b29d33edee57f1eb2249caf78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:37:00 +0200
Subject: [PATCH 6/9] New package: python3-typeguard-2.13.0

---
 srcpkgs/python3-typeguard/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-typeguard/template

diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template
new file mode 100644
index 000000000000..23083f04f3a4
--- /dev/null
+++ b/srcpkgs/python3-typeguard/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-typeguard'
+pkgname=python3-typeguard
+version=2.13.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+short_desc="Run-time type checker for python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/agronholm/typeguard"
+distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz"
+checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df
+
+post_install() {
+	vlicense LICENSE
+}

From 209d5dc1c03d4b9578fa63c653ecd79228304fd7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:38:15 +0200
Subject: [PATCH 7/9] New package: python3-tenacity-8.0.1

---
 srcpkgs/python3-tenacity/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-tenacity/template

diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template
new file mode 100644
index 000000000000..f7b22da098f7
--- /dev/null
+++ b/srcpkgs/python3-tenacity/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-tenacity'
+pkgname=python3-tenacity
+version=8.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-Sphinx python3-tornado python3-typeguard"
+checkdepends="python3-pytest ${depends}"
+short_desc="General-purpose retrying library for Python"
+changelog="https://tenacity.readthedocs.io/en/latest/changelog.html"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://github.com/jd/tenacity"
+distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz"
+checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f

From d062f75ce3bf292425496024c25776c2e6a7f275 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 12 Oct 2021 19:29:34 +0200
Subject: [PATCH 8/9] python3-yamllint: rename to yamllint, update to 1.26.3.

---
 srcpkgs/python3-yamllint          |  1 +
 srcpkgs/python3-yamllint/template | 20 --------------------
 srcpkgs/yamllint/template         | 30 ++++++++++++++++++++++++++++++
 3 files changed, 31 insertions(+), 20 deletions(-)
 create mode 120000 srcpkgs/python3-yamllint
 delete mode 100644 srcpkgs/python3-yamllint/template
 create mode 100644 srcpkgs/yamllint/template

diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint
new file mode 120000
index 000000000000..c0085f7fd2f7
--- /dev/null
+++ b/srcpkgs/python3-yamllint
@@ -0,0 +1 @@
+yamllint
\ No newline at end of file
diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template
deleted file mode 100644
index 201a7b34423a..000000000000
--- a/srcpkgs/python3-yamllint/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-yamllint'
-pkgname=python3-yamllint
-version=1.15.0
-revision=5
-wrksrc="yamllint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-pathspec python3-setuptools python3-yaml"
-checkdepends="python3-pathspec python3-yaml"
-short_desc="Python3 linter for YAML files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="GPL-3.0-or-later"
-homepage="https://github.com/adrienverge/yamllint"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a
-conflicts="python-yamllint>=0"
-
-do_check() {
-	python3 setup.py test
-}
diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template
new file mode 100644
index 000000000000..fea6d55baced
--- /dev/null
+++ b/srcpkgs/yamllint/template
@@ -0,0 +1,30 @@
+# Template file for 'yamllint'
+pkgname=yamllint
+version=1.26.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pathspec python3-setuptools python3-yaml"
+checkdepends="python3-pytest python3-pathspec python3-yaml"
+short_desc="Python 3 linter for YAML files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/adrienverge/yamllint"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610
+conflicts="python-yamllint>=0"
+
+case "$XBPS_TARGET_MACHINE" in
+	# See CI failure in https://github.com/void-linux/void-packages/runs/3882770805?check_suite_focus=true
+	*-musl)
+		make_check_args="--deselect tests/test_cli.py::CommandLineTestCase::test_run_with_locale
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_accents
+ 			--deselect tests/rules/test_key_ordering.py::KeyOrderingTestCase::test_locale_case"
+		;;
+esac
+
+python3-yamllint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}

From bd6cbc9039ff05f9331958c6b8f592e796700028 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 16 Jul 2021 12:39:28 +0200
Subject: [PATCH 9/9] python3-ansible-lint: rename to ansible-lint, update to
 5.2.0.

---
 srcpkgs/ansible-lint/template         | 32 +++++++++++++++++++++++++++
 srcpkgs/python3-ansible-lint          |  1 +
 srcpkgs/python3-ansible-lint/template | 24 --------------------
 srcpkgs/python3-ansible-lint/update   |  1 -
 4 files changed, 33 insertions(+), 25 deletions(-)
 create mode 100644 srcpkgs/ansible-lint/template
 create mode 120000 srcpkgs/python3-ansible-lint
 delete mode 100644 srcpkgs/python3-ansible-lint/template
 delete mode 100644 srcpkgs/python3-ansible-lint/update

diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template
new file mode 100644
index 000000000000..208443d67f79
--- /dev/null
+++ b/srcpkgs/ansible-lint/template
@@ -0,0 +1,32 @@
+# Template file for 'ansible-lint'
+pkgname=ansible-lint
+version=5.2.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch"
+short_desc="Linter for Ansible files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/ansible-lint"
+distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061
+# 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
+
+post_patch() {
+	# scm versioning is broken in this release
+	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}
+
+python3-ansible-lint_package() {
+	depends="${sourcepkg}>=${version}_${revision}"
+	short_desc+=" - transitional dummy package"
+	build_style=meta
+}
diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint
new file mode 120000
index 000000000000..09ee8035c500
--- /dev/null
+++ b/srcpkgs/python3-ansible-lint
@@ -0,0 +1 @@
+ansible-lint
\ No newline at end of file
diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template
deleted file mode 100644
index 93f631fa6a17..000000000000
--- a/srcpkgs/python3-ansible-lint/template
+++ /dev/null
@@ -1,24 +0,0 @@
-# Template file for 'python3-ansible-lint'
-pkgname=python3-ansible-lint
-version=4.3.5
-revision=3
-wrksrc="ansible-lint-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="ansible python3-six python3-yaml python3-ruamel.yaml"
-short_desc="Linter for Ansible files"
-maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
-license="MIT"
-homepage="https://github.com/willthames/ansible-lint"
-changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md"
-distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz"
-checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656
-
-post_patch() {
-	# scm versioning is broken in this release
-	vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg
-}
-
-post_install() {
-	vlicense LICENSE
-}
diff --git a/srcpkgs/python3-ansible-lint/update b/srcpkgs/python3-ansible-lint/update
deleted file mode 100644
index deb78f510de5..000000000000
--- a/srcpkgs/python3-ansible-lint/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*a[0-9] *a[0-9].dev* *rc[0-9]"

^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2021-10-16 14:06 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-16 10:45 [PR PATCH] python3-ansible-lint: update to 5.0.12 jcgruenhage
2021-10-12 16:22 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-12 17:32 ` [PR PATCH] [Updated] python3-ansible-lint: update to 5.2.0 jcgruenhage
2021-10-12 18:01 ` [PR REVIEW] " paper42
2021-10-12 18:01 ` paper42
2021-10-13  9:25 ` jcgruenhage
2021-10-13  9:29 ` jcgruenhage
2021-10-13 10:59 ` jcgruenhage
2021-10-13 11:41 ` jcgruenhage
2021-10-13 12:59 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-13 15:03 ` [PR PATCH] [Updated] python3-ansible-lint: rename to ansible-lint, " jcgruenhage
2021-10-13 15:09 ` jcgruenhage
2021-10-13 16:45 ` [PR REVIEW] " Chocimier
2021-10-13 16:48 ` Chocimier
2021-10-13 16:48 ` Chocimier
2021-10-13 16:48 ` Chocimier
2021-10-13 17:30 ` jcgruenhage
2021-10-13 17:35 ` jcgruenhage
2021-10-13 18:10 ` jcgruenhage
2021-10-13 18:10 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-14 16:29 ` [PR REVIEW] " Chocimier
2021-10-14 16:29 ` Chocimier
2021-10-14 16:29 ` Chocimier
2021-10-14 16:30 ` Chocimier
2021-10-14 17:12 ` jcgruenhage
2021-10-14 20:02 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-14 20:04 ` jcgruenhage
2021-10-14 20:12 ` jcgruenhage
2021-10-14 20:12 ` [PR REVIEW] " jcgruenhage
2021-10-14 20:13 ` jcgruenhage
2021-10-14 20:22 ` [PR PATCH] [Updated] " jcgruenhage
2021-10-14 21:26 ` [PR REVIEW] " jcgruenhage
2021-10-15 16:22 ` Chocimier
2021-10-15 16:23 ` Chocimier
2021-10-15 19:56 ` [PR REVIEW] " paper42
2021-10-16 13:49 ` jcgruenhage
2021-10-16 14:06 ` [PR PATCH] [Updated] " jcgruenhage

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ https://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git