* [PR PATCH] python3-codespell: update to 2.2.2.
@ 2022-12-14 20:03 icp1994
2022-12-16 18:45 ` [PR REVIEW] " paper42
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: icp1994 @ 2022-12-14 20:03 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 488 bytes --]
There is a new pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages python3-codespell
https://github.com/void-linux/void-packages/pull/41093
python3-codespell: update to 2.2.2.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/41093.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-codespell-41093.patch --]
[-- Type: text/x-diff, Size: 1750 bytes --]
From 78d1ca9aaf9063089a1017a552e3e03047750ef7 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 14 Dec 2022 01:45:14 +0530
Subject: [PATCH] python3-codespell: update to 2.2.2.
Adopt.
---
srcpkgs/python3-codespell/template | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-codespell/template b/srcpkgs/python3-codespell/template
index 928118256f9e..8cc82e3b7f7c 100644
--- a/srcpkgs/python3-codespell/template
+++ b/srcpkgs/python3-codespell/template
@@ -1,20 +1,20 @@
# Template file for 'python3-codespell'
pkgname=python3-codespell
-version=2.1.0
-revision=2
+version=2.2.2
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-chardet"
-checkdepends="python3-pytest-cov $depends"
+checkdepends="${depends} python3-pytest"
short_desc="Checks code for common spelling mistakes (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2.0-or-later"
-homepage="https://github.com/codespell-project/codespell"
-distfiles="https://github.com/codespell-project/codespell/archive/v${version}.tar.gz"
-checksum=8d0730b6ff35e56bda8d9600ccffbf27bb83905600775bf869cb8b9936b108c0
+maintainer="icp <pangolin@vivaldi.net>"
+license="GPL-2.0-only"
+homepage="https://pypi.org/project/codespell/"
+distfiles="${PYPI_SITE}/c/codespell/codespell-${version}.tar.gz"
+checksum=c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c
conflicts="python-codespell>=0"
pre_check() {
- # Remove test that needs itself
- vsed -i '/run_codespell/,/==4/d' codespell_lib/tests/test_basic.py
+ vsed -e '/addopts/d' -i setup.cfg
+ export PATH="${wrksrc}//bin:${PATH}"
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR REVIEW] python3-codespell: update to 2.2.2.
2022-12-14 20:03 [PR PATCH] python3-codespell: update to 2.2.2 icp1994
@ 2022-12-16 18:45 ` paper42
2022-12-17 13:34 ` [PR PATCH] [Updated] " icp1994
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-12-16 18:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/41093#discussion_r1051052535
Comment:
```suggestion
export PATH="${wrksrc}/bin:${PATH}"
```
and this can be `make_check_pre="${wrksrc}/bin:${PATH}"`
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Updated] python3-codespell: update to 2.2.2.
2022-12-14 20:03 [PR PATCH] python3-codespell: update to 2.2.2 icp1994
2022-12-16 18:45 ` [PR REVIEW] " paper42
@ 2022-12-17 13:34 ` icp1994
2022-12-17 13:37 ` [PR REVIEW] " icp1994
2022-12-18 11:02 ` [PR PATCH] [Merged]: " paper42
3 siblings, 0 replies; 5+ messages in thread
From: icp1994 @ 2022-12-17 13:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 493 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages python3-codespell
https://github.com/void-linux/void-packages/pull/41093
python3-codespell: update to 2.2.2.
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/41093.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-codespell-41093.patch --]
[-- Type: text/x-diff, Size: 1749 bytes --]
From ef263152ef4b80ddd7fb182448a91ce7ce909ea0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 14 Dec 2022 01:45:14 +0530
Subject: [PATCH] python3-codespell: update to 2.2.2.
Adopt.
---
srcpkgs/python3-codespell/template | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/srcpkgs/python3-codespell/template b/srcpkgs/python3-codespell/template
index 928118256f9e..6231b7a1ce88 100644
--- a/srcpkgs/python3-codespell/template
+++ b/srcpkgs/python3-codespell/template
@@ -1,20 +1,20 @@
# Template file for 'python3-codespell'
pkgname=python3-codespell
-version=2.1.0
-revision=2
+version=2.2.2
+revision=1
build_style=python3-module
-hostmakedepends="python3-setuptools"
+hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-chardet"
-checkdepends="python3-pytest-cov $depends"
+checkdepends="${depends} python3-pytest"
short_desc="Checks code for common spelling mistakes (Python3)"
-maintainer="Orphaned <orphan@voidlinux.org>"
-license="GPL-2.0-or-later"
-homepage="https://github.com/codespell-project/codespell"
-distfiles="https://github.com/codespell-project/codespell/archive/v${version}.tar.gz"
-checksum=8d0730b6ff35e56bda8d9600ccffbf27bb83905600775bf869cb8b9936b108c0
+maintainer="icp <pangolin@vivaldi.net>"
+license="GPL-2.0-only"
+homepage="https://pypi.org/project/codespell/"
+distfiles="${PYPI_SITE}/c/codespell/codespell-${version}.tar.gz"
+checksum=c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c
conflicts="python-codespell>=0"
pre_check() {
- # Remove test that needs itself
- vsed -i '/run_codespell/,/==4/d' codespell_lib/tests/test_basic.py
+ vsed -e '/addopts/d' -i setup.cfg
+ export PATH="${wrksrc}/bin:${PATH}"
}
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR REVIEW] python3-codespell: update to 2.2.2.
2022-12-14 20:03 [PR PATCH] python3-codespell: update to 2.2.2 icp1994
2022-12-16 18:45 ` [PR REVIEW] " paper42
2022-12-17 13:34 ` [PR PATCH] [Updated] " icp1994
@ 2022-12-17 13:37 ` icp1994
2022-12-18 11:02 ` [PR PATCH] [Merged]: " paper42
3 siblings, 0 replies; 5+ messages in thread
From: icp1994 @ 2022-12-17 13:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
New review comment by icp1994 on void-packages repository
https://github.com/void-linux/void-packages/pull/41093#discussion_r1051399597
Comment:
Yes, that is what I did initially: `make_check_pre="env PATH=${wrksrc}/bin:${PATH}"` (I think that's what you mean), but it didn't work. And as I had a `pre_check` block anyway so I didn't investigate further why it wasn't working (it still doesn't).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PR PATCH] [Merged]: python3-codespell: update to 2.2.2.
2022-12-14 20:03 [PR PATCH] python3-codespell: update to 2.2.2 icp1994
` (2 preceding siblings ...)
2022-12-17 13:37 ` [PR REVIEW] " icp1994
@ 2022-12-18 11:02 ` paper42
3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-12-18 11:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
There's a merged pull request on the void-packages repository
python3-codespell: update to 2.2.2.
https://github.com/void-linux/void-packages/pull/41093
Description:
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-18 11:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 20:03 [PR PATCH] python3-codespell: update to 2.2.2 icp1994
2022-12-16 18:45 ` [PR REVIEW] " paper42
2022-12-17 13:34 ` [PR PATCH] [Updated] " icp1994
2022-12-17 13:37 ` [PR REVIEW] " icp1994
2022-12-18 11:02 ` [PR PATCH] [Merged]: " paper42
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).