pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc *: fix == vs. != confusion



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2d368816ebb9
branches:  trunk
changeset: 379157:2d368816ebb9
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu May 12 08:20:36 2022 +0000

description:
*: fix == vs. != confusion

Reported by adam

diffstat:

 devel/py-babel/Makefile           |  4 ++--
 devel/py-cached-property/Makefile |  4 ++--
 time/py-dateutil/Makefile         |  4 ++--
 time/py-tempora/Makefile          |  4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diffs (72 lines):

diff -r 09bc167d2fc5 -r 2d368816ebb9 devel/py-babel/Makefile
--- a/devel/py-babel/Makefile   Thu May 12 08:17:53 2022 +0000
+++ b/devel/py-babel/Makefile   Thu May 12 08:20:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2022/05/12 08:05:28 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2022/05/12 08:20:36 wiz Exp $
 
 DISTNAME=      Babel-2.9.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -17,7 +17,7 @@
 
 .include "../../lang/python/pyversion.mk"
 
-.if ${_PYTHON_VERSION} == 27
+.if ${_PYTHON_VERSION} != 27
 # freezegun is only available for python 3
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
 .endif
diff -r 09bc167d2fc5 -r 2d368816ebb9 devel/py-cached-property/Makefile
--- a/devel/py-cached-property/Makefile Thu May 12 08:17:53 2022 +0000
+++ b/devel/py-cached-property/Makefile Thu May 12 08:20:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/05/12 08:05:28 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/05/12 08:20:36 wiz Exp $
 
 DISTNAME=      cached-property-1.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,7 +13,7 @@
 
 .include "../../lang/python/pyversion.mk"
 
-.if ${_PYTHON_VERSION} == 27
+.if ${_PYTHON_VERSION} != 27
 # freezegun is only available for python 3
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
 .endif
diff -r 09bc167d2fc5 -r 2d368816ebb9 time/py-dateutil/Makefile
--- a/time/py-dateutil/Makefile Thu May 12 08:17:53 2022 +0000
+++ b/time/py-dateutil/Makefile Thu May 12 08:20:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2022/05/12 08:05:28 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2022/05/12 08:20:36 wiz Exp $
 
 DISTNAME=      python-dateutil-2.8.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
@@ -15,7 +15,7 @@
 
 .include "../../lang/python/pyversion.mk"
 
-.if ${_PYTHON_VERSION} == 27
+.if ${_PYTHON_VERSION} != 27
 # freezegun is only available for python 3
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
 .endif
diff -r 09bc167d2fc5 -r 2d368816ebb9 time/py-tempora/Makefile
--- a/time/py-tempora/Makefile  Thu May 12 08:17:53 2022 +0000
+++ b/time/py-tempora/Makefile  Thu May 12 08:20:36 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/05/12 08:05:28 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2022/05/12 08:20:36 wiz Exp $
 
 DISTNAME=      tempora-1.14.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -22,7 +22,7 @@
 
 .include "../../lang/python/pyversion.mk"
 
-.if ${_PYTHON_VERSION} == 27
+.if ${_PYTHON_VERSION} != 27
 # freezegun is only available for python 3
 TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
 .endif



Home | Main Index | Thread Index | Old Index