summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-03-15 23:47:14 +0000
committertnn <tnn@pkgsrc.org>2020-03-15 23:47:14 +0000
commitb70330176bbf93834d6931101dd51e880e044ef8 (patch)
treefb85b93ac8003e58842811c9e5248cb43337d6d4 /misc
parentd6a232db0780fae7aa42c4db818aca51cfe777a8 (diff)
downloadpkgsrc-b70330176bbf93834d6931101dd51e880e044ef8.tar.gz
py-sniffio: PYTHON_VERSIONS_INCOMPATIBLE must go before pyversion.mk
Diffstat (limited to 'misc')
-rw-r--r--misc/py-sniffio/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/py-sniffio/Makefile b/misc/py-sniffio/Makefile
index f271b5ce65d..ef5ca7afffe 100644
--- a/misc/py-sniffio/Makefile
+++ b/misc/py-sniffio/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2020/01/08 20:04:27 adam Exp $
+# $NetBSD: Makefile,v 1.2 2020/03/15 23:47:14 tnn Exp $
DISTNAME= sniffio-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/python-trio/sniffio
COMMENT= Sniff out which async library your code is running under
LICENSE= mit
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 36
DEPENDS+= ${PYPKGPREFIX}-contextvars>=2.1:../../devel/py-contextvars
@@ -17,7 +19,5 @@ DEPENDS+= ${PYPKGPREFIX}-contextvars>=2.1:../../devel/py-contextvars
USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"