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*