svn commit: r369977 - head/astro/py-pyfits

Jason E. Hale jhale at FreeBSD.org
Sat Oct 4 15:58:25 UTC 2014


Author: jhale
Date: Sat Oct  4 15:58:24 2014
New Revision: 369977
URL: https://svnweb.freebsd.org/changeset/ports/369977
QAT: https://qat.redports.org/buildarchive/r369977/

Log:
  - Convert to USES=python
  - Add LICENSE

Modified:
  head/astro/py-pyfits/Makefile

Modified: head/astro/py-pyfits/Makefile
==============================================================================
--- head/astro/py-pyfits/Makefile	Sat Oct  4 15:54:54 2014	(r369976)
+++ head/astro/py-pyfits/Makefile	Sat Oct  4 15:58:24 2014	(r369977)
@@ -11,14 +11,16 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Python Interface to FITS Formatted Files
 
-BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1 \
 		${PYTHON_PKGNAMEPREFIX}stsci.distutils>=0:${PORTSDIR}/devel/py-stsci.distutils
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/numpy/core/numeric.py:${PORTSDIR}/math/py-numpy \
+RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}d2to1>=0:${PORTSDIR}/devel/py-d2to1
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
-PYDISTUTILS_AUTOPLIST=	yes
+USES=		python
+USE_PYTHON=	autoplist distutils
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list