pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/py-magic
Module Name: pkgsrc
Committed By: adam
Date: Fri May 8 13:57:19 UTC 2020
Modified Files:
pkgsrc/sysutils/py-magic: Makefile PLIST distinfo
Log Message:
py-magic: updated to 0.4.18
Changes in 0.4.18
- Make bindings for magic_[set|get]param optional, and throw NotImplementedError
if they are used but not supported. Only call setparam() in the constructor if
it's supported. This prevents breakage on CentOS7 which uses an old version of
libmagic.
- Add tests for CentOS 7 & 8
Changes in 0.4.16 and 0.4.17
- add MAGIC_MIME_TYPE constant, use that in preference to MAGIC_MIME internally.
This sets up for a breaking change in a future major version bump where
MAGIC_MIME will change to mathch magic.h.
- add magic.version() function to return library version
- add setparam/getparam to control internal behavior
- increase internal limits with setparam to prevent spurious error on some jpeg files
- various setup.py improvements to declare modern python support
- support MSYS2 magic dlls
- fix warning about using 'is' on an int in python 3.8
- include tests in source distribution
- many test improvements:
-- tox runner support
-- remove deprecated test_suite field from setup.py
-- docker tests that cover all LTS ubuntu versions
-- add test for snapp file identification
- doc improvements
-- document dependency install process for debian
-- various typos
-- document test running process
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/py-magic/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/py-magic/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/py-magic/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/py-magic/Makefile
diff -u pkgsrc/sysutils/py-magic/Makefile:1.7 pkgsrc/sysutils/py-magic/Makefile:1.8
--- pkgsrc/sysutils/py-magic/Makefile:1.7 Thu Mar 29 21:18:01 2018
+++ pkgsrc/sysutils/py-magic/Makefile Fri May 8 13:57:19 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/03/29 21:18:01 khorben Exp $
+# $NetBSD: Makefile,v 1.8 2020/05/08 13:57:19 adam Exp $
-DISTNAME= python-magic-0.4.15
+DISTNAME= python-magic-0.4.18
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/1}
-PKGREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-magic/}
@@ -11,8 +10,9 @@ HOMEPAGE= https://github.com/ahupp/pytho
COMMENT= File type identification using libmagic
LICENSE= mit
+DEPENDS+= file-[0-9]*:../../sysutils/file
+
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
-.include "../../sysutils/file/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/py-magic/PLIST
diff -u pkgsrc/sysutils/py-magic/PLIST:1.1 pkgsrc/sysutils/py-magic/PLIST:1.2
--- pkgsrc/sysutils/py-magic/PLIST:1.1 Mon Jun 2 00:12:59 2014
+++ pkgsrc/sysutils/py-magic/PLIST Fri May 8 13:57:19 2020
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2014/06/02 00:12:59 rodent Exp $
-${PYSITELIB}/magic.py
-${PYSITELIB}/magic.pyc
-${PYSITELIB}/magic.pyo
+@comment $NetBSD: PLIST,v 1.2 2020/05/08 13:57:19 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/magic.py
+${PYSITELIB}/magic.pyc
+${PYSITELIB}/magic.pyo
Index: pkgsrc/sysutils/py-magic/distinfo
diff -u pkgsrc/sysutils/py-magic/distinfo:1.4 pkgsrc/sysutils/py-magic/distinfo:1.5
--- pkgsrc/sysutils/py-magic/distinfo:1.4 Sun Jan 14 08:27:52 2018
+++ pkgsrc/sysutils/py-magic/distinfo Fri May 8 13:57:19 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2018/01/14 08:27:52 adam Exp $
+$NetBSD: distinfo,v 1.5 2020/05/08 13:57:19 adam Exp $
-SHA1 (python-magic-0.4.15.tar.gz) = fc69c0d4eef064d585095ee975d3ba089124c1f4
-RMD160 (python-magic-0.4.15.tar.gz) = ad4925d65a20c56ff8696070ac7afdd824989c29
-SHA512 (python-magic-0.4.15.tar.gz) = df028669209e02cde06f4db0481d84c316cefc191273ab3c749e88a23c92cb79a703077f601a0cc194fccbbcf62b38de8bab79290827a8505bc06e2f4aa0c2bb
-Size (python-magic-0.4.15.tar.gz) = 73194 bytes
+SHA1 (python-magic-0.4.18.tar.gz) = b48c84ef096baaf10b4f7cb3792ef8328c946c81
+RMD160 (python-magic-0.4.18.tar.gz) = 54bd572566e60eec7e8b2652ecc6d287ff300d56
+SHA512 (python-magic-0.4.18.tar.gz) = 18c4d75bc762d44f42c44bb52b999930ea570d2dd11d7cb840807e372806dc14164e1b3ea0acb23ccd692177a1a683d4537b01675bc57f06334bcc0f40520e6c
+Size (python-magic-0.4.18.tar.gz) = 11442 bytes
Home |
Main Index |
Thread Index |
Old Index