FreeBSD Bugzilla – Attachment 228053 Details for
Bug 258593
[NEW] sysutils/py-puremagic: Pure python implementation of magic file detection
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1.10 GitHub, argparse dependency dropped
puremagic-github-test.patch (text/plain), 1.90 KB, created by
James French
on 2021-09-20 15:22:41 UTC
(
hide
)
Description:
v1.10 GitHub, argparse dependency dropped
Filename:
MIME Type:
Creator:
James French
Created:
2021-09-20 15:22:41 UTC
Size:
1.90 KB
patch
obsolete
>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 23:13:43.318258000 +0800 >@@ -0,0 +1,23 @@ >+PORTNAME= puremagic >+PORTVERSION= 1.10 >+CATEGORIES= sysutils python >+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+ >+MAINTAINER= james@french.id.au >+COMMENT= Pure python implementation of magic file detection >+ >+LICENSE= MIT >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} >+ >+USES= python:3.7-3.9 >+USE_PYTHON= distutils autoplist concurrent >+ >+USE_GITHUB= yes >+GH_ACCOUNT= cdgriffith >+ >+do-test: >+ cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts= test/ >+ >+.include <bsd.port.mk> >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 23:13:43.319822000 +0800 >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1632109084 >+SHA256 (cdgriffith-puremagic-1.10_GH0.tar.gz) = 0c53d75e460bf383708ae4c4c055288a5cdfde0b6de888d90a1f02346f7a5cc5 >+SIZE (cdgriffith-puremagic-1.10_GH0.tar.gz) = 294909 >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-20 23:13:43.321626000 +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/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258593
:
228001
|
228007
|
228039
|
228040
|
228041
| 228053