24 lines
770 B
Bash
24 lines
770 B
Bash
# Template file for 'python3-charset-normalizer'
|
|
pkgname=python3-charset-normalizer
|
|
version=3.1.0
|
|
revision=1
|
|
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=0ca96d2ffef13e7062c53df8619e97b910343d1e14b4b92ee71bc61d2d18ced4
|
|
|
|
pre_check() {
|
|
vsed -i "s/--cov=charset_normalizer --cov-report=term-missing//" setup.cfg
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|