blob: e6c6b401ee05819746388c638bff05aad8c20144 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001#
2# Copyright (C) 2015 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=python-pyserial
11PKG_VERSION:=3.5
12PKG_RELEASE:=1
13
14PYPI_NAME:=pyserial
15PKG_HASH:=3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb
16
17PKG_LICENSE:=BSD-3-Clause
18PKG_LICENSE_FILES:=LICENSE.txt
19PKG_MAINTAINER:=Micke Prag <micke.prag@telldus.se>
20
21include ../pypi.mk
22include $(INCLUDE_DIR)/package.mk
23include ../python3-package.mk
24
25define Package/python3-pyserial
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=Serial Port Extension
30 URL:=https://github.com/pyserial/pyserial
31 DEPENDS:=+python3-light +python3-logging +python3-urllib
32endef
33
34define Package/python3-pyserial/description
35This module encapsulates the access for the serial port. It provides
36backends for Python running on Windows, OSX, Linux, BSD (possibly any
37POSIX compliant system) and IronPython. The module named "serial"
38automatically selects the appropriate backend.
39endef
40
41$(eval $(call Py3Package,python3-pyserial))
42$(eval $(call BuildPackage,python3-pyserial))
43$(eval $(call BuildPackage,python3-pyserial-src))