aboutsummaryrefslogblamecommitdiff
path: root/astro/py-ephem/Makefile
blob: 5a0bbf8c1508bae25fc52d6b28eff3351084c8dc (plain) (tree)
1
2
3
4
5
6
7
8
9
                

                     
                       



                                       
                                   




                                                          
                           


                                   
                                                                               




                                                                
# Created by: db

PORTNAME=	ephem
PORTVERSION=	3.7.7.1
CATEGORIES=	astro math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	rhurlin@FreeBSD.org
COMMENT=	Compute positions of the planets and stars

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		python:3.6+
USE_PYTHON=	autoplist distutils

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/ephem/_libastro*.so

do-test:
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

.include <bsd.port.mk>