pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Forget about Python 3.4



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d4e3e49cef6e
branches:  trunk
changeset: 323024:d4e3e49cef6e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 02 09:27:09 2019 +0000

description:
Forget about Python 3.4

diffstat:

 devel/py-line_profiler/Makefile               |  10 ++--------
 devel/py-line_profiler/PLIST                  |   6 +++---
 textproc/py-sphinx-autodoc-typehints/Makefile |   7 +------
 textproc/py-sphinx/Makefile                   |   4 ++--
 www/py-tornado/Makefile                       |  10 ++++------
 5 files changed, 12 insertions(+), 25 deletions(-)

diffs (110 lines):

diff -r 26748d7e15b7 -r d4e3e49cef6e devel/py-line_profiler/Makefile
--- a/devel/py-line_profiler/Makefile   Thu May 02 09:18:28 2019 +0000
+++ b/devel/py-line_profiler/Makefile   Thu May 02 09:27:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/08/07 16:45:10 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2019/05/02 09:27:09 adam Exp $
 
 DISTNAME=      line_profiler-2.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -19,13 +19,7 @@
 PYTHON_VERSIONED_DEPENDENCIES= ipython
 
 .include "../../lang/python/pyversion.mk"
-
-PLIST_VARS+=   py35
-.if "${PYPKGPREFIX}" != "py27" && "${PYPKGPREFIX}" != "py34"
-PLIST.py35=    yes
-.endif
-
-.if "${PYPKGPREFIX}" == "py37"
+.if ${_PYTHON_VERSION} == 37
 # Regenerate _line_profiler.c with recent cython
 BUILDLINK_DEPMETHOD.py-cython= build
 .include "../../devel/py-cython/buildlink3.mk"
diff -r 26748d7e15b7 -r d4e3e49cef6e devel/py-line_profiler/PLIST
--- a/devel/py-line_profiler/PLIST      Thu May 02 09:18:28 2019 +0000
+++ b/devel/py-line_profiler/PLIST      Thu May 02 09:27:09 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/01/31 13:42:32 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/05/02 09:27:09 adam Exp $
 bin/kernprof${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -14,5 +14,5 @@
 ${PYSITELIB}/line_profiler.pyc
 ${PYSITELIB}/line_profiler.pyo
 ${PLIST.py3x}${PYSITELIB}/line_profiler_py35.py
-${PLIST.py35}${PYSITELIB}/line_profiler_py35.pyc
-${PLIST.py35}${PYSITELIB}/line_profiler_py35.pyo
+${PLIST.py3x}${PYSITELIB}/line_profiler_py35.pyc
+${PLIST.py3x}${PYSITELIB}/line_profiler_py35.pyo
diff -r 26748d7e15b7 -r d4e3e49cef6e textproc/py-sphinx-autodoc-typehints/Makefile
--- a/textproc/py-sphinx-autodoc-typehints/Makefile     Thu May 02 09:18:28 2019 +0000
+++ b/textproc/py-sphinx-autodoc-typehints/Makefile     Thu May 02 09:27:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2018/09/27 22:38:59 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2019/05/02 09:27:09 adam Exp $
 
 DISTNAME=      sphinx-autodoc-typehints-1.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,10 +18,5 @@
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py34"
-DEPENDS+=      ${PYPKGPREFIX}-typing>=3.5:../../devel/py-typing
-.endif
-
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 26748d7e15b7 -r d4e3e49cef6e textproc/py-sphinx/Makefile
--- a/textproc/py-sphinx/Makefile       Thu May 02 09:18:28 2019 +0000
+++ b/textproc/py-sphinx/Makefile       Thu May 02 09:27:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2019/03/10 13:36:02 adam Exp $
+# $NetBSD: Makefile,v 1.63 2019/05/02 09:27:09 adam Exp $
 
 DISTNAME=      Sphinx-1.8.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -24,7 +24,7 @@
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.5:../../lang/py-six
 
 .include "../../lang/python/pyversion.mk"
-.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
+.if ${_PYTHON_VERSION} == 27
 DEPENDS+=      ${PYPKGPREFIX}-typing-[0-9]*:../../devel/py-typing
 .endif
 
diff -r 26748d7e15b7 -r d4e3e49cef6e www/py-tornado/Makefile
--- a/www/py-tornado/Makefile   Thu May 02 09:18:28 2019 +0000
+++ b/www/py-tornado/Makefile   Thu May 02 09:27:09 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2018/09/17 10:15:39 adam Exp $
+# $NetBSD: Makefile,v 1.28 2019/05/02 09:27:09 adam Exp $
 
 DISTNAME=      tornado-5.1.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,18 +18,16 @@
 REPLACE_PYTHON+=       tornado/test/*.py
 
 do-test:
-       ${RUN}cd ${WRKSRC}; ${PYTHONBIN} -m tornado.test.runtests
+       cd ${WRKSRC} && ${PYTHONBIN} -m tornado.test.runtests
 
 .include "../../lang/python/pyversion.mk"
 
 PLIST_VARS+=   requires
-.if "${PYPKGPREFIX}" == "py27"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+=      ${PYPKGPREFIX}-backports_abc>=0.4:../../devel/py-backports_abc
 DEPENDS+=      ${PYPKGPREFIX}-backports.ssl_match_hostname-[0-9]*:../../security/py-backports.ssl_match_hostname
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-singledispatch>0:../../devel/py-singledispatch
-.endif
-.if "${PYPKGPREFIX}" == "py27" || "${PYPKGPREFIX}" == "py34"
-DEPENDS+=      ${PYPKGPREFIX}-backports_abc>=0.4:../../devel/py-backports_abc
 PLIST.requires=        yes
 .endif
 



Home | Main Index | Thread Index | Old Index