void-packages/srcpkgs/python3-charset-normalizer/template
2022-01-05 21:57:26 +01:00

23 lines
716 B
Bash

# Template file for 'python3-charset-normalizer'
pkgname=python3-charset-normalizer
version=2.0.10
revision=1
wrksrc="charset_normalizer-$version"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Encoding and language detection"
maintainer="Michal Vasilek <michal@vasilek.cz>"
license="MIT"
homepage="https://charset-normalizer.readthedocs.io/"
distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
checksum=f6ff5af81be8e733099e5dd79bf344f3181d1b4de25a570c0398e816b173f9f1
pre_check() {
vsed -i "s/--cov=charset_normalizer --cov-report=term-missing//" setup.cfg
}
post_install() {
vlicense LICENSE
}