mirror of
https://git.freebsd.org/ports.git
synced 2025-05-24 23:16:33 -04:00
- 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>
29 lines
585 B
Makefile
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>
|