pkgsrc/graphics/py-fits/Makefile
adam 80e61d96fd py-fits: updated to 3.5
3.5:
This release officially deprecates PyFITS. Please use astropy.io.fits instead.
- Importing PyFITS now gives deprecation warning.
- Documentation updates.
2018-10-07 08:51:42 +00:00

27 lines
934 B
Makefile

# $NetBSD: Makefile,v 1.7 2018/10/07 08:51:42 adam Exp $
DISTNAME= pyfits-3.5
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyfits/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= http://www.stsci.edu/resources/software_hardware/pyfits
COMMENT= Python module for reading, writing, and manipulating FITS files
LICENSE= modified-bsd
BUILD_DEPENDS+= ${PYPKGPREFIX}-d2to1>=0.2.12:../../devel/py-d2to1
BUILD_DEPENDS+= ${PYPKGPREFIX}-stsci.distutils>=0.3:../../devel/py-stsci.distutils
REPLACE_PYTHON= lib/pyfits/core.py
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} fitscheck fitscheck-${PYVERSSUFFIX} && \
${MV} fitsdiff fitsdiff-${PYVERSSUFFIX} && \
${MV} fitshead fitshead-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"