dev-libs/pigpio: new version 73

new upstream version, add support for python3_8, remove python2_7

Signed-off-by: Daniel Kenzelmann <gentoo@k8n.de>
Closes: https://github.com/gentoo/gentoo/pull/14317
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Daniel Kenzelmann
2020-01-12 12:14:46 +01:00
committed by Joonas Niilola
parent edc8e34c33
commit 81874ca969
2 changed files with 40 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ DIST pigpio-68.tar.gz 371251 BLAKE2B c0118854d18ce158a3d5c96380289cc8bc68f35f72c
DIST pigpio-70.tar.gz 374569 BLAKE2B a2caadf0e1307c8c3ce936d5fd4d31e18185aa53900f6b2cf8b92a31f423b9a82bf4d2b7212fa8cd5b2d26773598a138ef8331884410f3f418542f43ca1fe2d4 SHA512 00db37b9c0f9751e6179b19e7018583abd9e11d78d01ff9f99b713004cf4e6a224e93644206599378a34dd46fd75c08557021b706015b0bc2bd8b34e363691db
DIST pigpio-71.tar.gz 374952 BLAKE2B a79a408915285674211e50e30d3cafa433a9ee364cacced501e109d6c31a3a03c14f9d25c3c18e3df252801de65c60ca67cd5f1a8e08f05be8098ad591a14fee SHA512 c3bf029bebff9a7ee02b48597f624a5dcdf277c5c1a7ffa2f6cb83885a93cd6713935d9502127d11c4e9c11e7f6f6be49c8af367707eca2fff469728b5248e2f
DIST pigpio-72.tar.gz 384220 BLAKE2B ff3466df80adb6ee9bb2f6bc8aa9589bb6789746eedfab410d2a23dcd4986c29297f71469c8330c55603d8aabba7a4b2171390a63c21a12464b45cc4e24645d8 SHA512 c090962cb11204774e4a97a3dec37146882d66abef4d3e4de62e116b64650d6c66f95646f6350e3a45d8b2ba261a8d16c74f7648869cd0e94f42a80d88bb6d6e
DIST pigpio-73.tar.gz 385233 BLAKE2B 5b58b399ffccab456d64decea4190e326c70cfe36b5513d0c69aa68c5ebfe2667ec5b4a028d19ec987d948c7b94dd23d67903bbae901d61f751dd606540324ea SHA512 bc6d2bbc2f2067c851a74a6137913b9abf2a7424bc2f78cf4086a1210f5c1116f71dcfa94a1268c137f4181e2db39af0bd2025caa1a7f98374b2043a166af746

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1 systemd toolchain-funcs
DESCRIPTION="A library for the Raspberry which allows control of the GPIOs"
HOMEPAGE="http://abyz.me.uk/rpi/pigpio/index.html"
SRC_URI="https://github.com/joan2937/pigpio/archive/V${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Unlicense"
SLOT="0"
KEYWORDS="~arm"
IUSE="python"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
src_prepare() {
eapply "${FILESDIR}/${PN}-70-makefile.patch"
eapply_user
}
src_compile() {
emake CC="$(tc-getCC)" STRIP=: STRIPLIB=: SIZE=:
use python && distutils-r1_src_compile
}
src_install() {
emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: \
libdir="${EPREFIX}/usr/$(get_libdir)" prefix="${EPREFIX}/usr" \
mandir="${EPREFIX}/usr/share/man" install
einstalldocs
newinitd "${FILESDIR}"/pigpiod.initd pigpiod
newconfd "${FILESDIR}"/pigpiod.confd pigpiod
systemd_newunit "${FILESDIR}"/pigpiod.systemd pigpiod.service
use python && distutils-r1_src_install
}