pkgsrc/time/py-pendulum/Makefile
adam 2a69d407f4 py-pendulum: updated to 2.0.2
2.0.2:
Fixed the weeks property for negative Period instances.
Fixed start_of() methods not setting microseconds to 0.
Fixed errors on some systems when retrieving timezone from clock files.
Fixed parsing of partial time.
Fixed parsing not raising an error for week 53 for ordinary years.
Fixed string formatting not supporting strftime format.

2.0.1:
Fixed behavior of the YY token in from_format().
Fixed errors on some systems when retrieving timezone from clock files.
2018-06-16 13:06:54 +00:00

22 lines
707 B
Makefile

# $NetBSD: Makefile,v 1.9 2018/06/16 13:06:54 adam Exp $
DISTNAME= pendulum-2.0.2
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 "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
.endif
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"