21d2b9e524
2.0.5: Fixed * Fixed ISO week dates not being parsed properly in from_format(). * Fixed loading of some timezones with empty posix spec. * Fixed deprecation warnings. Locales * Added RU locale.
24 lines
766 B
Makefile
24 lines
766 B
Makefile
# $NetBSD: Makefile,v 1.14 2019/07/18 11:29:30 adam Exp $
|
|
|
|
DISTNAME= pendulum-2.0.5
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= time python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pendulum/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/sdispater/pendulum
|
|
COMMENT= Human-friendly date and time handling
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.6.0:../../time/py-dateutil
|
|
DEPENDS+= ${PYPKGPREFIX}-tzdata>=2018.3:../../time/py-tzdata
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
.if ${_PYTHON_VERSION} == 27
|
|
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
|
|
# XXX: C Extensions code is only supported with Python 3
|
|
MAKE_ENV+= PENDULUM_EXTENSIONS=0
|
|
.endif
|
|
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|