67e5b123f0
Also add hash file. And fixes: http://autobuild.buildroot.net/results/abc/abca38e3e93b609c1040c1152de7cd59940e2c88/ It was using an absolute include_dirs in setup.py pointing to the host kernel sources (/usr/src/linux). It didn't affect "normal" distros since they normally don't have the kernel sources installed, however for Gentoo it's quite normal to have kernel sources there. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
15 lines
478 B
Makefile
15 lines
478 B
Makefile
################################################################################
|
|
#
|
|
# python-spidev
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_SPIDEV_VERSION = 3.1
|
|
PYTHON_SPIDEV_SOURCE = spidev-$(PYTHON_SPIDEV_VERSION).tar.gz
|
|
PYTHON_SPIDEV_SITE = https://pypi.python.org/packages/source/s/spidev
|
|
PYTHON_SPIDEV_SETUP_TYPE = distutils
|
|
PYTHON_SPIDEV_LICENSE = GPLv2
|
|
PYTHON_SPIDEV_LICENSE_FILES = LICENSE.md
|
|
|
|
$(eval $(python-package))
|