summaryrefslogtreecommitdiff
path: root/magic
Commit message (Collapse)AuthorAgeFilesLines
* various cleanups proposed by debian folksAdam Hupp2018-01-141-3/+7
|
* Merge in compatability mode with libmagicAdam Hupp2018-01-142-5/+335
| | | | | | | | | | | | | The libmagic distribution uses the same package name `magic` as python-magic, but has an incompatible API. This change merges in a copy of libmagic's bindings, wrapped to give deprecation warnings. This is intended to a) mitigate the short-term pain to users and packagers who need to figure out which to use, and b) give us a path to merging the two sets of bindings. I'd be happy for libmagic to take over this package if we could find a path to it.
* add from_open_file to match libmagic binding featuresetAdam Hupp2018-01-141-0/+11
|
* Convert to a package so we can add more filesAdam Hupp2018-01-141-0/+301