python3-magic: conflict with python3-file-magic

This commit is contained in:
Đoàn Trần Công Danh 2020-07-13 20:41:35 +07:00
parent 789131206a
commit cc68893328

View file

@ -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*