37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=spidev
|
|
PKG_VERSION:=3.6
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
|
PKG_HASH:=14dbc37594a4aaef85403ab617985d3c3ef464d62bc9b769ef552db53701115b
|
|
PKG_MAINTAINER:=Lee Miller <lee.miller@tutanota.com>
|
|
PKG_LICENSE:=MIT
|
|
|
|
include $(TOPDIR)/feeds/packages/lang/python/pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
|
|
|
|
define Package/python3-$(PKG_NAME)
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
SUBMENU:=Python
|
|
TITLE:=Python bindings for Linux SPI access through spidev
|
|
URL:=http://github.com/doceme/py-spidev
|
|
DEPENDS:=+python3 +python3-setuptools
|
|
endef
|
|
|
|
define Package/python3-$(PKG_NAME)/description
|
|
This project contains a python module for interfacing with SPI devices
|
|
from user space via the spidev linux kernel driver.
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-$(PKG_NAME)))
|
|
$(eval $(call BuildPackage,python3-$(PKG_NAME)))
|
|
$(eval $(call BuildPackage,python3-$(PKG_NAME)-src))
|