summaryrefslogtreecommitdiff
path: root/time/py-pendulum/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/py-pendulum/Makefile')
-rw-r--r--time/py-pendulum/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/time/py-pendulum/Makefile b/time/py-pendulum/Makefile
index 4012ba959c8..ade9a842efa 100644
--- a/time/py-pendulum/Makefile
+++ b/time/py-pendulum/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2018/08/14 15:23:51 leot Exp $
+# $NetBSD: Makefile,v 1.12 2018/11/14 10:31:58 adam Exp $
-DISTNAME= pendulum-2.0.3
+DISTNAME= pendulum-2.0.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= time python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pendulum/}
@@ -14,14 +14,12 @@ 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"
+.if ${_PYTHON_VERSION} == 27 || ${_PYTHON_VERSION} == 34
DEPENDS+= ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
.endif
-#
# XXX: C Extensions code is only supported with Python 3
-#
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
MAKE_ENV+= PENDULUM_EXTENSIONS=0
.endif