pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Mark all py-dulwich users as being python 3 only, it d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/90afda5fb83c
branches:  trunk
changeset: 445151:90afda5fb83c
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Jan 16 20:21:40 2021 +0000

description:
Mark all py-dulwich users as being python 3 only, it dropped python 2.

net/Radicale would have been problematic if py-ldap was still py2 only,
but it doesn't appear to be.

pointed out by adam, thanks.

diffstat:

 devel/py-dulwich/Makefile |  4 +++-
 devel/py-hg-git/Makefile  |  4 +++-
 net/Radicale/options.mk   |  4 ++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 1b287965c7ad -r 90afda5fb83c devel/py-dulwich/Makefile
--- a/devel/py-dulwich/Makefile Sat Jan 16 19:59:13 2021 +0000
+++ b/devel/py-dulwich/Makefile Sat Jan 16 20:21:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2021/01/16 15:06:08 maya Exp $
+# $NetBSD: Makefile,v 1.38 2021/01/16 20:21:40 maya Exp $
 
 DISTNAME=      dulwich-0.20.15
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -17,6 +17,8 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-geventhttpclient-[0-9]*:../../net/py-geventhttpclient
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} dul-receive-pack dul-receive-pack-${PYVERSSUFFIX} && \
diff -r 1b287965c7ad -r 90afda5fb83c devel/py-hg-git/Makefile
--- a/devel/py-hg-git/Makefile  Sat Jan 16 19:59:13 2021 +0000
+++ b/devel/py-hg-git/Makefile  Sat Jan 16 20:21:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2021/01/16 15:15:30 maya Exp $
+# $NetBSD: Makefile,v 1.16 2021/01/16 20:21:40 maya Exp $
 
 PKGVERSION=    0.9.0
 DISTNAME=      hg-git-${PKGVERSION}
@@ -16,6 +16,8 @@
 
 USE_LANGUAGES= # none
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
 EGG_NAME=      hg_git-${DISTNAME}
 
 .include "../../lang/python/egg.mk"
diff -r 1b287965c7ad -r 90afda5fb83c net/Radicale/options.mk
--- a/net/Radicale/options.mk   Sat Jan 16 19:59:13 2021 +0000
+++ b/net/Radicale/options.mk   Sat Jan 16 20:21:40 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2019/11/03 11:45:29 rillig Exp $
+# $NetBSD: options.mk,v 1.11 2021/01/16 20:21:40 maya Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.Radicale
 PKG_SUPPORTED_OPTIONS= git ldap
@@ -6,10 +6,10 @@
 .include "../../mk/bsd.options.mk"
 
 .if !empty(PKG_OPTIONS:Mgit)
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 DEPENDS+=      ${PYPKGPREFIX}-dulwich-[0-9]*:../../devel/py-dulwich
 .endif
 
 .if !empty(PKG_OPTIONS:Mldap)
-PYTHON_VERSIONS_ACCEPTED= 27 # py-ldap
 DEPENDS+=      ${PYPKGPREFIX}-ldap-[0-9]*:../../databases/py-ldap
 .endif



Home | Main Index | Thread Index | Old Index