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 9A90B1382C5 for ; Mon, 8 Mar 2021 07:35:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF980E0936; Mon, 8 Mar 2021 07:35:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CC968E0936 for ; Mon, 8 Mar 2021 07:35:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E7884335CC8 for ; Mon, 8 Mar 2021 07:35:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A007213B for ; Mon, 8 Mar 2021 07:35:13 +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: <1615188905.eff5cdcb968fbb98bbc0acd678b25ac8f1d4050b.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-79.ebuild X-VCS-Directories: dev-libs/pigpio/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: eff5cdcb968fbb98bbc0acd678b25ac8f1d4050b X-VCS-Branch: master Date: Mon, 8 Mar 2021 07:35:13 +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: 575989fd-33ae-4a27-b5c3-3f0a0d652bb8 X-Archives-Hash: 486229dcaf4c6f63dd83589b862ab574 commit: eff5cdcb968fbb98bbc0acd678b25ac8f1d4050b Author: Daniel Kenzelmann k8n de> AuthorDate: Wed Mar 3 09:48:25 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Mar 8 07:35:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eff5cdcb dev-libs/pigpio: new version 79 new upstream version Signed-off-by: Daniel Kenzelmann k8n.de> Closes: https://github.com/gentoo/gentoo/pull/19749 Signed-off-by: Joonas Niilola gentoo.org> dev-libs/pigpio/Manifest | 1 + dev-libs/pigpio/pigpio-79.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest index 9f57e0c9b36..21ece8fa0da 100644 --- a/dev-libs/pigpio/Manifest +++ b/dev-libs/pigpio/Manifest @@ -1,3 +1,4 @@ DIST pigpio-76.tar.gz 2905839 BLAKE2B 7828a94fad9f110392dc114534a3b242f1f135d352885f3c4332a1d4a16f49d2fa58b57e9e3d64c2bf9b5f3bdd7e84a74775b518fc409daf75a55a87c5f3af57 SHA512 8cc1dc64ae32a07f4b6e200638065ba5fb26a94c1a730d81b64fa5f2bb9356b2b9910decb41def6932fc76f7ebd1df99a7966516ba3df9a09108de0afcd119d3 DIST pigpio-77.tar.gz 2902866 BLAKE2B d03a97a596d5f408d29e61e8c5f727d7bca4caf8aeec63e9914b8d52bdc0d03d3d5b9ef1fdb408a6fcd72cd0b899f30eb79d02426cc83b271d71b543bf346928 SHA512 0533d18bc244d4cf487ffebdd68b9f341139e70df3a3862dc4705afefa2e3e4e2f51792a6c4a440b8ee1f111c9ae3141770b9578601bfa44e166bb438f45b80c DIST pigpio-78.tar.gz 2900959 BLAKE2B 71a7ed89b247292718229955bf69bec1b7798040fb69b3d9d19a1143cd4fc6565b61deb6ed3bc40eb643a7987f88809125b4368b80aab2fe03bfbaa5fd665274 SHA512 893eefc4a5ab054d56df2c439539ab32a292050aa1fe4b062ba535921f1b12aeac9d509756d08986cd18ed512f52517fa64822422ea3f4dbf6e41fd364a75c3f +DIST pigpio-79.tar.gz 2908059 BLAKE2B e33347a68635c1d8c9f65b3e1c23442b625a76c2c774326d093c281024abc7d588d4c5f7137056f49c44752752d0873fdbb24de9148a7306c61c91771d280e6b SHA512 bae24b0a28b6865bf4e0903d9e1881344ab7cf26a513f295d178402a426f90f2fdd43444cfe899c0bc25939a129ebf47ecd1ac1600683cd648902d56825a3203 diff --git a/dev-libs/pigpio/pigpio-79.ebuild b/dev-libs/pigpio/pigpio-79.ebuild new file mode 100644 index 00000000000..4f6097e8c96 --- /dev/null +++ b/dev-libs/pigpio/pigpio-79.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) + +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 +}