From b26e7e8eeaf6596281e0ad5a378264895a1978ea Mon Sep 17 00:00:00 2001 From: Martin Dimov Date: Mon, 9 May 2022 18:29:26 +0300 Subject: [PATCH] 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. --- srcpkgs/python3-chardet/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-chardet/template b/srcpkgs/python3-chardet/template index bc5dfe6ee5e..e4e30c7b894 100644 --- a/srcpkgs/python3-chardet/template +++ b/srcpkgs/python3-chardet/template @@ -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 " @@ -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"