On 06/28/18 10:18, Sebastien Marie wrote:
On Thu, Jun 28, 2018 at 09:43:13AM -0400, Daniel Jakots wrote:
On Thu, 28 Jun 2018 08:15:05 +0100, Stuart Henderson
<[email protected]> wrote:

On 2018/06/28 00:53, Brian Callahan wrote:
Hi ports --

Attached is a new port, devel/py-magic. py-magic is a Python module
for file type identification using libmagic.

---
pkg/DESCR:
python-magic is a module that uses ctypes to access the libmagic
file type identification library. It makes use of the local magic
database and supports both textual and MIME-type output.
---

This is a dependency for the upcoming diffoscope port (see next
email).
Yay, I'm glad to see this, I wanted to do it for a long time :)
It's also needed for other ports.

This has a conflict:

$ make plist
Warning: py-magic-0.4.15 conflicts with py-libmagic-5.32
(devel/py-libmagic):/usr/local/lib/python2.7/site-packages/magic.py 
/usr/local/lib/python2.7/site-packages/magic.pyc 
/usr/local/lib/python2.7/site-packages/magic.pyc 
/usr/ports/openbsd-wip/devel/py-magic/pkg/PLIST
changed
Yes and py-libmagic is only needed by print/py-relatorio so my plan was
to check if py-relatorio could be switched to it but I didn't go
further than asking semarie about it.
there is no problem for py-relatorio for switching to py-magic instead
of py-libmagic. And in fact, py-magic is the intented dependency for
upstream (and from reading py-relatorio code, it is possible that with
py-libmagic, it doesn't work as expected).

I ran the testsuite of py3-relatorio with both (py3-magic and
py3-libmagic), and the result are same: all 23 tests passes.

If py-libmagic has no other reverse dependencies than py-relatorio, I
would be in favor to remove it, and use py-magic as dependency instead
of. Below a diff that do it, and while here taking maintainership of
py-relatorio.

thanks.

I'd be in favor as well, if only because it makes my life a little easier :)

~Brian

Reply via email to