From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] flake8: fix 404 homepage
Date: Sun, 26 Feb 2023 20:30:45 +0100 [thread overview]
Message-ID: <20230226193045.FnuU8XHxdGM-JRQ2l8XhPLFBzaD0AOFIG5Y9I88gccw@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42458@inbox.vuxu.org>
[-- 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
}
next prev parent reply other threads:[~2023-02-26 19:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-26 9:20 [PR PATCH] " icp1994
2023-02-26 9:31 ` icp1994
2023-02-26 10:01 ` paper42
2023-02-26 10:01 ` paper42
2023-02-26 19:30 ` icp1994 [this message]
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
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=20230226193045.FnuU8XHxdGM-JRQ2l8XhPLFBzaD0AOFIG5Y9I88gccw@z \
--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).