void-packages/srcpkgs/python3-charset-normalizer/template
2021-12-08 23:12:36 +01:00

22 lines
697 B
Bash

# Template file for 'python3-charset-normalizer'
pkgname=python3-charset-normalizer
version=2.0.9
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=d3a0e1a74c1ed5804c12ed4ae3d58062434ba7b1782fcbd202633074a8319d5c
pre_check() {
vsed -i "s/--cov=charset_normalizer --cov-report=term-missing//" setup.cfg
}
post_install() {
vlicense LICENSE
}