void-packages/srcpkgs/python3-charset-normalizer/template
2022-04-04 21:51:01 +02:00

24 lines
808 B
Bash

# Template file for 'python3-charset-normalizer'
pkgname=python3-charset-normalizer
version=2.0.12
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/"
changelog="https://raw.githubusercontent.com/Ousret/charset_normalizer/master/CHANGELOG.md"
distfiles="https://github.com/Ousret/charset_normalizer/archive/refs/tags/$version.tar.gz"
checksum=8dd3a1a5444741208d627993344516cb62909c8c3f5c55deaa5bee6a305ead7a
pre_check() {
vsed -i "s/--cov=charset_normalizer --cov-report=term-missing//" setup.cfg
}
post_install() {
vlicense LICENSE
}