From cc688933282d403003505aa04eb41e0186d91159 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 13 Jul 2020 20:41:35 +0700 Subject: [PATCH] python3-magic: conflict with python3-file-magic --- srcpkgs/python-magic/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-magic/template b/srcpkgs/python-magic/template index f1794cdf22..6bb26bb6cd 100644 --- a/srcpkgs/python-magic/template +++ b/srcpkgs/python-magic/template @@ -1,7 +1,7 @@ # Template file for 'python-magic' pkgname=python-magic version=0.4.18 -revision=1 +revision=2 archs=noarch build_style=python-module hostmakedepends="python-setuptools python3-setuptools" @@ -20,6 +20,8 @@ post_install() { python3-magic_package() { archs=noarch depends="python3 libmagic" + # Beware: not an alternative + conflicts="python3-file-magic>=0" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3*