ports/devel/py-python-magic/Makefile
Stefan Eßer 04b9da4140 */*: Remove redundant '-*' from CONFLICTS definitions
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)
2021-11-25 22:40:11 +01:00

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>