aboutsummaryrefslogtreecommitdiffstats
path: root/astro/py-astLib/Makefile
blob: fcdbb24faa717b936ff79dd8a0fe7ded7f5ea3f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   astLib
PORTVERSION=    0.8.0
PORTREVISION=   1
CATEGORIES= astro python
MASTER_SITES=   SF
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:${PORTSDIR}/science/py-scipy \
        ${PKGNAMEPREFIX}pillow>0:${PORTSDIR}/graphics/py-pillow \
        ${PKGNAMEPREFIX}pyfits>=1.1:${PORTSDIR}/astro/py-pyfits \
        ${PKGNAMEPREFIX}matplotlib>=0.98:${PORTSDIR}/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>