pkgsrc/devel/py-protobuf/Makefile
adam 5602473615 py-protobuf: updated to 3.14.0
Protocol Buffers v3.14.0

Python

Print google.protobuf.NullValue as null instead of "NULL_VALUE" when it is
used outside WKT Value/Struct.
Fix bug occurring when attempting to deep copy an enum type in python 3.
Add a setuptools extension for generating Python protobufs
Remove uses of pkg_resources in non-namespace packages.
[bazel/py] Omit google/init.py from the Protobuf runtime.
Removed the unnecessary setuptools package dependency for Python package
Fix PyUnknownFields memory leak
2020-11-14 14:08:16 +00:00

28 lines
897 B
Makefile

# $NetBSD: Makefile,v 1.33 2020/11/14 14:08:16 adam Exp $
DISTNAME= protobuf-3.14.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://developers.google.com/protocol-buffers/
COMMENT= Python bindings for protobuf
LICENSE= modified-bsd
TOOL_DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip
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"