summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-eprosima-fastdds/package.py
blob: 1d65cd5f6c97b330f6b9d435a41879c33da5c826 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2013-2024 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"

    license("Apache-2.0")

    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"