From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-logfury: remove unused deps, disable tests
Date: Wed, 20 Jul 2022 23:30:28 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-38160@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1264 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages logfury-fix
https://github.com/void-linux/void-packages/pull/38160
python3-logfury: remove unused deps, disable tests
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- aarch64-musl
- armv7l
- armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/38160.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-logfury-fix-38160.patch --]
[-- Type: text/x-diff, Size: 2216 bytes --]
From f56386ec0e1db9802581139bf456c07177637754 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Wed, 20 Jul 2022 23:18:31 +0200
Subject: [PATCH] python3-logfury: remove unused deps, disable tests
---
.../python3-logfury/patches/setuptools_scm-7.patch | 10 ++++++++++
srcpkgs/python3-logfury/template | 13 +++----------
2 files changed, 13 insertions(+), 10 deletions(-)
create mode 100644 srcpkgs/python3-logfury/patches/setuptools_scm-7.patch
diff --git a/srcpkgs/python3-logfury/patches/setuptools_scm-7.patch b/srcpkgs/python3-logfury/patches/setuptools_scm-7.patch
new file mode 100644
index 000000000000..b511958acd7f
--- /dev/null
+++ b/srcpkgs/python3-logfury/patches/setuptools_scm-7.patch
@@ -0,0 +1,10 @@
+--- a/setup.py
++++ b/setup.py
+@@ -72,6 +72,6 @@ setup(
+ classifiers = CLASSIFIERS,
+ package_data = {NAME: ['requirements.txt', 'LICENSE']},
+
+- setup_requires = ['setuptools_scm<6.0'], # setuptools_scm>=6.0 doesn't support Python 3.5
++ setup_requires = ['setuptools_scm'],
+ use_scm_version = True,
+ ) # yapf: disable
diff --git a/srcpkgs/python3-logfury/template b/srcpkgs/python3-logfury/template
index dbafc141007d..58e0b6592736 100644
--- a/srcpkgs/python3-logfury/template
+++ b/srcpkgs/python3-logfury/template
@@ -1,25 +1,18 @@
# Template file for 'python3-logfury'
pkgname=python3-logfury
version=1.0.1
-revision=1
+revision=2
wrksrc="logfury-${version}"
build_style=python3-module
-hostmakedepends="python3-setuptools python3-pip"
-depends="python3-six"
-checkdepends="python3-pytest python3-six flake8 python3-docutils
- python3-nose python3-bleach python3-webencodings python3-toml
- python3-Pygments"
+hostmakedepends="python3-setuptools_scm"
short_desc="Low-boilerplate logging of method calls (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/ppolewicz/logfury"
distfiles="${PYPI_SITE}/l/logfury/logfury-$version.tar.gz"
checksum=130a5daceab9ad534924252ddf70482aa2c96662b3a3825a7d30981d03b76a26
+make_check=no # needs unpackaged testfixtures
post_install() {
vlicense LICENSE
}
-
-do_check() {
- python3 setup.py test
-}
next reply other threads:[~2022-07-20 21:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-20 21:30 paper42 [this message]
2022-07-20 21:34 ` [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-38160@inbox.vuxu.org \
--to=paper42@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).