# Created by: Kubilay Kocak # $FreeBSD: head/devel/py-filemagic/Makefile 559531 2020-12-28 23:02:12Z antoine $ PORTNAME= filemagic PORTVERSION= 1.6 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= Python API for libmagic, the library behind the Unix file command LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} OPTIONS_DEFINE= TESTS TESTS_DESC= Install test suite requirements TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} USES= python:3.6+ USE_GITHUB= yes USE_PYTHON= autoplist distutils GH_ACCOUNT= aliles GH_TAGNAME= b24df9f .include regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include