The NetBSD Project

CVS log for pkgsrc/sysutils/py-magic/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / py-magic

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 1 18:20:59 2022 UTC (16 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, HEAD
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

py-magic: updated to 0.4.27

Changes to 0.4.27:
- remove spurious pyproject.toml that breaks source builds

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 27 09:46:52 2022 UTC (18 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

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

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 2 12:29:14 2022 UTC (21 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.14: +2 -3 lines
Diff to previous 1.14 (colored)

py-magic: updated to 0.4.25

Changes to 0.4.25:
- Support os.PathLike values in Magic.from_file and magic.from_file

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jan 4 20:54:48 2022 UTC (22 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.13 / (download) - annotate - [select for diffs], Tue Sep 14 20:23:04 2021 UTC (2 years, 2 months ago) by js
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Make sysutils/py-magic work in a chroot again

I have no idea why this patch was dropped, but dropping it broke things...

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 7 08:22:17 2021 UTC (2 years, 5 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

py-magic: updated to 0.4.24

Changes to 0.4.24:
- Fix regression in library loading on some Alpine docker images.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 2 22:13:50 2021 UTC (2 years, 5 months ago) by khorben
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 18 12:29:54 2021 UTC (2 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.9: +3 -4 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Oct 4 18:15:43 2020 UTC (3 years, 1 month ago) by js
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Make sysutils/py-magic work in a chroot on NetBSD

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 8 13:57:19 2020 UTC (3 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 29 21:18:01 2018 UTC (5 years, 8 months ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 14 08:27:51 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

py-magic: updated to 0.4.15

0.4.15:
Bug fixes.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Sep 12 14:40:51 2017 UTC (6 years, 2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

sysutils/py-magic: update to 0.4.13

Changes 0.4.13:
add testdata to sdist

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:22 2017 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Switch github HOMEPAGEs to https.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:39 2016 UTC (7 years, 5 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Switch to MASTER_SITES_PYPI.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Dec 31 13:57:29 2014 UTC (8 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Improve EGG_NAME default to work for packages with '-' in their name.
Remove now unnecessary overrides in various packages.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Jun 2 00:12:59 2014 UTC (9 years, 6 months ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>