From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD357138350 for ; Mon, 4 May 2020 17:26:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66A29E09A8; Mon, 4 May 2020 17:26:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 39F06E09A8 for ; Mon, 4 May 2020 17:26:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B8ACF34F5EB for ; Mon, 4 May 2020 17:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DF95B22B for ; Mon, 4 May 2020 17:26:27 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1588613168.fd6c39b1796c0a97e1a5321f8a56cb8f2347688e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/pigpio/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/pigpio/Manifest dev-libs/pigpio/pigpio-76.ebuild X-VCS-Directories: dev-libs/pigpio/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: fd6c39b1796c0a97e1a5321f8a56cb8f2347688e X-VCS-Branch: master Date: Mon, 4 May 2020 17:26:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 87223993-0505-43f5-8e78-823001595393 X-Archives-Hash: 8e7851184c932759701826919c7fb491 commit: fd6c39b1796c0a97e1a5321f8a56cb8f2347688e Author: Daniel Kenzelmann k8n de> AuthorDate: Sat May 2 17:24:51 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon May 4 17:26:08 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6c39b1 dev-libs/pigpio: new version 76 new upstream version Signed-off-by: Daniel Kenzelmann k8n.de> Closes: https://github.com/gentoo/gentoo/pull/15616 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/pigpio/Manifest | 1 + dev-libs/pigpio/pigpio-76.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest index a80a81d5699..0022787f3a5 100644 --- a/dev-libs/pigpio/Manifest +++ b/dev-libs/pigpio/Manifest @@ -1,3 +1,4 @@ DIST pigpio-72.tar.gz 384220 BLAKE2B ff3466df80adb6ee9bb2f6bc8aa9589bb6789746eedfab410d2a23dcd4986c29297f71469c8330c55603d8aabba7a4b2171390a63c21a12464b45cc4e24645d8 SHA512 c090962cb11204774e4a97a3dec37146882d66abef4d3e4de62e116b64650d6c66f95646f6350e3a45d8b2ba261a8d16c74f7648869cd0e94f42a80d88bb6d6e DIST pigpio-73.tar.gz 385233 BLAKE2B 5b58b399ffccab456d64decea4190e326c70cfe36b5513d0c69aa68c5ebfe2667ec5b4a028d19ec987d948c7b94dd23d67903bbae901d61f751dd606540324ea SHA512 bc6d2bbc2f2067c851a74a6137913b9abf2a7424bc2f78cf4086a1210f5c1116f71dcfa94a1268c137f4181e2db39af0bd2025caa1a7f98374b2043a166af746 DIST pigpio-74.tar.gz 385851 BLAKE2B 7487808407972815a5c2123c8cf97f12aa241f4f7c8bc1610d8a31e11d5946aba52a9c452c6c552c27599a4f9f57ec1e03a17a6a5a4157bec7d3d302e9abf680 SHA512 8bd2c3a1c9b8e3287120f6c45d281e2e93020fe50080b3ba8d454a255a5b378b4d08f372bcc3ce407bf0579103916ff20b7741e1ed6c05e09b08a948827a7a60 +DIST pigpio-76.tar.gz 2905839 BLAKE2B 7828a94fad9f110392dc114534a3b242f1f135d352885f3c4332a1d4a16f49d2fa58b57e9e3d64c2bf9b5f3bdd7e84a74775b518fc409daf75a55a87c5f3af57 SHA512 8cc1dc64ae32a07f4b6e200638065ba5fb26a94c1a730d81b64fa5f2bb9356b2b9910decb41def6932fc76f7ebd1df99a7966516ba3df9a09108de0afcd119d3 diff --git a/dev-libs/pigpio/pigpio-76.ebuild b/dev-libs/pigpio/pigpio-76.ebuild new file mode 100644 index 00000000000..a47a53d9b90 --- /dev/null +++ b/dev-libs/pigpio/pigpio-76.ebuild @@ -0,0 +1,36 @@ +# 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/ https://github.com/joan2937/pigpio" +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} )" + +PATCHES=( "${FILESDIR}/${PN}-70-makefile.patch" ) + +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 "${S}"/util/pigpiod.service pigpiod.service + use python && distutils-r1_src_install +}