summaryrefslogtreecommitdiff
path: root/devel/py-protobuf/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-09-30 18:59:47 +0000
committeradam <adam@pkgsrc.org>2021-09-30 18:59:47 +0000
commit998d78598791659aa258f3770ab783133870ff9d (patch)
tree4efda673e8259a7d1b9bc5237d1529b6a385d0bf /devel/py-protobuf/Makefile
parent316bd87a142610c8bf850edd25ceb8e64750ba55 (diff)
downloadpkgsrc-998d78598791659aa258f3770ab783133870ff9d.tar.gz
protobuf py-protobuf: updated to 3.18.0
Protocol Buffers v3.18.0 C++ Fix warnings raised by clang 11 Make StringPiece constructible from std::string_view Add missing capability attributes for LLVM 12 Stop using std::iterator (deprecated in C++17). Move field_access_listener from libprotobuf-lite to libprotobuf Fix 7047 Safely handle setlocale Remove deprecated version of SetTotalBytesLimit() Support arena allocation of google::protobuf::AnyMetadata Fix undefined symbol error around SharedCtor() Fix default value of enum(int) in json_util with proto2 Better Smaller ByteSizeLong Introduce event filters for inject_field_listener_events Reduce memory usage of DescriptorPool For lazy fields copy serialized form when allowed. Re-introduce the InlinedStringField class v2 access listener Reduce padding in the proto's ExtensionRegistry map. GetExtension performance optimizations Make tracker a static variable rather than call static functions Support extensions in field access listener Annotate MergeFrom for field access listener Fix incomplete types for field access listener Add map_entry/new_map_entry to SpecificField in MessageDifferencer. They record the map items which are different in MessageDifferencer's reporter. Reduce binary size due to fieldless proto messages TextFormat: ParseInfoTree supports getting field end location in addition to start. Fix repeated enum extension size in field listener Enable Any Text Expansion for Descriptors::DebugString() Switch from int{8,16,32,64} to int{8,16,32,64}_t Python Drops support for 2.7 and 3.5.
Diffstat (limited to 'devel/py-protobuf/Makefile')
-rw-r--r--devel/py-protobuf/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/devel/py-protobuf/Makefile b/devel/py-protobuf/Makefile
index 274ebb70f57..b928f1cfefc 100644
--- a/devel/py-protobuf/Makefile
+++ b/devel/py-protobuf/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.43 2021/06/09 04:57:10 adam Exp $
+# $NetBSD: Makefile,v 1.44 2021/09/30 18:59:47 adam Exp $
-DISTNAME= protobuf-3.17.3
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/-python//}
+DISTNAME= protobuf-3.18.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/protobuf/}
@@ -10,13 +10,9 @@ 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
+PYTHON_VERSIONS_INCOMPATIBLE= 27
MAKE_ENV+= PROTOC=${PREFIX}/bin/protoc
PYSETUPBUILDARGS= --cpp_implementation
@@ -24,5 +20,4 @@ PYSETUPINSTALLARGS= --cpp_implementation
.include "../../devel/protobuf/buildlink3.mk"
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"