[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-protobuf

File: [cvs.NetBSD.org] / pkgsrc / devel / py-protobuf / Makefile (download)

Revision 1.33, Sat Nov 14 14:08:16 2020 UTC (2 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, HEAD
Changes since 1.32: +2 -2 lines

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

# $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"