Unmaintained. After adding tests, it turns out it's broken completely: ====================================================================== ERROR: test_repr (tests.test_magic.TestMagic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/tmp/portage/dev-python/filemagic-1.6/work/filemagic-1.6/tests/test_magic.py", line 68, in test_repr flags=magic.MAGIC_MIME_ENCODING) as m: File "/tmp/portage/dev-python/filemagic-1.6/work/filemagic-1.6/magic/identify.py", line 68, in __init__ api.magic_load(self.cookie, pathstr) File "/tmp/portage/dev-python/filemagic-1.6/work/filemagic-1.6/magic/api.py", line 48, in errcheck_int raise MagicError(errno, error) magic.api.MagicError: [Errno 0] b'could not find any valid magic files!' and alike.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aeebb0ca117caaee8d30a73b546e9789e1764163 commit aeebb0ca117caaee8d30a73b546e9789e1764163 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-04-22 06:58:02 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-04-22 08:15:36 +0000 package.mask: Last rite dev-python/filemagic Bug: https://bugs.gentoo.org/718822 Signed-off-by: Michał Górny <mgorny@gentoo.org> profiles/base/package.use.mask | 4 ++++ profiles/package.mask | 6 ++++++ 2 files changed, 10 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd6d8e93656804809af56bed8be6dc41d2caa51b commit dd6d8e93656804809af56bed8be6dc41d2caa51b Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-05-23 09:47:01 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-05-23 09:47:01 +0000 dev-python/filemagic: Remove last-rited pkg Closes: https://bugs.gentoo.org/718822 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/filemagic/Manifest | 1 - dev-python/filemagic/filemagic-1.6.ebuild | 19 ------------------- dev-python/filemagic/metadata.xml | 12 ------------ profiles/package.mask | 6 ------ 4 files changed, 38 deletions(-)