python3-chardet: fix split with python2 pkg, revbump

Fix depends.
Drop alternatives (wrong and also obsolete).

Add conflict with the python2 version of the pkgs (as it still exist
in the official bin repos) to ensure that there won't be any issues.
This commit is contained in:
Martin Dimov 2022-05-09 18:29:26 +03:00 committed by Andrew J. Hesford
parent 7021555821
commit b26e7e8eea

View File

@ -1,11 +1,11 @@
# Template file for 'python3-chardet'
pkgname=python3-chardet
version=4.0.0
revision=3
revision=4
wrksrc="chardet-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest"
short_desc="Universal encoding detector"
maintainer="Alessio Sergi <al3hex@gmail.com>"
@ -13,4 +13,4 @@ license="LGPL-2.1-only"
homepage="https://github.com/chardet/chardet"
distfiles="${PYPI_SITE}/c/chardet/chardet-${version}.tar.gz"
checksum=0d6f53a15db4120f2b08c94f11e7d93d2c911ee118b6b30a04ec3ee8310179fa
alternatives="chardet:chardetect:/usr/bin/chardetect2"
conflicts="python-chardet"