You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.1 KiB

  1. #
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=python-pyserial
  9. PKG_VERSION:=3.4
  10. PKG_RELEASE:=2
  11. PYPI_NAME:=pyserial
  12. PKG_HASH:=6e2d401fdee0eab996cf734e67773a0143b932772ca8b42451440cfed942c627
  13. PKG_LICENSE:=BSD
  14. PKG_MAINTAINER:=Micke Prag <micke.prag@telldus.se>
  15. include ../pypi.mk
  16. include $(INCLUDE_DIR)/package.mk
  17. include ../python3-package.mk
  18. define Package/python3-pyserial
  19. SECTION:=lang-python
  20. CATEGORY:=Languages
  21. SUBMENU:=Python
  22. TITLE:=python3-pyserial
  23. URL:=https://github.com/pyserial/pyserial
  24. DEPENDS:=+python3-light
  25. endef
  26. define Package/python3-pyserial/description
  27. This module encapsulates the access for the serial port. It provides backends
  28. for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant
  29. system) and IronPython. The module named "serial" automatically selects the
  30. appropriate backend.
  31. endef
  32. $(eval $(call Py3Package,python3-pyserial))
  33. $(eval $(call BuildPackage,python3-pyserial))
  34. $(eval $(call BuildPackage,python3-pyserial-src))