pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-curtsies



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue May  7 09:42:33 UTC 2019

Modified Files:
        pkgsrc/devel/py-curtsies: Makefile distinfo
Added Files:
        pkgsrc/devel/py-curtsies/patches: patch-setup.py

Log Message:
py-curtsies: do not require typing module for Python >= 3.5


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-curtsies/Makefile \
    pkgsrc/devel/py-curtsies/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-curtsies/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-curtsies/Makefile
diff -u pkgsrc/devel/py-curtsies/Makefile:1.2 pkgsrc/devel/py-curtsies/Makefile:1.3
--- pkgsrc/devel/py-curtsies/Makefile:1.2       Mon Feb 26 08:38:53 2018
+++ pkgsrc/devel/py-curtsies/Makefile   Tue May  7 09:42:33 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/02/26 08:38:53 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/05/07 09:42:33 adam Exp $
 
 DISTNAME=      curtsies-0.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -14,8 +14,7 @@ DEPENDS+=     ${PYPKGPREFIX}-blessings-[0-9]
 DEPENDS+=      ${PYPKGPREFIX}-wcwidth-[0-9]*:../../devel/py-wcwidth
 
 .include "../../lang/python/pyversion.mk"
-
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
 .endif
 
Index: pkgsrc/devel/py-curtsies/distinfo
diff -u pkgsrc/devel/py-curtsies/distinfo:1.2 pkgsrc/devel/py-curtsies/distinfo:1.3
--- pkgsrc/devel/py-curtsies/distinfo:1.2       Mon Feb 26 08:38:53 2018
+++ pkgsrc/devel/py-curtsies/distinfo   Tue May  7 09:42:33 2019
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2018/02/26 08:38:53 adam Exp $
+$NetBSD: distinfo,v 1.3 2019/05/07 09:42:33 adam Exp $
 
 SHA1 (curtsies-0.3.0.tar.gz) = af02c5ded913a15a3e4ae85d2ad1e04b6ce91f75
 RMD160 (curtsies-0.3.0.tar.gz) = 39fd8eb76f8e38fec3a7803659e3ae1a7cbfce2a
 SHA512 (curtsies-0.3.0.tar.gz) = b1fc09a4e9aefe09b878a5c710ef86c90f93895a8ed40b40a3c13b24a2dfc1fe771ace11c20e3fed4fcdd0bed8b9615ee3c2bcf200fa34fbfb895a4a7b57b14c
 Size (curtsies-0.3.0.tar.gz) = 47120 bytes
+SHA1 (patch-setup.py) = e6c5baecf68287ab4aab53bccff0c1180bdb5acb

Added files:

Index: pkgsrc/devel/py-curtsies/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-curtsies/patches/patch-setup.py:1.1
--- /dev/null   Tue May  7 09:42:33 2019
+++ pkgsrc/devel/py-curtsies/patches/patch-setup.py     Tue May  7 09:42:33 2019
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2019/05/07 09:42:33 adam Exp $
+
+Conditionally require "typing" module.
+
+--- setup.py.orig      2019-05-07 09:34:30.000000000 +0000
++++ setup.py
+@@ -41,7 +41,7 @@ setup(name='curtsies',
+       install_requires = [
+           'blessings>=1.5',
+           'wcwidth>=0.1.4',
+-          'typing',
++          'typing;python_version<"3.5"',
+       ],
+       tests_require = [
+           'mock',



Home | Main Index | Thread Index | Old Index