[MacPorts] #26184: py-file: File python module

MacPorts noreply at macports.org
Thu Jul 14 02:39:04 PDT 2016


#26184: py-file: File python module
---------------------------+--------------------------------
  Reporter:  hsivank@…     |      Owner:  macports-tickets@…
      Type:  request       |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  py-file file  |
---------------------------+--------------------------------

Comment (by petr@…):

 I am a bit puzzled what to do with this old ticket.

 The situation today seems to be that there are several Python packages
 offering similar functionality. They all use the same top level name
 `magic`. Here an overview:

  * This ticket request for the wrapper module provided by `file` itself,
 see [https://github.com/file/file/tree/master/python [1]].
  * Macports already provides a package called `python-magic` as port `py-
 magic`. References [https://pypi.python.org/pypi/python-magic [2]] and
 [https://github.com/ahupp/python-magic [3]]
  * ... and there is `filemagic` [https://pypi.python.org/pypi/filemagic
 [4]], [http://filemagic.readthedocs.io/en/latest/api.html [5]] (not
 maintained)

 `filemagic` is probably now irrelevant anyway. This ticket was not
 implemented in years, it would create a conflict with the existing port
 and the existing port has dependencies. This indicates that the `file`
 implementation is less popular. I'd propose to close this ticket as
 `wontfix` and consider implementing it only if it should be required as
 dependency.

 References:

  * [1] https://github.com/file/file/tree/master/python
  * [2] https://pypi.python.org/pypi/python-magic
  * [3] https://github.com/ahupp/python-magic
  * [4] https://pypi.python.org/pypi/filemagic
  * [5] http://filemagic.readthedocs.io/en/latest/api.html

-- 
Ticket URL: <https://trac.macports.org/ticket/26184#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list