* [PR PATCH] python3-logfury: remove unused deps, disable tests
@ 2022-07-20 21:30 paper42
2022-07-20 21:34 ` [PR PATCH] [Merged]: " paper42
0 siblings, 1 reply; 2+ messages in thread
From: paper42 @ 2022-07-20 21:30 UTC (permalink / raw)
To: ml
[-- 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
-}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: python3-logfury: remove unused deps, disable tests
2022-07-20 21:30 [PR PATCH] python3-logfury: remove unused deps, disable tests paper42
@ 2022-07-20 21:34 ` paper42
0 siblings, 0 replies; 2+ messages in thread
From: paper42 @ 2022-07-20 21:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
There's a merged pull request on the void-packages repository
python3-logfury: remove unused deps, disable tests
https://github.com/void-linux/void-packages/pull/38160
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-20 21:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-20 21:30 [PR PATCH] python3-logfury: remove unused deps, disable tests paper42
2022-07-20 21:34 ` [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).