File:  [cvs.NetBSD.org] / pkgsrc / math / py-ephem3 / Attic / Makefile
Revision 1.3: download - view: text, annotated - select for diffs
Wed Jun 8 17:43:34 2016 UTC (8 years, 5 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, HEAD
Switch to MASTER_SITES_PYPI.

# $NetBSD: Makefile,v 1.3 2016/06/08 17:43:34 wiz Exp $

DISTNAME=	ephem-3.7.5.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/pyephem/ephem/}
CATEGORIES=	geography math
MASTER_SITES=	${MASTER_SITE_PYPI:=e/ephem/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://pypi.python.org/pypi/ephem/
COMMENT=	Scientific-grade astronomical computations for Python
LICENSE=	gnu-lgpl-v3 OR gnu-gpl-v3

do-test:
	(cd ${WRKSRC}/${PYSETUPSUBDIR} && ${SETENV} ${TEST_ENV} ${MAKE_ENV} \
	 ${PYTHONBIN} ${PYSETUP} ${PYSETUPARGS} "test")

PYTHON_VERSIONS_INCOMPATIBLE=	27

REPLACE_PYTHON+=	src/ephem/tests/test_angles.py
REPLACE_PYTHON+=	src/ephem/tests/test_bodies.py
REPLACE_PYTHON+=	src/ephem/tests/test_cities.py
REPLACE_PYTHON+=	src/ephem/tests/test_constants.py
REPLACE_PYTHON+=	src/ephem/tests/test_dates.py
REPLACE_PYTHON+=	src/ephem/tests/test_jpl.py
REPLACE_PYTHON+=	src/ephem/tests/test_launchpad_236872.py
REPLACE_PYTHON+=	src/ephem/tests/test_launchpad_244811.py
REPLACE_PYTHON+=	src/ephem/tests/test_locales.py
REPLACE_PYTHON+=	src/ephem/tests/test_observers.py
REPLACE_PYTHON+=	src/ephem/tests/test_rst.py
REPLACE_PYTHON+=	src/ephem/tests/test_stars.py
REPLACE_PYTHON+=	src/ephem/tests/test_usno.py
REPLACE_PYTHON+=	src/ephem/tests/test_usno_equinoxes.py

.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>