void-packages/srcpkgs/python3-charset-normalizer/template
2021-10-25 12:22:46 +02:00

22 lines
697 B
Bash

# Template file for 'python3-charset-normalizer'
pkgname=python3-charset-normalizer
version=2.0.7
revision=1
wrksrc="charset_normalizer-$version"
build_style=python3-module
hostmakedepends="python3-setuptools"
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=6473e80f73f5918254953073798a367f120cc5717e70c917359e155901c0e2d0
pre_check() {
vsed -i "s/--cov=charset_normalizer --cov-report=term-missing//" setup.cfg
}
post_install() {
vlicense LICENSE
}