# Recipe created by recipetool # This is the basis of a recipe and may need further editing in order to be fully functional. # (Feel free to remove these comments when editing.) SUMMARY = "A fully featured modbus protocol stack in python" HOMEPAGE = "https://github.com/riptideio/pymodbus/" # WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is # your responsibility to verify that the values are complete and correct. # # The following license files were not able to be identified and are # represented as "Unknown" below, you will need to check them yourself: # LICENSE # examples/tools/reference/LICENSE_FREE # NOTE: Original package / source metadata indicates license is: BSD # # NOTE: multiple licenses have been detected; they have been separated with & # in the LICENSE value for now since it is a reasonable assumption that all # of the licenses apply. If instead there is a choice between the multiple # licenses then you should change the value to separate the licenses with | # instead of &. If there is any doubt, check the accompanying documentation # to determine which situation is applicable. LICENSE = "Unknown & GPLv2 & BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=2c2223d66c7e674b40527b5a4c35bd76 \ file://examples/tools/nullmodem/linux/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ file://examples/tools/reference/LICENSE_FREE;md5=05018d6237f3f611b1b4be0f65fb2a59" SRC_URI = "git://github.com/riptideio/pymodbus.git;protocol=https" # Modify these as desired PV = "2.5+git${SRCPV}" SRCREV = "731b080df0d277f0c6c32c949667a24a69a6bd7b" S = "${WORKDIR}/git" inherit setuptools # The following configs & dependencies are from setuptools extras_require. # These dependencies are optional, hence can be controlled via PACKAGECONFIG. # The upstream names may not correspond exactly to bitbake package names. # # Uncomment this line to enable all the optional features. #PACKAGECONFIG ?= "quality documents twisted tornado repl:python_version <= "2.7" repl:python_version >= "3.6"" PACKAGECONFIG[quality] = ",,,python-coverage python-mock python-nose python-pep8" PACKAGECONFIG[documents] = ",,,python-humanfriendly python-sphinx python-sphinx_rtd_theme" PACKAGECONFIG[twisted] = ",,,python-twisted[conch,serial] python-twisted[conch]" PACKAGECONFIG[tornado] = ",,,python-tornado" #PACKAGECONFIG[repl:python_version <= "2.7"] = ",,,python-click python-prompt-toolkit python-pygments" #PACKAGECONFIG[repl:python_version >= "3.6"] = ",,,python-aiohttp python-click python-prompt-toolkit python-pygments python-pyserial-asyncio" # WARNING: the following rdepends are determined through basic analysis of the # python sources, and might not be 100% accurate. RDEPENDS_${PN} += "python-2to3 python-contextlib python-core python-crypt python-distutils python-io python-json python-lang python-logging python-math python-netserver python-setuptools python-shell python-six python-threading python-unittest" # WARNING: We were unable to map the following python package/module # dependencies to the bitbake packages which include them: # asyncio # asynctest # asynctest.mock # imp # importlib.util # prompt_toolkit # prompt_toolkit.application.current # prompt_toolkit.auto_suggest # prompt_toolkit.completion # prompt_toolkit.filters # prompt_toolkit.formatted_text # prompt_toolkit.history # prompt_toolkit.key_binding # prompt_toolkit.lexers # prompt_toolkit.patch_stdout # prompt_toolkit.shortcuts # prompt_toolkit.shortcuts.progress_bar # prompt_toolkit.styles # pychecker # pyflakes.scripts.pyflakes # pygments.lexers.data # pygments.lexers.python # pylint # pytest # redis # serial # serial_asyncio # socketserver # sqlalchemy # sqlalchemy.schema # sqlalchemy.sql # sqlalchemy.sql.expression # sqlalchemy.types # tornado.concurrent # tornado.ioloop # tornado.iostream # twisted.conch # twisted.conch.insults # twisted.cred # twisted.internet # twisted.internet.protocol # twisted.internet.serialport # twisted.python.failure # unittest.mock # urllib.error # urllib.parse # urllib.request