mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 07:10:32 -04:00
The conflict checks compare the patterns first against the package names without version (as reported by "pkg query "%n"), then - if there was no match - agsinst the full package names including the version (as reported by "pkg query "%n-%v"). Approved by: portmgr (blanket)
28 lines
576 B
Makefile
28 lines
576 B
Makefile
# 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>
|