python3-logfury: remove unused deps, disable tests

This commit is contained in:
Michal Vasilek 2022-07-20 23:18:31 +02:00
parent a8fc6a205a
commit e92ecd2a6b
2 changed files with 13 additions and 10 deletions

View 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

View file

@ -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
}