ports/devel/py-python-magic/Makefile
Kubilay Kocak f787bde3a8 devel/py-python-magic: Update to 0.4.15
- Add USE_GITHUB comment (missing test data files)

There are a number of test failures that are a consequence of slight differences
between platform magic implementations and/or databases. Two have been reported
upstream [1][2] and will be resolved in a subsequent release.

[1] https://github.com/ahupp/python-magic/issues/173
[2] https://github.com/ahupp/python-magic/issues/96

PR:		234600
Submitted by:	Gilbert Morgan <gmm tutanota com>
2019-04-20 13:11:41 +00:00

29 lines
585 B
Makefile

# Created by: Kubilay Kocak <koobs@FreeBSD.org>
# $FreeBSD$
PORTNAME= python-magic
PORTVERSION= 0.4.15
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= koobs@FreeBSD.org
COMMENT= File type identification using libmagic
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USE_GITHUB= yes # missing test data files
USE_PYTHON= autoplist distutils
GH_ACCOUNT= ahupp
# both install module as magic.py
CONFLICTS= ${PYTHON_PKGNAMEPREFIX}magic-*
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>