pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Copy over latest devel/py-protobuf for update



Module Name:	pkgsrc-wip
Committed By:	Benny Siegert <bsiegert%NetBSD.org@localhost>
Pushed By:	bsiegert
Date:		Sun Jul 16 20:53:08 2023 +0200
Changeset:	1a1ee13290b688648025303061a9e1084da9751b

Modified Files:
	Makefile
Added Files:
	py-protobuf/DESCR
	py-protobuf/Makefile
	py-protobuf/PLIST
	py-protobuf/distinfo

Log Message:
Copy over latest devel/py-protobuf for update

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1a1ee13290b688648025303061a9e1084da9751b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile             |   1 +
 py-protobuf/DESCR    |   5 ++
 py-protobuf/Makefile |  33 ++++++++++++
 py-protobuf/PLIST    | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++
 py-protobuf/distinfo |   5 ++
 5 files changed, 191 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 6cd03c87a9..06555eed44 100644
--- a/Makefile
+++ b/Makefile
@@ -4329,6 +4329,7 @@ SUBDIR+=	py-projectq
 SUBDIR+=	py-promise
 SUBDIR+=	py-property-manager
 SUBDIR+=	py-propyte
+SUBDIR+=	py-protobuf
 SUBDIR+=	py-proxy_tools
 SUBDIR+=	py-psamm
 SUBDIR+=	py-pseudopy
diff --git a/py-protobuf/DESCR b/py-protobuf/DESCR
new file mode 100644
index 0000000000..47afc5b43c
--- /dev/null
+++ b/py-protobuf/DESCR
@@ -0,0 +1,5 @@
+Protocol Buffers are a way of encoding structured data in an efficient yet
+extensible format. Google uses Protocol Buffers for almost all of its internal
+RPC protocols and file formats.
+
+This package contains Python bindings for the Protocol Buffers.
diff --git a/py-protobuf/Makefile b/py-protobuf/Makefile
new file mode 100644
index 0000000000..ff0e8bf477
--- /dev/null
+++ b/py-protobuf/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.65 2023/03/29 09:34:09 wiz Exp $
+
+DISTNAME=	protobuf-4.21.12
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/protobuf/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://developers.google.com/protocol-buffers/
+COMMENT=	Python bindings for protobuf
+LICENSE=	modified-bsd
+
+USE_LANGUAGES+=	c c++11
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+MAKE_ENV+=	PROTOC=${PREFIX}/bin/protoc
+PLIST_VARS+=	cpp
+
+.include "../../lang/python/pyversion.mk"
+
+.if ${PYTHON_VERSION} < 311
+# As of 4.21.9, the sources do contain outdated code that only supports Python < 3.11
+# https://github.com/protocolbuffers/protobuf/issues/11031#issuecomment-1321390551
+# Do not use C++ implementation for Python 3.11.
+PYSETUPBUILDARGS=	--cpp_implementation
+PYSETUPINSTALLARGS=	--cpp_implementation
+PLIST.cpp=		yes
+.include "../../devel/protobuf/buildlink3.mk"
+.endif
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-protobuf/PLIST b/py-protobuf/PLIST
new file mode 100644
index 0000000000..5b9a5c123f
--- /dev/null
+++ b/py-protobuf/PLIST
@@ -0,0 +1,147 @@
+@comment $NetBSD: PLIST,v 1.19 2022/12/04 17:38:45 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
+${PYSITELIB}/google/protobuf/__init__.py
+${PYSITELIB}/google/protobuf/__init__.pyc
+${PYSITELIB}/google/protobuf/__init__.pyo
+${PYSITELIB}/google/protobuf/any_pb2.py
+${PYSITELIB}/google/protobuf/any_pb2.pyc
+${PYSITELIB}/google/protobuf/any_pb2.pyo
+${PYSITELIB}/google/protobuf/api_pb2.py
+${PYSITELIB}/google/protobuf/api_pb2.pyc
+${PYSITELIB}/google/protobuf/api_pb2.pyo
+${PYSITELIB}/google/protobuf/compiler/__init__.py
+${PYSITELIB}/google/protobuf/compiler/__init__.pyc
+${PYSITELIB}/google/protobuf/compiler/__init__.pyo
+${PYSITELIB}/google/protobuf/compiler/plugin_pb2.py
+${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyc
+${PYSITELIB}/google/protobuf/compiler/plugin_pb2.pyo
+${PYSITELIB}/google/protobuf/descriptor.py
+${PYSITELIB}/google/protobuf/descriptor.pyc
+${PYSITELIB}/google/protobuf/descriptor.pyo
+${PYSITELIB}/google/protobuf/descriptor_database.py
+${PYSITELIB}/google/protobuf/descriptor_database.pyc
+${PYSITELIB}/google/protobuf/descriptor_database.pyo
+${PYSITELIB}/google/protobuf/descriptor_pb2.py
+${PYSITELIB}/google/protobuf/descriptor_pb2.pyc
+${PYSITELIB}/google/protobuf/descriptor_pb2.pyo
+${PYSITELIB}/google/protobuf/descriptor_pool.py
+${PYSITELIB}/google/protobuf/descriptor_pool.pyc
+${PYSITELIB}/google/protobuf/descriptor_pool.pyo
+${PYSITELIB}/google/protobuf/duration_pb2.py
+${PYSITELIB}/google/protobuf/duration_pb2.pyc
+${PYSITELIB}/google/protobuf/duration_pb2.pyo
+${PYSITELIB}/google/protobuf/empty_pb2.py
+${PYSITELIB}/google/protobuf/empty_pb2.pyc
+${PYSITELIB}/google/protobuf/empty_pb2.pyo
+${PYSITELIB}/google/protobuf/field_mask_pb2.py
+${PYSITELIB}/google/protobuf/field_mask_pb2.pyc
+${PYSITELIB}/google/protobuf/field_mask_pb2.pyo
+${PYSITELIB}/google/protobuf/internal/__init__.py
+${PYSITELIB}/google/protobuf/internal/__init__.pyc
+${PYSITELIB}/google/protobuf/internal/__init__.pyo
+${PLIST.cpp}${PYSITELIB}/google/protobuf/internal/_api_implementation.so
+${PYSITELIB}/google/protobuf/internal/api_implementation.py
+${PYSITELIB}/google/protobuf/internal/api_implementation.pyc
+${PYSITELIB}/google/protobuf/internal/api_implementation.pyo
+${PYSITELIB}/google/protobuf/internal/builder.py
+${PYSITELIB}/google/protobuf/internal/builder.pyc
+${PYSITELIB}/google/protobuf/internal/builder.pyo
+${PYSITELIB}/google/protobuf/internal/containers.py
+${PYSITELIB}/google/protobuf/internal/containers.pyc
+${PYSITELIB}/google/protobuf/internal/containers.pyo
+${PYSITELIB}/google/protobuf/internal/decoder.py
+${PYSITELIB}/google/protobuf/internal/decoder.pyc
+${PYSITELIB}/google/protobuf/internal/decoder.pyo
+${PYSITELIB}/google/protobuf/internal/encoder.py
+${PYSITELIB}/google/protobuf/internal/encoder.pyc
+${PYSITELIB}/google/protobuf/internal/encoder.pyo
+${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.py
+${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyc
+${PYSITELIB}/google/protobuf/internal/enum_type_wrapper.pyo
+${PYSITELIB}/google/protobuf/internal/extension_dict.py
+${PYSITELIB}/google/protobuf/internal/extension_dict.pyc
+${PYSITELIB}/google/protobuf/internal/extension_dict.pyo
+${PYSITELIB}/google/protobuf/internal/message_listener.py
+${PYSITELIB}/google/protobuf/internal/message_listener.pyc
+${PYSITELIB}/google/protobuf/internal/message_listener.pyo
+${PYSITELIB}/google/protobuf/internal/python_message.py
+${PYSITELIB}/google/protobuf/internal/python_message.pyc
+${PYSITELIB}/google/protobuf/internal/python_message.pyo
+${PYSITELIB}/google/protobuf/internal/type_checkers.py
+${PYSITELIB}/google/protobuf/internal/type_checkers.pyc
+${PYSITELIB}/google/protobuf/internal/type_checkers.pyo
+${PYSITELIB}/google/protobuf/internal/well_known_types.py
+${PYSITELIB}/google/protobuf/internal/well_known_types.pyc
+${PYSITELIB}/google/protobuf/internal/well_known_types.pyo
+${PYSITELIB}/google/protobuf/internal/wire_format.py
+${PYSITELIB}/google/protobuf/internal/wire_format.pyc
+${PYSITELIB}/google/protobuf/internal/wire_format.pyo
+${PYSITELIB}/google/protobuf/json_format.py
+${PYSITELIB}/google/protobuf/json_format.pyc
+${PYSITELIB}/google/protobuf/json_format.pyo
+${PYSITELIB}/google/protobuf/message.py
+${PYSITELIB}/google/protobuf/message.pyc
+${PYSITELIB}/google/protobuf/message.pyo
+${PYSITELIB}/google/protobuf/message_factory.py
+${PYSITELIB}/google/protobuf/message_factory.pyc
+${PYSITELIB}/google/protobuf/message_factory.pyo
+${PYSITELIB}/google/protobuf/proto_builder.py
+${PYSITELIB}/google/protobuf/proto_builder.pyc
+${PYSITELIB}/google/protobuf/proto_builder.pyo
+${PYSITELIB}/google/protobuf/pyext/__init__.py
+${PYSITELIB}/google/protobuf/pyext/__init__.pyc
+${PYSITELIB}/google/protobuf/pyext/__init__.pyo
+${PLIST.cpp}${PYSITELIB}/google/protobuf/pyext/_message.so
+${PYSITELIB}/google/protobuf/pyext/cpp_message.py
+${PYSITELIB}/google/protobuf/pyext/cpp_message.pyc
+${PYSITELIB}/google/protobuf/pyext/cpp_message.pyo
+${PYSITELIB}/google/protobuf/reflection.py
+${PYSITELIB}/google/protobuf/reflection.pyc
+${PYSITELIB}/google/protobuf/reflection.pyo
+${PYSITELIB}/google/protobuf/service.py
+${PYSITELIB}/google/protobuf/service.pyc
+${PYSITELIB}/google/protobuf/service.pyo
+${PYSITELIB}/google/protobuf/service_reflection.py
+${PYSITELIB}/google/protobuf/service_reflection.pyc
+${PYSITELIB}/google/protobuf/service_reflection.pyo
+${PYSITELIB}/google/protobuf/source_context_pb2.py
+${PYSITELIB}/google/protobuf/source_context_pb2.pyc
+${PYSITELIB}/google/protobuf/source_context_pb2.pyo
+${PYSITELIB}/google/protobuf/struct_pb2.py
+${PYSITELIB}/google/protobuf/struct_pb2.pyc
+${PYSITELIB}/google/protobuf/struct_pb2.pyo
+${PYSITELIB}/google/protobuf/symbol_database.py
+${PYSITELIB}/google/protobuf/symbol_database.pyc
+${PYSITELIB}/google/protobuf/symbol_database.pyo
+${PYSITELIB}/google/protobuf/text_encoding.py
+${PYSITELIB}/google/protobuf/text_encoding.pyc
+${PYSITELIB}/google/protobuf/text_encoding.pyo
+${PYSITELIB}/google/protobuf/text_format.py
+${PYSITELIB}/google/protobuf/text_format.pyc
+${PYSITELIB}/google/protobuf/text_format.pyo
+${PYSITELIB}/google/protobuf/timestamp_pb2.py
+${PYSITELIB}/google/protobuf/timestamp_pb2.pyc
+${PYSITELIB}/google/protobuf/timestamp_pb2.pyo
+${PYSITELIB}/google/protobuf/type_pb2.py
+${PYSITELIB}/google/protobuf/type_pb2.pyc
+${PYSITELIB}/google/protobuf/type_pb2.pyo
+${PYSITELIB}/google/protobuf/unknown_fields.py
+${PYSITELIB}/google/protobuf/unknown_fields.pyc
+${PYSITELIB}/google/protobuf/unknown_fields.pyo
+${PYSITELIB}/google/protobuf/util/__init__.py
+${PYSITELIB}/google/protobuf/util/__init__.pyc
+${PYSITELIB}/google/protobuf/util/__init__.pyo
+${PYSITELIB}/google/protobuf/util/json_format_pb2.py
+${PYSITELIB}/google/protobuf/util/json_format_pb2.pyc
+${PYSITELIB}/google/protobuf/util/json_format_pb2.pyo
+${PYSITELIB}/google/protobuf/util/json_format_proto3_pb2.py
+${PYSITELIB}/google/protobuf/util/json_format_proto3_pb2.pyc
+${PYSITELIB}/google/protobuf/util/json_format_proto3_pb2.pyo
+${PYSITELIB}/google/protobuf/wrappers_pb2.py
+${PYSITELIB}/google/protobuf/wrappers_pb2.pyc
+${PYSITELIB}/google/protobuf/wrappers_pb2.pyo
diff --git a/py-protobuf/distinfo b/py-protobuf/distinfo
new file mode 100644
index 0000000000..db05055ce1
--- /dev/null
+++ b/py-protobuf/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.60 2022/12/16 10:22:57 adam Exp $
+
+BLAKE2s (protobuf-4.21.12.tar.gz) = feed257cc7349da49ba4a63c1b8e5cbb9cb80aae36cd258ad7694732bf43fd9e
+SHA512 (protobuf-4.21.12.tar.gz) = 9e7a9b126e58b8fa16d6c79450cc1e52740df2ab7253c141b2d8e00f3804ba691ee3be18f15aadcc39d56f40a9b1d167a7183a9cec8e68c1ff7f1c4b14ebf9e0
+Size (protobuf-4.21.12.tar.gz) = 220324 bytes


Home | Main Index | Thread Index | Old Index