Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] flake8: fix 404 homepage
@ 2023-02-26  9:20 icp1994
  2023-02-26  9:31 ` icp1994
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: icp1994 @ 2023-02-26  9:20 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 376 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/42458

flake8: fix 404 homepage
#### Testing the changes
- I tested the changes in this PR: **YES**

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

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

From b55b3ebee035006560cf9313f81844079efc5cf2 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 26 Feb 2023 14:49:05 +0530
Subject: [PATCH] flake8: fix 404 homepage

---
 srcpkgs/flake8/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/flake8/template b/srcpkgs/flake8/template
index 7eb5fc42fcd8..8963cd0ff808 100644
--- a/srcpkgs/flake8/template
+++ b/srcpkgs/flake8/template
@@ -10,7 +10,7 @@ checkdepends="$depends python3-mock python3-pytest"
 short_desc="Modular source code checker: pycodestyle, pyflakes, mccabe"
 maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="MIT"
-homepage="https://gitlab.com/pycqa/flake8"
+homepage="https://flake8.pycqa.org/"
 changelog="https://raw.githubusercontent.com/PyCQA/flake8/master/docs/source/release-notes/$version.rst"
 distfiles="${PYPI_SITE}/f/flake8/flake8-${version}.tar.gz"
 checksum=c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181

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

* Re: flake8: fix 404 homepage
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
@ 2023-02-26  9:31 ` icp1994
  2023-02-26 10:01 ` paper42
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: icp1994 @ 2023-02-26  9:31 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/42458#issuecomment-1445308613

Comment:
I should have built it before making PR :facepalm: 

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

* Re: flake8: fix 404 homepage
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
  2023-02-26  9:31 ` icp1994
@ 2023-02-26 10:01 ` paper42
  2023-02-26 10:01 ` paper42
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2023-02-26 10:01 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/42458#issuecomment-1445314195

Comment:
`make_check=no # FIXME`  would be acceptable in this case since it's just a homepage change

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

* Re: flake8: fix 404 homepage
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
  2023-02-26  9:31 ` icp1994
  2023-02-26 10:01 ` paper42
@ 2023-02-26 10:01 ` paper42
  2023-02-26 19:30 ` [PR PATCH] [Updated] " icp1994
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2023-02-26 10:01 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/42458#issuecomment-1445314195

Comment:
`make_check=no # FIXME`  would be acceptable in this case if you don't want to look into it since it's just a homepage change

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

* Re: [PR PATCH] [Updated] flake8: fix 404 homepage
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
                   ` (2 preceding siblings ...)
  2023-02-26 10:01 ` paper42
@ 2023-02-26 19:30 ` icp1994
  2023-02-26 19:30 ` icp1994
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: icp1994 @ 2023-02-26 19:30 UTC (permalink / raw)
  To: ml

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

There is an updated 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/42458

flake8: fix 404 homepage
#### Testing the changes
- I tested the changes in this PR: **YES**

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

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

From 578646d86072850a9e2df1cd2037e3408a1ecd46 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sun, 26 Feb 2023 14:49:05 +0530
Subject: [PATCH] flake8: various template changes

update dead homepage
revise changelog
fix tests
---
 srcpkgs/flake8/template | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/flake8/template b/srcpkgs/flake8/template
index 7eb5fc42fcd8..fcb74e54ca0e 100644
--- a/srcpkgs/flake8/template
+++ b/srcpkgs/flake8/template
@@ -3,18 +3,24 @@ pkgname=flake8
 version=6.0.0
 revision=1
 build_style=python3-module
-make_check_args="--deselect=tests/unit/plugins/pycodestyle_test.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pycodestyle python3-pyflakes python3-mccabe"
 checkdepends="$depends python3-mock python3-pytest"
 short_desc="Modular source code checker: pycodestyle, pyflakes, mccabe"
 maintainer="Michal Vasilek <michal@vasilek.cz>"
 license="MIT"
-homepage="https://gitlab.com/pycqa/flake8"
-changelog="https://raw.githubusercontent.com/PyCQA/flake8/master/docs/source/release-notes/$version.rst"
+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
+}
+
 post_install() {
 	vlicense LICENSE
 }

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

* Re: flake8: fix 404 homepage
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
                   ` (3 preceding siblings ...)
  2023-02-26 19:30 ` [PR PATCH] [Updated] " icp1994
@ 2023-02-26 19:30 ` icp1994
  2023-02-28 22:19 ` flake8: various template changes paper42
  2023-02-28 22:20 ` [PR PATCH] [Merged]: " paper42
  6 siblings, 0 replies; 8+ messages in thread
From: icp1994 @ 2023-02-26 19:30 UTC (permalink / raw)
  To: ml

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

New comment by icp1994 on void-packages repository

https://github.com/void-linux/void-packages/pull/42458#issuecomment-1445445589

Comment:
It requires running the `flake8` command itself, i.e., needs installing before running tests.

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

* Re: flake8: various template changes
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
                   ` (4 preceding siblings ...)
  2023-02-26 19:30 ` icp1994
@ 2023-02-28 22:19 ` paper42
  2023-02-28 22:20 ` [PR PATCH] [Merged]: " paper42
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2023-02-28 22:19 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/42458#issuecomment-1449001027

Comment:
> It requires running the `flake8` command itself, i.e., needs installing before running tests.

awesome, thank you for looking into this

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

* Re: [PR PATCH] [Merged]: flake8: various template changes
  2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
                   ` (5 preceding siblings ...)
  2023-02-28 22:19 ` flake8: various template changes paper42
@ 2023-02-28 22:20 ` paper42
  6 siblings, 0 replies; 8+ messages in thread
From: paper42 @ 2023-02-28 22:20 UTC (permalink / raw)
  To: ml

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

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

flake8: various template changes
https://github.com/void-linux/void-packages/pull/42458

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**

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

end of thread, other threads:[~2023-02-28 22:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-26  9:20 [PR PATCH] flake8: fix 404 homepage icp1994
2023-02-26  9:31 ` icp1994
2023-02-26 10:01 ` paper42
2023-02-26 10:01 ` paper42
2023-02-26 19:30 ` [PR PATCH] [Updated] " icp1994
2023-02-26 19:30 ` icp1994
2023-02-28 22:19 ` flake8: various template changes paper42
2023-02-28 22:20 ` [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).