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 5476F138334 for ; Sun, 14 Jul 2019 18:26:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F606E0922; Sun, 14 Jul 2019 18:26:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 6096AE0922 for ; Sun, 14 Jul 2019 18:26:45 +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 6B27C347AE7 for ; Sun, 14 Jul 2019 18:26:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D5C0E603 for ; Sun, 14 Jul 2019 18:26:42 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563128794.aa50e1b8be4014aae4dacc8467a44cda4797e9b5.mgorny@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-68.ebuild X-VCS-Directories: dev-libs/pigpio/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aa50e1b8be4014aae4dacc8467a44cda4797e9b5 X-VCS-Branch: master Date: Sun, 14 Jul 2019 18:26:42 +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: 78467e48-75ff-4fc0-af13-85c674656ff1 X-Archives-Hash: fc1bb2538db18b3096dc01ff81b18b31 commit: aa50e1b8be4014aae4dacc8467a44cda4797e9b5 Author: Daniel Kenzelmann k8n de> AuthorDate: Wed Jun 19 19:11:22 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 14 18:26:34 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa50e1b8 dev-libs/pigpio: new ebuild version 68 New ebuild for dev-libs/pigpio-68, cleanup, add EPREFIX Signed-off-by: Daniel Kenzelmann k8n.de> Closes: https://github.com/gentoo/gentoo/pull/12252 Signed-off-by: Michał Górny gentoo.org> dev-libs/pigpio/Manifest | 1 + dev-libs/pigpio/pigpio-68.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest index ed15ca2500f..9928f29679a 100644 --- a/dev-libs/pigpio/Manifest +++ b/dev-libs/pigpio/Manifest @@ -1 +1,2 @@ DIST pigpio-67.tar.gz 369268 BLAKE2B a9d59369f5eed4b733e0e5c0e85013a132e55ff63a2393d79a3fb52d1fcb2513559d4dfeea84c4842d6281936b6e116bd81cd63e4542bbcffaf813ee356ee0d1 SHA512 9792f8402ee0dd204f4a975ab0513099a1fe3d398a28b766f412c08d7908e8e307de4cc92b2a2519b6484f15a043bd40008b7707486015c08bda5f97b1e7e00b +DIST pigpio-68.tar.gz 371251 BLAKE2B c0118854d18ce158a3d5c96380289cc8bc68f35f72ce28f207dfbb827f97f538acd82cec2af11590e59985b77ef08834d55b3ac7578e1f6b6d1a0b5d5d594632 SHA512 125364eab9dd33c39fda148c6018679ac91b099914d7f0c6362f61566a9c957065189ace03ad4668b29f25d4d542b81d42c0befe0712867b48977b755dc03edc diff --git a/dev-libs/pigpio/pigpio-68.ebuild b/dev-libs/pigpio/pigpio-68.ebuild new file mode 100644 index 00000000000..ab323e84a88 --- /dev/null +++ b/dev-libs/pigpio/pigpio-68.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) + +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}-67-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="$(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 +}