summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniele Cesarini <d.cesarini@cineca.it>2023-07-17 17:12:29 +0200
committerGitHub <noreply@github.com>2023-07-17 11:12:29 -0400
commit469f06a8f278128515a477ca733dc57f49215052 (patch)
tree80d8c83ec291ba254e284dedb0dd118dc8a929a0
parent53ae969aa008c8fb358f33b9b961beb5512999ff (diff)
downloadspack-469f06a8f278128515a477ca733dc57f49215052.tar.gz
spack-469f06a8f278128515a477ca733dc57f49215052.tar.bz2
spack-469f06a8f278128515a477ca733dc57f49215052.tar.xz
spack-469f06a8f278128515a477ca733dc57f49215052.zip
Added py-eprosima-fastdds package (#38877)
* Added py-eprosima-fastdds package * Fixed python extension and dependency version * Added build type for swig * Added minimum cmake support * Added py-test dependency * Added suggestion on python extension Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Added suggestion on build type for cmake Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-eprosima-fastdds/package.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-eprosima-fastdds/package.py b/var/spack/repos/builtin/packages/py-eprosima-fastdds/package.py
new file mode 100644
index 0000000000..bf01f4edc4
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-eprosima-fastdds/package.py
@@ -0,0 +1,29 @@
+# Copyright 2013-2023 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.package import *
+
+
+class PyEprosimaFastdds(CMakePackage, PythonExtension):
+ """eprosima Fast DDS (formerly Fast RTPS) is a C++ implementation of the DDS
+ (Data Distribution Service) standard of the OMG (Object Management Group).
+ eProsima Fast DDS implements the RTPS (Real Time Publish Subscribe) protocol,
+ which provides publisher-subscriber communications over unreliable transports
+ such as UDP, as defined and maintained by the Object Management Group (OMG) consortium.
+ This is the python interface for eprosima Fast DDS."""
+
+ homepage = "https://www.eprosima.com/"
+ url = "https://github.com/eProsima/Fast-DDS-python/archive/v1.2.2.tar.gz"
+
+ version("1.2.2", sha256="78c53739a66544b8c91d0016560c267e11bd7fdaf727b3bfbffd44ae65c93c62")
+
+ depends_on("cmake@3.15:", type="build")
+ extends("python")
+ depends_on("py-pytest", type="test")
+ depends_on("swig", type=("build"))
+ depends_on("eprosima-fastdds")
+ depends_on("openssl")
+
+ root_cmakelists_dir = "fastdds_python"