summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGuilherme Perrotta <35199174+gperrotta@users.noreply.github.com>2021-10-05 05:10:43 -0300
committerGitHub <noreply@github.com>2021-10-05 10:10:43 +0200
commit7ea9c75494af85d0dfb420ea6d0da4cd4a63317d (patch)
tree3474a8c3ac911b5950efa08266c87862bf9925ea /var
parent1a651f1dcad1418838eec74eb77ebadfe2a3895a (diff)
downloadspack-7ea9c75494af85d0dfb420ea6d0da4cd4a63317d.tar.gz
spack-7ea9c75494af85d0dfb420ea6d0da4cd4a63317d.tar.bz2
spack-7ea9c75494af85d0dfb420ea6d0da4cd4a63317d.tar.xz
spack-7ea9c75494af85d0dfb420ea6d0da4cd4a63317d.zip
py-flatbuffers: add new package (#26444)
Python port of the "flatbuffers" package
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-flatbuffers/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-flatbuffers/package.py b/var/spack/repos/builtin/packages/py-flatbuffers/package.py
new file mode 100644
index 0000000000..31d2d428e1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-flatbuffers/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+from spack import *
+
+
+class PyFlatbuffers(PythonPackage):
+ """
+ The FlatBuffers serialization format implemented in Python. For a faster and
+ feature-complete version check out the C++ implementation in `flatbuffers`
+ package.
+ """
+
+ homepage = "https://google.github.io/flatbuffers/"
+ pypi = "flatbuffers/flatbuffers-2.0.tar.gz"
+
+ maintainers = ['gperrotta']
+
+ version(
+ '2.0', sha256='12158ab0272375eab8db2d663ae97370c33f152b27801fa6024e1d6105fd4dd2'
+ )
+
+ version(
+ '1.12', sha256='63bb9a722d5e373701913e226135b28a6f6ac200d5cc7b4d919fa38d73b44610'
+ )
+
+ depends_on('py-setuptools', type='build')