# Created by: Kubilay Kocak # $FreeBSD$ 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 OPTIONS_DEFINE= TESTS TESTS_DESC= Install test suite requirements TESTS_BUILD_DEPENDS= ${TEST_DEPENDS} USES= python 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