2021-08-19 22:33:38 +00:00
|
|
|
# Template file for 'python3-charset-normalizer'
|
|
|
|
pkgname=python3-charset-normalizer
|
2021-10-25 10:22:46 +00:00
|
|
|
version=2.0.7
|
|
|
|
revision=1
|
2021-08-19 22:33:38 +00:00
|
|
|
wrksrc="charset_normalizer-$version"
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
2021-10-25 10:22:46 +00:00
|
|
|
checkdepends="python3-pytest"
|
2021-08-19 22:33:38 +00:00
|
|
|
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"
|
2021-10-25 10:22:46 +00:00
|
|
|
checksum=6473e80f73f5918254953073798a367f120cc5717e70c917359e155901c0e2d0
|
|
|
|
|
|
|
|
pre_check() {
|
|
|
|
vsed -i "s/--cov=charset_normalizer --cov-report=term-missing//" setup.cfg
|
|
|
|
}
|
2021-08-19 22:33:38 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|