Index: head/devel/py-magic/Makefile =================================================================== --- head/devel/py-magic/Makefile (revision 462282) +++ head/devel/py-magic/Makefile (revision 462283) @@ -1,23 +1,26 @@ # Created by: Alexander Botero-Lowry # $FreeBSD$ PORTNAME= magic PORTVERSION= 5.32 CATEGORIES= devel python MASTER_SITES= ftp://ftp.astron.com/pub/file/ \ ftp://ftp.gw.com/mirrors/pub/unix/file/ \ ftp://ftp.fu-berlin.de/unix/tools/file/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= file-${PORTVERSION} MAINTAINER= lwhsu@FreeBSD.org COMMENT= Python module for determining file type LICENSE= BSD2CLAUSE +# both install module as magic.py +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}python-magic-* + USES= python USE_PYTHON= distutils autoplist WRKSRC= ${WRKDIR}/file-${PORTVERSION}/python .include Index: head/devel/py-python-magic/Makefile =================================================================== --- head/devel/py-python-magic/Makefile (revision 462282) +++ head/devel/py-python-magic/Makefile (revision 462283) @@ -1,27 +1,30 @@ # Created by: Kubilay Kocak # $FreeBSD$ PORTNAME= python-magic PORTVERSION= 0.4.10 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= koobs@FreeBSD.org COMMENT= File type identification using libmagic LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +# both install module as magic.py +CONFLICTS= ${PYTHON_PKGNAMEPREFIX}magic-* + USES= python USE_GITHUB= yes USE_PYTHON= autoplist distutils GH_ACCOUNT= ahupp GH_TAGNAME= 6e3322 NO_ARCH= yes do-test: @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test .include