# $OpenBSD$

COMMENT=	time and date handling utility functions from netcdf4-python

MODPY_EGG_VERSION=	1.0.3.4
DISTNAME=		v${MODPY_EGG_VERSION}rel
PKGNAME=		py-cftime-${MODPY_EGG_VERSION}
CATEGORIES=		math

HOMEPAGE=		http://unidata.github.io/cftime/

MAINTAINER=		Martin Reindl <martin@catai.org>

# BSD-like, some parts GNU
PERMIT_PACKAGE_CDROM=	Yes

MASTER_SITES=	https://github.com/Unidata/cftime/archive/

WRKBUILD=	${WRKDIR}/cftime-${MODPY_EGG_VERSION}rel
WRKDIST=	${WRKBUILD}

MODPY_SETUPTOOLS=	Yes

COMPILER=	base-clang

MODULES=	lang/python

WANTLIB=	pthread ${MODPY_WANTLIB}

FLAVORS=	python3
FLAVOR?=

BUILD_DEPENDS+= lang/cython${MODPY_FLAVOR} \
                math/netcdf

RUN_DEPENDS+=   math/netcdf \

# loads python packages from inet, then runs 0 tests?
NO_TESTS=	Yes

.include <bsd.port.mk>
