holgersson-overlay/dev-python/pifacedigitalio/pifacedigitalio-3.1.0.ebuild
Nils Freydank dd024e97f5
dev-python/axolotl-curve25519: Bump to 0.4.1 (and update live ebuild).
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Manifest-Sign-Key: 766B8122134269123401492A8B54D7A3FF3CDB17
2018-04-30 22:55:38 +02:00

37 lines
985 B
Bash

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_5 )
inherit distutils-r1
DESCRIPTION="The PiFace Digital input/output module"
HOMEPAGE="https://github.com/piface/pifacedigitalio"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/piface/pifacedigitalio.git"
else
SRC_URI="https://github.com/piface/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~arm"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="dev-python/pifacecommon"
RDEPEND="${DEPEND}"
pkg_postinst(){
elog "To use the PiFace you need SPI support enabled at boot time."
elog "This can be achived by putting the following lines to /boot/config.txt:"
elog "dtparam=spi=on"
elog "dtoverlay=spi1-1cs # or chose another <nr>-cs from 1 to 3"
elog "For more details, take a look at"
elog "https://elinux.org/RPi_SPI#SPI1_.28available_only_on_40-pins_P1_header.29"
ewarn "Have fun!"
}