head 1.17; access; symbols pkgsrc-2023Q4:1.17.0.12 pkgsrc-2023Q4-base:1.17 pkgsrc-2023Q3:1.17.0.10 pkgsrc-2023Q3-base:1.17 pkgsrc-2023Q2:1.17.0.8 pkgsrc-2023Q2-base:1.17 pkgsrc-2023Q1:1.17.0.6 pkgsrc-2023Q1-base:1.17 pkgsrc-2022Q4:1.17.0.4 pkgsrc-2022Q4-base:1.17 pkgsrc-2022Q3:1.17.0.2 pkgsrc-2022Q3-base:1.17 pkgsrc-2022Q2:1.16.0.2 pkgsrc-2022Q2-base:1.16 pkgsrc-2022Q1:1.15.0.2 pkgsrc-2022Q1-base:1.15 pkgsrc-2021Q4:1.13.0.4 pkgsrc-2021Q4-base:1.13 pkgsrc-2021Q3:1.13.0.2 pkgsrc-2021Q3-base:1.13 pkgsrc-2021Q2:1.12.0.2 pkgsrc-2021Q2-base:1.12 pkgsrc-2021Q1:1.10.0.2 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.9.0.2 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.8.0.4 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.2 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.7.0.16 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.18 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.14 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.7.0.12 pkgsrc-2019Q2-base:1.7 pkgsrc-2019Q1:1.7.0.10 pkgsrc-2019Q1-base:1.7 pkgsrc-2018Q4:1.7.0.8 pkgsrc-2018Q4-base:1.7 pkgsrc-2018Q3:1.7.0.6 pkgsrc-2018Q3-base:1.7 pkgsrc-2018Q2:1.7.0.4 pkgsrc-2018Q2-base:1.7 pkgsrc-2018Q1:1.7.0.2 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.5.0.6 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.4 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.3.0.10 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.8 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.6 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.4 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.2 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.2.0.10 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.8 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.6 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.4 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.1.0.6 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.17 date 2022.08.01.18.20.59; author adam; state Exp; branches; next 1.16; commitid Xcz77IWcuaIZLcOD; 1.16 date 2022.05.27.09.46.52; author adam; state Exp; branches; next 1.15; commitid rzGYgbVwAQf93GFD; 1.15 date 2022.02.02.12.29.14; author adam; state Exp; branches; next 1.14; commitid Apy2aCwKmLs1C2rD; 1.14 date 2022.01.04.20.54.48; author wiz; state Exp; branches; next 1.13; commitid CYyhdK9qtoffkmnD; 1.13 date 2021.09.14.20.23.04; author js; state Exp; branches; next 1.12; commitid BRGiceuV5gtpLX8D; 1.12 date 2021.06.07.08.22.17; author adam; state Exp; branches; next 1.11; commitid cTLjUZ4ML6nDXaWC; 1.11 date 2021.06.02.22.13.50; author khorben; state Exp; branches; next 1.10; commitid 8oDPbvE47KAvIBVC; 1.10 date 2021.02.18.12.29.54; author adam; state Exp; branches; next 1.9; commitid GfomYTD53cfLPbIC; 1.9 date 2020.10.04.18.15.43; author js; state Exp; branches; next 1.8; commitid 3pyBnkg5VrKq9CqC; 1.8 date 2020.05.08.13.57.19; author adam; state Exp; branches; next 1.7; commitid LuheqTdpMSvEvr7C; 1.7 date 2018.03.29.21.18.01; author khorben; state Exp; branches; next 1.6; commitid mYeIn1a0BfyAHowA; 1.6 date 2018.01.14.08.27.51; author adam; state Exp; branches; next 1.5; commitid DbaFYtDDWhuEQOmA; 1.5 date 2017.09.12.14.40.51; author adam; state Exp; branches; next 1.4; commitid m590wSgLJsvETU6A; 1.4 date 2017.07.30.22.32.22; author wiz; state Exp; branches; next 1.3; commitid gjZWVQWOLKneVi1A; 1.3 date 2016.06.08.17.43.39; author wiz; state Exp; branches; next 1.2; commitid z4yEulWexjFaJG9z; 1.2 date 2014.12.31.13.57.29; author wiz; state Exp; branches; next 1.1; commitid ybQxkgXABHSTlc4y; 1.1 date 2014.06.02.00.12.59; author rodent; state Exp; branches; next ; commitid 2HdX23HIL2tDBSCx; desc @@ 1.17 log @py-magic: updated to 0.4.27 Changes to 0.4.27: - remove spurious pyproject.toml that breaks source builds @ text @# $NetBSD: Makefile,v 1.16 2022/05/27 09:46:52 adam Exp $ DISTNAME= python-magic-0.4.27 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//} CATEGORIES= sysutils python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-magic/} MAINTAINER= khorben@@defora.org HOMEPAGE= https://github.com/ahupp/python-magic COMMENT= File type identification using libmagic LICENSE= mit DEPENDS+= file-[0-9]*:../../sysutils/file USE_LANGUAGES= # none .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.16 log @py-magic: updated to 0.4.26 Changes to 0.4.26: - Use tox for all multi-version testing - Fix use of pytest, use it via tox @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2022/02/02 12:29:14 adam Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.26 @ 1.15 log @py-magic: updated to 0.4.25 Changes to 0.4.25: - Support os.PathLike values in Magic.from_file and magic.from_file @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2022/01/04 20:54:48 wiz Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.25 @ 1.14 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2021/09/14 20:23:04 js Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.24 a4 1 PKGREVISION= 2 @ 1.13 log @Make sysutils/py-magic work in a chroot again I have no idea why this patch was dropped, but dropping it broke things... @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2021/06/07 08:22:17 adam Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.12 log @py-magic: updated to 0.4.24 Changes to 0.4.24: - Fix regression in library loading on some Alpine docker images. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/06/02 22:13:50 khorben Exp $ d5 1 @ 1.11 log @py-magic: update to version 0.4.23 From the CHANGELOG: - Include a `py.typed` sentinal to enable type checking - Improve fix for attribute error during destruction - Cleanup library loading logic - Add new homebrew library dir for OSX Tested on NetBSD/amd64. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/02/18 12:29:54 adam Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.23 @ 1.10 log @py-magic: updated to 0.4.22 Changes to 0.4.21, 0.4.22 - Unify dll loader between the standard and compat library, fixing load failures on some previously supported platforms. Changes to 0.4.20 - merge in a compatability layer for the upstream libmagic python binding. Since both this package and that one are called 'magic', this compat layer removes a very common source of runtime errors. Use of that libmagic API will produce a deprecation warning. - support python 3.9 in tests and pypi metadata - add support for magic_descriptor functions, which take a file descriptor rather than a filename. - sometimes the returned description includes snippets of the file, e.g a title for MS Word docs. Since this is in an unknown encoding, we would throw a unicode decode error trying to decode. Now, it decodes with 'backslashreplace' to handle this more gracefully. The undecodable characters are replaced with hex escapes. - add support for MAGIC_EXTENSION, to return possible file extensions. - add mypy typing stubs file, for type checking @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2020/10/04 18:15:43 js Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.22 @ 1.9 log @Make sysutils/py-magic work in a chroot on NetBSD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2020/05/08 13:57:19 adam Exp $ d3 2 a4 3 DISTNAME= python-magic-0.4.18 PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/1} PKGREVISION= 1 @ 1.8 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/03/29 21:18:01 khorben Exp $ d5 1 @ 1.7 log @Register missing dependency on sysutils/file This will fix functionality of this package if libmagic is not available. Bump PKGREVISION for those platforms where it is the case (NFC otherwise). Tested on NetBSD/amd64. Thanks richard@@ for the heads up. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2018/01/14 08:27:51 adam Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.15 a4 1 PKGREVISION= 1 d13 2 a17 1 .include "../../sysutils/file/buildlink3.mk" @ 1.6 log @py-magic: updated to 0.4.15 0.4.15: Bug fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/09/12 14:40:51 adam Exp $ d5 1 d17 1 @ 1.5 log @sysutils/py-magic: update to 0.4.13 Changes 0.4.13: add testdata to sdist @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2017/07/30 22:32:22 wiz Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.13 d5 1 a5 1 CATEGORIES= python sysutils @ 1.4 log @Switch github HOMEPAGEs to https. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2016/06/08 17:43:39 wiz Exp $ d3 1 a3 1 DISTNAME= python-magic-0.4.6 d11 1 a11 1 LICENSE= python-software-foundation @ 1.3 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/12/31 13:57:29 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://github.com/ahupp/python-magic @ 1.2 log @Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/06/02 00:12:59 rodent Exp $ d6 1 a6 1 MASTER_SITES= http://pypi.python.org/packages/source/p/python-magic/ @ 1.1 log @Import py27-magic-0.4.6 as sysutils/py-magic. This module 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. @ text @d1 1 a1 1 # $NetBSD$ a12 2 EGG_NAME= ${DISTNAME:S/-magic/_magic/} @