diff -ruN py-puremagic/Makefile py-puremagic/Makefile --- py-puremagic/Makefile 1970-01-01 08:00:00.000000000 +0800 +++ py-puremagic/Makefile 2021-09-20 12:07:10.763926000 +0800 @@ -0,0 +1,20 @@ +PORTNAME= puremagic +PORTVERSION= 1.10 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= james@french.id.au +COMMENT= Pure python implementation of magic file detection + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}argparse>0:devel/py-argparse@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= distutils autoplist concurrent + +.include diff -ruN py-puremagic/distinfo py-puremagic/distinfo --- py-puremagic/distinfo 1970-01-01 08:00:00.000000000 +0800 +++ py-puremagic/distinfo 2021-09-20 12:07:16.429619000 +0800 @@ -0,0 +1,3 @@ +TIMESTAMP = 1632110836 +SHA256 (puremagic-1.10.tar.gz) = 6ffea02b80ceec1381f9df513e0120b701a74b6efad92311ea80281c7081b108 +SIZE (puremagic-1.10.tar.gz) = 35338 diff -ruN py-puremagic/pkg-descr py-puremagic/pkg-descr --- py-puremagic/pkg-descr 1970-01-01 08:00:00.000000000 +0800 +++ py-puremagic/pkg-descr 2021-09-19 15:17:50.679301000 +0800 @@ -0,0 +1,12 @@ +Puremagic is a python module that will identify a file from magic numbers + +It is designed to be minimalistic and inherently cross platform compatible. It +is also designed to be a stand in for python-magic, it incorporates the +functions from_file(filename[, mime]) and from_string(string[, mime]) however +the magic_file() and magic_string() are more powerful and will also display +confidence and duplicate matches. + +It does NOT try to match files off non-magic string. In other words it will not +search for a string within a certain window of bytes like others might. + +WWW: https://pypi.org/project/puremagic/