./sysutils/py-magic, File type identification using libmagic

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.4.26, Package name: py39-magic-0.4.26, Maintainer: khorben

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.


Required to run:
[sysutils/file] [devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 14.572 KB

Version history: (Expand)


CVS history: (Expand)


   2022-05-27 11:46:52 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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
   2022-02-02 13:29:14 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-magic: updated to 0.4.25

Changes to 0.4.25:
- Support os.PathLike values in Magic.from_file and magic.from_file
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2021-09-14 22:23:04 by Jonathan Schleifer | Files touched by this commit (3)
Log message:
Make sysutils/py-magic work in a chroot again

I have no idea why this patch was dropped, but dropping it broke things...
   2021-06-07 10:22:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-magic: updated to 0.4.24

Changes to 0.4.24:
- Fix regression in library loading on some Alpine docker images.
   2021-06-03 00:13:51 by Pierre Pronchery | Files touched by this commit (4) | Package updated
Log message:
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.