aboutsummaryrefslogtreecommitdiffstats
path: root/astro/py-astLib/Makefile
blob: 31eb252d4bfa78c0585c9973268a4bd8e764e2ef (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
# Created by: Wen Heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   astLib
PORTVERSION=    0.10.1
CATEGORIES= astro python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Astronomy modules for Python

LICENSE=    LGPL21
LICENSE_FILE=   ${WRKSRC}/LICENSE

RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}astropy>=1.1:astro/py-astropy@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}matplotlib>=0.98:math/py-matplotlib@${PY_FLAVOR} \
        ${PYNUMPY} \
        ${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
        ${PYTHON_PKGNAMEPREFIX}scipy>=0.7.0:science/py-scipy@${PY_FLAVOR}

PORTSCOUT=  skipv:0.15,0.17,0.17.1 # incorrect versioning upstream

USES=       python
USE_PYTHON= autoplist concurrent distutils

post-install:
    ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/PyWCSTools/*.so

.include <bsd.port.mk>