View | Details | Raw Unified | Return to bug 258593 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 258593