Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-codespell: update to 2.2.2.
Date: Wed, 14 Dec 2022 21:03:57 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41093@inbox.vuxu.org> (raw)

[-- 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}"
 }

             reply	other threads:[~2022-12-14 20:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-14 20:03 icp1994 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41093@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).