pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc *: mark as not for python 2.x



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0af5f208e5fb
branches:  trunk
changeset: 378260:0af5f208e5fb
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun May 01 09:11:49 2022 +0000

description:
*: mark as not for python 2.x

a dependency does not support python 2.x any longer

diffstat:

 filesystems/py-fs/Makefile |  15 ++++-----------
 net/py-rpyc/Makefile       |   4 +++-
 2 files changed, 7 insertions(+), 12 deletions(-)

diffs (56 lines):

diff -r f55ba0758e6b -r 0af5f208e5fb filesystems/py-fs/Makefile
--- a/filesystems/py-fs/Makefile        Sun May 01 08:10:11 2022 +0000
+++ b/filesystems/py-fs/Makefile        Sun May 01 09:11:49 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/02/07 20:57:20 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/05/01 09:11:49 wiz Exp $
 
 DISTNAME=      fs-2.4.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,6 +11,7 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-appdirs>=1.4.3:../../devel/py-appdirs
+DEPENDS+=      ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
 DEPENDS+=      ${PYPKGPREFIX}-six>=1.10:../../lang/py-six
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
@@ -18,19 +19,11 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-pyftpdlib-[0-9]*:../../net/py-pyftpdlib
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
 
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+=      ${PYPKGPREFIX}-backports.os>=0.1:../../devel/py-backports.os
-DEPENDS+=      ${PYPKGPREFIX}-enum34>=1.1.6:../../devel/py-enum34
-DEPENDS+=      ${PYPKGPREFIX}-typing>=3.6:../../devel/py-typing
-.else
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 PYSETUPTESTTARGET=     pytest
-.endif
-
-PYTHON_VERSIONED_DEPENDENCIES+=        setuptools
 
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f55ba0758e6b -r 0af5f208e5fb net/py-rpyc/Makefile
--- a/net/py-rpyc/Makefile      Sun May 01 08:10:11 2022 +0000
+++ b/net/py-rpyc/Makefile      Sun May 01 09:11:49 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 19:54:28 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/05/01 09:11:49 wiz Exp $
 
 DISTNAME=      rpyc-4.1.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -13,5 +13,7 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-plumbum>=1.6.1:../../devel/py-plumbum
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index