-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[script.module.protobuf] 4.23.2 (#2464)
- Loading branch information
1 parent
e29c2d1
commit 2423980
Showing
54 changed files
with
17,258 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
__pycache__ | ||
*.egg-info/ | ||
*.dist-info/ | ||
*.so | ||
.task/ | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
This license applies to all parts of Protocol Buffers except the following: | ||
|
||
- Atomicops support for generic gcc, located in | ||
src/google/protobuf/stubs/atomicops_internals_generic_gcc.h. | ||
This file is copyrighted by Red Hat Inc. | ||
|
||
- Atomicops support for AIX/POWER, located in | ||
src/google/protobuf/stubs/atomicops_internals_power.h. | ||
This file is copyrighted by Bloomberg Finance LP. | ||
|
||
Copyright 2014, Google Inc. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are | ||
met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following disclaimer | ||
in the documentation and/or other materials provided with the | ||
distribution. | ||
* Neither the name of Google Inc. nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
Code generated by the Protocol Buffer compiler is owned by the owner | ||
of the input file used when generating it. This code is not | ||
standalone and requires a support library to be linked with it. This | ||
support library is itself covered by the above license. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# script.module.protobuf | ||
|
||
Kodi package of the Google Protobuf library. | ||
|
||
For more information view the Protobuf documentation at: https://developers.google.com/protocol-buffers/ | ||
Or the source at: https://github.com/google/protobuf | ||
|
||
In case any issues are found, feel free to open an issue or pull request at | ||
https://github.com/sanzoghenzo/kodi-protobuf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
version: "3" | ||
|
||
vars: | ||
# TODO: read name and version from addon.xml | ||
PACKAGE_NAME: protobuf | ||
VERSION: 4.23.2 | ||
DIST_PATH: "resources/lib" | ||
|
||
tasks: | ||
install:package: | ||
label: 'install:{{.PACKAGE_NAME}}' | ||
vars: | ||
PACKAGE_NAME: '{{.PACKAGE_NAME}}' | ||
COMMAND_NAME: '{{default .PACKAGE_NAME .COMMAND_NAME}}' | ||
cmds: | ||
- "pip install {{.PACKAGE_NAME}}" | ||
status: | ||
- 'command -v {{.COMMAND_NAME}}' | ||
|
||
install:addon-check: | ||
cmds: | ||
- task: install:package | ||
vars: | ||
PACKAGE_NAME: kodi-addon-checker | ||
|
||
clean: | ||
cmds: | ||
- "rm -rf {{.DIST_PATH}}" | ||
|
||
download: | ||
cmds: | ||
- "mkdir -p {{.DIST_PATH}}" | ||
- "pip install --ignore-installed --target {{.DIST_PATH}} {{.PACKAGE_NAME}}=={{.VERSION}}" | ||
generates: | ||
- "{{.DIST_PATH}}/**/*.py" | ||
|
||
fix-mode: | ||
cmds: | ||
- "find {{.DIST_PATH}} -type f -print0 | xargs -0 chmod 644" | ||
|
||
dist: | ||
deps: | ||
- download | ||
- fix-mode | ||
cmds: | ||
- "touch {{.DIST_PATH}}/google/__init__.py" | ||
- "rm -rf {{.DIST_PATH}}/*.dist-info" | ||
|
||
lint: | ||
deps: | ||
- install:addon-check | ||
cmds: | ||
- kodi-addon-checker . --branch nexus | ||
|
||
default: | ||
- task: dist | ||
- task: lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="script.module.protobuf" | ||
name="protobuf" | ||
version="4.23.2" | ||
provider-name="Andrea Ghensi"> | ||
<requires> | ||
<import addon="xbmc.python" version="3.0.1"/> | ||
</requires> | ||
<extension point="xbmc.python.module" library="resources/lib" /> | ||
<extension point="xbmc.addon.metadata"> | ||
<summary lang="en">Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.</summary> | ||
<description lang="en">Packed for KODI/XBMC from https://github.com/google/protobuf</description> | ||
<license>https://github.com/google/protobuf/blob/master/LICENSE</license> | ||
<platform>all</platform> | ||
<website>https://protobuf.dev</website> | ||
<source>https://github.com/sanzoghenzo/kodi-protobuf</source> | ||
<email>[email protected]</email> | ||
<assets> | ||
<icon>resources/icon.png</icon> | ||
</assets> | ||
</extension> | ||
</addon> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
33 changes: 33 additions & 0 deletions
33
script.module.protobuf/resources/lib/google/protobuf/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Protocol Buffers - Google's data interchange format | ||
# Copyright 2008 Google Inc. All rights reserved. | ||
# https://developers.google.com/protocol-buffers/ | ||
# | ||
# Redistribution and use in source and binary forms, with or without | ||
# modification, are permitted provided that the following conditions are | ||
# met: | ||
# | ||
# * Redistributions of source code must retain the above copyright | ||
# notice, this list of conditions and the following disclaimer. | ||
# * Redistributions in binary form must reproduce the above | ||
# copyright notice, this list of conditions and the following disclaimer | ||
# in the documentation and/or other materials provided with the | ||
# distribution. | ||
# * Neither the name of Google Inc. nor the names of its | ||
# contributors may be used to endorse or promote products derived from | ||
# this software without specific prior written permission. | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | ||
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT | ||
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR | ||
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | ||
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
|
||
# Copyright 2007 Google Inc. All Rights Reserved. | ||
|
||
__version__ = '4.23.2' |
27 changes: 27 additions & 0 deletions
27
script.module.protobuf/resources/lib/google/protobuf/any_pb2.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
script.module.protobuf/resources/lib/google/protobuf/api_pb2.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Empty file.
36 changes: 36 additions & 0 deletions
36
script.module.protobuf/resources/lib/google/protobuf/compiler/plugin_pb2.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.