Use PYTHON_VERSIONED_DEPENDENCIES for py-dns support.

Adds support for building this with python-3.x.
This commit is contained in:
wiz 2016-06-26 20:10:23 +00:00
parent f1ff8c071a
commit 90c7edfe62

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2016/06/08 17:43:34 wiz Exp $
# $NetBSD: Makefile,v 1.7 2016/06/26 20:10:23 wiz Exp $
VERSION= 2.0.8
DISTNAME= pyspf-${VERSION}
@ -11,9 +11,7 @@ HOMEPAGE= https://pypi.python.org/pypi/pyspf
COMMENT= Python implementation of the RFC 4408 SPF protocol
LICENSE= python-software-foundation
DEPENDS+= ${PYPKGPREFIX}-dns>=0:../../net/py-dns
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-dns
PYTHON_VERSIONED_DEPENDENCIES+= dns
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"