pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/py-peewee py-peewee: mark as not for python 2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/da9b5aced4f8
branches:  trunk
changeset: 771274:da9b5aced4f8
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Dec 16 12:59:44 2021 +0000

description:
py-peewee: mark as not for python 2.7

Uses sphinx features that last version compatible with python 2.7 does
not provide.

diffstat:

 databases/py-peewee/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r eee0b6eaf59b -r da9b5aced4f8 databases/py-peewee/Makefile
--- a/databases/py-peewee/Makefile      Thu Dec 16 12:59:43 2021 +0000
+++ b/databases/py-peewee/Makefile      Thu Dec 16 12:59:44 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2021/12/08 16:03:48 adam Exp $
+# $NetBSD: Makefile,v 1.80 2021/12/16 12:59:44 wiz Exp $
 
 DISTNAME=      peewee-3.14.8
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -12,8 +12,9 @@
 LICENSE=       mit
 
 DEPENDS+=      ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
 
-PYTHON_VERSIONED_DEPENDENCIES= sphinx:build
+PYTHON_VERSIONS_INCOMPATIBLE=  27 # needs features from newer sphinx than python 2.7 supports
 
 MAKE_FLAGS+=   SPHINXBUILD=sphinx-build-${PYVERSSUFFIX}
 
@@ -45,5 +46,4 @@
 .include "../../devel/py-cython/buildlink3.mk"
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index