freebsd-ports/astro/py-astLib/Makefile
Vanilla I. Shu b003a3d6bb 1: Update to 0.9.2.
2: switch to CHEESESHOP
2017-07-19 02:58:12 +00:00

31 lines
784 B
Makefile

# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= astLib
PORTVERSION= 0.9.2
CATEGORIES= astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Astronomy modules for Python
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYNUMPY} \
${PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy \
${PKGNAMEPREFIX}pillow>0:graphics/py-pillow \
${PKGNAMEPREFIX}pyfits>=1.1:astro/py-pyfits \
${PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib
RUN_DEPENDS:= ${BUILD_DEPENDS}
PORTSCOUT= skipv:0.15,0.17,0.17.1 # incorrect versioning upstream
USES= python
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/PyWCSTools/*.so
.include <bsd.port.mk>