summaryrefslogtreecommitdiff
path: root/devel/py-protobuf
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-08-31 23:07:00 +0000
committerwiz <wiz@pkgsrc.org>2020-08-31 23:07:00 +0000
commit1342ea5d4e9f75a100fcde155396a6b634d2db7a (patch)
tree95091f0e1c112f56d844f0d6a7a55d9882abee3e /devel/py-protobuf
parent7558ec01e87a54e7540aa0ca86781793741ee6a7 (diff)
downloadpkgsrc-1342ea5d4e9f75a100fcde155396a6b634d2db7a.tar.gz
*: switch to versioned_dependencies.mk for py-setuptools
Diffstat (limited to 'devel/py-protobuf')
-rw-r--r--devel/py-protobuf/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/py-protobuf/Makefile b/devel/py-protobuf/Makefile
index 83d71f5e0ba..4882d8be478 100644
--- a/devel/py-protobuf/Makefile
+++ b/devel/py-protobuf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2020/08/21 11:29:18 adam Exp $
+# $NetBSD: Makefile,v 1.32 2020/08/31 23:07:02 wiz Exp $
DISTNAME= protobuf-3.13.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
@@ -11,16 +11,18 @@ COMMENT= Python bindings for protobuf
LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-six>=1.9:../../lang/py-six
TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0.32.0:../../devel/py-wheel
USE_LANGUAGES+= c c++11
+PYTHON_VERSIONED_DEPENDENCIES+= setuptools
+
MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc
PYSETUPBUILDARGS= --cpp_implementation
PYSETUPINSTALLARGS= --cpp_implementation
.include "../../devel/protobuf/buildlink3.mk"
.include "../../lang/python/egg.mk"
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"