mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python3-logfury: remove unused deps, disable tests
This commit is contained in:
parent
a8fc6a205a
commit
e92ecd2a6b
2 changed files with 13 additions and 10 deletions
10
srcpkgs/python3-logfury/patches/setuptools_scm-7.patch
Normal file
10
srcpkgs/python3-logfury/patches/setuptools_scm-7.patch
Normal file
|
@ -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
|
|
@ -1,25 +1,18 @@
|
||||||
# Template file for 'python3-logfury'
|
# Template file for 'python3-logfury'
|
||||||
pkgname=python3-logfury
|
pkgname=python3-logfury
|
||||||
version=1.0.1
|
version=1.0.1
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="logfury-${version}"
|
wrksrc="logfury-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-pip"
|
hostmakedepends="python3-setuptools_scm"
|
||||||
depends="python3-six"
|
|
||||||
checkdepends="python3-pytest python3-six flake8 python3-docutils
|
|
||||||
python3-nose python3-bleach python3-webencodings python3-toml
|
|
||||||
python3-Pygments"
|
|
||||||
short_desc="Low-boilerplate logging of method calls (Python3)"
|
short_desc="Low-boilerplate logging of method calls (Python3)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/ppolewicz/logfury"
|
homepage="https://github.com/ppolewicz/logfury"
|
||||||
distfiles="${PYPI_SITE}/l/logfury/logfury-$version.tar.gz"
|
distfiles="${PYPI_SITE}/l/logfury/logfury-$version.tar.gz"
|
||||||
checksum=130a5daceab9ad534924252ddf70482aa2c96662b3a3825a7d30981d03b76a26
|
checksum=130a5daceab9ad534924252ddf70482aa2c96662b3a3825a7d30981d03b76a26
|
||||||
|
make_check=no # needs unpackaged testfixtures
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python3 setup.py test
|
|
||||||
}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue