git: ec371ddb301e - main - devel/py-python-magic: Update to 0.4.25
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 25 Mar 2022 13:44:21 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec371ddb301e5d0a924f1bf271eada5d74847bc0 commit ec371ddb301e5d0a924f1bf271eada5d74847bc0 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-03-25 13:00:01 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-03-25 13:37:00 +0000 devel/py-python-magic: Update to 0.4.25 - Remove CONFLICTS - Update do-test: - Update pkg-descr Changes: https://github.com/ahupp/python-magic/blob/master/CHANGELOG --- devel/py-python-magic/Makefile | 15 ++++++--------- devel/py-python-magic/distinfo | 6 +++--- devel/py-python-magic/pkg-descr | 7 ++++--- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/devel/py-python-magic/Makefile b/devel/py-python-magic/Makefile index 549e05eb3f25..5ac1e2ccd606 100644 --- a/devel/py-python-magic/Makefile +++ b/devel/py-python-magic/Makefile @@ -1,7 +1,7 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> PORTNAME= python-magic -PORTVERSION= 0.4.15 +PORTVERSION= 0.4.25 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,17 +12,14 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= python:3.6+ -USE_GITHUB= yes # missing test data files -USE_PYTHON= autoplist distutils - -GH_ACCOUNT= ahupp - -# both install module as magic.py -CONFLICTS= ${PYTHON_PKGNAMEPREFIX}magic +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +USE_GITHUB= yes +GH_ACCOUNT= ahupp + do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + cd ${WRKSRC} && ${SETENV} LC_ALL=en_US.UTF-8 PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} ${PYTHON_CMD} -m unittest -v .include <bsd.port.mk> diff --git a/devel/py-python-magic/distinfo b/devel/py-python-magic/distinfo index b30107d31e33..7cb151dd2fab 100644 --- a/devel/py-python-magic/distinfo +++ b/devel/py-python-magic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1555764350 -SHA256 (ahupp-python-magic-0.4.15_GH0.tar.gz) = 6d730389249ab1e34ffb0a3c5beaa44e116687ffa081e0176dab6c59ff271593 -SIZE (ahupp-python-magic-0.4.15_GH0.tar.gz) = 75476 +TIMESTAMP = 1647264572 +SHA256 (ahupp-python-magic-0.4.25_GH0.tar.gz) = 0c1f483995067ffff268103f8bb6860d2f42aa3a5a9b906eaf34bcce1de36329 +SIZE (ahupp-python-magic-0.4.25_GH0.tar.gz) = 864121 diff --git a/devel/py-python-magic/pkg-descr b/devel/py-python-magic/pkg-descr index 76d35d3e32ca..dbcb91de39c6 100644 --- a/devel/py-python-magic/pkg-descr +++ b/devel/py-python-magic/pkg-descr @@ -1,5 +1,6 @@ -This module uses ctypes to access the libmagic file type identification -library. It makes use of the local magic database and supports both -textual and MIME-type output. +python-magic is a Python interface to the libmagic file type identification +library. libmagic identifies file types by checking their headers according to a +predefined list of file types. This functionality is exposed to the command line +by the Unix command file. WWW: https://github.com/ahupp/python-magic