aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-pyserial/Makefile
blob: e6c6b401ee05819746388c638bff05aad8c20144 (plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=python-pyserial
PKG_VERSION:=3.5
PKG_RELEASE:=1

PYPI_NAME:=pyserial
PKG_HASH:=3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb

PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE.txt
PKG_MAINTAINER:=Micke Prag <micke.prag@telldus.se>

include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk

define Package/python3-pyserial
  SECTION:=lang
  CATEGORY:=Languages
  SUBMENU:=Python
  TITLE:=Serial Port Extension
  URL:=https://github.com/pyserial/pyserial
  DEPENDS:=+python3-light +python3-logging +python3-urllib
endef

define Package/python3-pyserial/description
This module encapsulates the access for the serial port. It provides
backends for Python running on Windows, OSX, Linux, BSD (possibly any
POSIX compliant system) and IronPython. The module named "serial"
automatically selects the appropriate backend.
endef

$(eval $(call Py3Package,python3-pyserial))
$(eval $(call BuildPackage,python3-pyserial))
$(eval $(call BuildPackage,python3-pyserial-src))