Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] flake8: update to 6.1.0.
@ 2023-08-13 18:55 icp1994
  2023-08-18 14:02 ` [PR PATCH] [Merged]: " Chocimier
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: icp1994 @ 2023-08-13 18:55 UTC (permalink / raw)
  To: ml

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

There is a new pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages flake8
https://github.com/void-linux/void-packages/pull/45589

flake8: update to 6.1.0.
Switch `distfiles` to GH due to upstream changes.
Ref: https://github.com/PyCQA/flake8/pull/1761

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

cc @paper42 

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-flake8-45589.patch --]
[-- Type: text/x-diff, Size: 1941 bytes --]

From 03536c6c61bcfce9499f984666ebeb9ab98c2b23 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 29 Jun 2023 15:26:05 +0530
Subject: [PATCH] flake8: update to 6.1.0.

Switch `distfiles` to GH due to upstream changes.
Ref: https://github.com/PyCQA/flake8/pull/1761
---
 srcpkgs/flake8/template | 20 ++++++++------------
 1 file changed, 8 insertions(+), 12 deletions(-)

diff --git a/srcpkgs/flake8/template b/srcpkgs/flake8/template
index fcb74e54ca0e7..10e935c429909 100644
--- a/srcpkgs/flake8/template
+++ b/srcpkgs/flake8/template
@@ -1,9 +1,12 @@
 # Template file for 'flake8'
 pkgname=flake8
-version=6.0.0
+version=6.1.0
 revision=1
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+build_style=python3-pep517
+make_check_target="tests/unit"
+make_check_args="--ignore=tests/unit/plugins/pycodestyle_test.py
+ --ignore=tests/unit/test_pyflakes_codes.py"
+hostmakedepends="python3-setuptools python3-wheel"
 depends="python3-pycodestyle python3-pyflakes python3-mccabe"
 checkdepends="$depends python3-mock python3-pytest"
 short_desc="Modular source code checker: pycodestyle, pyflakes, mccabe"
@@ -11,15 +14,8 @@ maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="MIT"
 homepage="https://flake8.pycqa.org/"
 changelog="https://raw.githubusercontent.com/PyCQA/flake8/main/docs/source/release-notes/${version}.rst"
-distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
-checksum=c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181
-
-do_check() {
-	local testdir="tmp/$(date +%s)"
-	python3 setup.py install --prefix=/usr --root=${testdir}
-	PATH="${testdir}/usr/bin:${PATH}" PYTHONPATH="${testdir}/${py3_sitelib}" pytest3 \
-		--ignore tests/unit/plugins/pycodestyle_test.py
-}
+distfiles="https://github.com/PyCQA/flake8/archive/refs/tags/${version}.tar.gz"
+checksum=bcb01efc0c83d3c9362e200b5359fe22e11b859962dd27e5bebf3ada7620ae2f
 
 post_install() {
 	vlicense LICENSE

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

* Re: [PR PATCH] [Merged]: flake8: update to 6.1.0.
  2023-08-13 18:55 [PR PATCH] flake8: update to 6.1.0 icp1994
@ 2023-08-18 14:02 ` Chocimier
  2023-09-06  5:35 ` CameronNemo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Chocimier @ 2023-08-18 14:02 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

flake8: update to 6.1.0.
https://github.com/void-linux/void-packages/pull/45589

Description:
Switch `distfiles` to GH due to upstream changes.
Ref: https://github.com/PyCQA/flake8/pull/1761

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

cc @paper42 

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

* Re: flake8: update to 6.1.0.
  2023-08-13 18:55 [PR PATCH] flake8: update to 6.1.0 icp1994
  2023-08-18 14:02 ` [PR PATCH] [Merged]: " Chocimier
@ 2023-09-06  5:35 ` CameronNemo
  2023-09-06  5:37 ` CameronNemo
  2023-09-06  5:37 ` CameronNemo
  3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2023-09-06  5:35 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/45589#issuecomment-1707697261

Comment:
This broke for me. It needs a newer pycodestyle.

https://github.com/PyCQA/flake8/issues/1844

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

* Re: flake8: update to 6.1.0.
  2023-08-13 18:55 [PR PATCH] flake8: update to 6.1.0 icp1994
  2023-08-18 14:02 ` [PR PATCH] [Merged]: " Chocimier
  2023-09-06  5:35 ` CameronNemo
@ 2023-09-06  5:37 ` CameronNemo
  2023-09-06  5:37 ` CameronNemo
  3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2023-09-06  5:37 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/45589#issuecomment-1707697261

Comment:
This broke for me. It needs a newer pycodestyle.

https://github.com/PyCQA/flake8/issues/1844

#45935 45935

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

* Re: flake8: update to 6.1.0.
  2023-08-13 18:55 [PR PATCH] flake8: update to 6.1.0 icp1994
                   ` (2 preceding siblings ...)
  2023-09-06  5:37 ` CameronNemo
@ 2023-09-06  5:37 ` CameronNemo
  3 siblings, 0 replies; 5+ messages in thread
From: CameronNemo @ 2023-09-06  5:37 UTC (permalink / raw)
  To: ml

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

New comment by CameronNemo on void-packages repository

https://github.com/void-linux/void-packages/pull/45589#issuecomment-1707697261

Comment:
This broke for me. It needs a newer pycodestyle.

https://github.com/PyCQA/flake8/issues/1844

#45935

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

end of thread, other threads:[~2023-09-06  5:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-13 18:55 [PR PATCH] flake8: update to 6.1.0 icp1994
2023-08-18 14:02 ` [PR PATCH] [Merged]: " Chocimier
2023-09-06  5:35 ` CameronNemo
2023-09-06  5:37 ` CameronNemo
2023-09-06  5:37 ` CameronNemo

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).