blob: 6b1406c05ed4b81f994ef3e237e733ca83af76d6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: Kubilay Kocak <koobs@FreeBSD.org>
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: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-*
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
.include <bsd.port.mk>
|