Package Details: python-magic-ahupp 0.4.20-2

Git Clone URL: https://aur.archlinux.org/python-magic-ahupp.git (read-only, click to copy)
Package Base: python-magic-ahupp
Description: A python wrapper for libmagic
Upstream URL: https://github.com/ahupp/python-magic
Licenses: MIT
Conflicts: python-magic
Provides: python-magic
Submitter: wzyboy
Maintainer: wzyboy
Last Packager: wzyboy
Votes: 13
Popularity: 0.29
First Submitted: 2016-07-05 02:35
Last Updated: 2021-01-19 08:02

Dependencies (2)

Required by (47)

Sources (1)

Latest Comments

1 2 Next › Last »

L0ric0 commented on 2021-03-09 20:38

could you remove the provides line until https://github.com/ahupp/python-magic/issues/239 is fixed? as the implement different apis

txtsd commented on 2021-01-19 05:57

The license directory is incorrect. It should be /usr/share/licenses/, not /usr/share/license/

wzyboy commented on 2021-01-16 23:07

@yochananmarqos Fixed. Thank you.

yochananmarqos commented on 2021-01-16 15:29

python is a missing dependency. The license should be installed with the package.

wzyboy commented on 2021-01-02 04:34

@yochananmarqos Oh now I remember why I added conflicts and provides at the beginning... I've reverted the commit. Sorry for the trouble.

yochananmarqos commented on 2021-01-02 04:28

@wzyboy: While that may be true, there are conflicting files. Please revert the change. This is what happens when attempting to install python-magic:

python-magic: /usr/lib/python3.9/site-packages/__pycache__/magic.cpython-39.opt-1.pyc exists in filesystem (owned by python-magic-ahupp)
python-magic: /usr/lib/python3.9/site-packages/__pycache__/magic.cpython-39.pyc exists in filesystem (owned by python-magic-ahupp)
python-magic: /usr/lib/python3.9/site-packages/magic.py exists in filesystem (owned by python-magic-ahupp)

wzyboy commented on 2021-01-02 03:47

@txtsd You are right. These two packages share the same name but does not provide the same interface. I've removed the conflicts and provides line. Thank you for pointing out.

txtsd commented on 2021-01-01 05:52

Why does this package conflict with and provide the completely unrelated python-magic?

roachsinai commented on 2020-12-06 07:56

Sorry for bother! It's my fault, that my python system version is 3.8, but download and use a 3.9 package. Sorry.

roachsinai commented on 2020-12-04 12:37

Hi, there seems not worked this package.

Python 3.8.6 (default, Sep 30 2020, 04:00:38) 
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import magic
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'magic'
>>>
local/python-magic-ahupp 0.4.18-2
    A python wrapper for libmagic