pkgsrc/time/py-cftime/Makefile
adam 5b1392701b py-cftime: updated to 1.6.3
version 1.6.3 (release tag v1.6.3rel)

* add support for formats without separators in strptime (e.g. '20200229')/
  This required removing support for > 4 digit years.
* set the c_api_binop_methods compiler directive to True to retain Cython 0.x
  behavior for arithmetic operators for Cython >= 3.0.0.
* support for python 3.12.
2023-10-30 14:15:35 +00:00

27 lines
888 B
Makefile

# $NetBSD: Makefile,v 1.13 2023/10/30 14:15:35 adam Exp $
DISTNAME= cftime-1.6.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cftime/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/Unidata/cftime
COMMENT= Time-handling functionality
LICENSE= gnu-gpl-v3
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=41.2:../../devel/py-setuptools
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
PYTHON_VERSIONS_INCOMPATIBLE= 27 38
#TEST_ENV+= PYTHONPATH=build/lib
#do-test:
# cd ${WRKSRC}/build && ${LN} -sf lib.* lib
# cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} test
.include "../../devel/py-cython/buildlink3.mk"
.include "../../lang/python/wheel.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"