1 |
commit: 973c93c87d5638c4b86c4795cbfe39d06fd39664 |
2 |
Author: Daniel Kenzelmann <gentoo <AT> k8n <DOT> de> |
3 |
AuthorDate: Tue Sep 29 19:02:08 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 8 10:02:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=973c93c8 |
7 |
|
8 |
dev-libs/pigpio: new version 78 |
9 |
|
10 |
Signed-off-by: Daniel Kenzelmann <gentoo <AT> k8n.de> |
11 |
Closes: https://github.com/gentoo/gentoo/pull/17714 |
12 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
13 |
|
14 |
dev-libs/pigpio/Manifest | 1 + |
15 |
dev-libs/pigpio/pigpio-78.ebuild | 36 ++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 37 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest |
19 |
index c743b666335..9f57e0c9b36 100644 |
20 |
--- a/dev-libs/pigpio/Manifest |
21 |
+++ b/dev-libs/pigpio/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST pigpio-76.tar.gz 2905839 BLAKE2B 7828a94fad9f110392dc114534a3b242f1f135d352885f3c4332a1d4a16f49d2fa58b57e9e3d64c2bf9b5f3bdd7e84a74775b518fc409daf75a55a87c5f3af57 SHA512 8cc1dc64ae32a07f4b6e200638065ba5fb26a94c1a730d81b64fa5f2bb9356b2b9910decb41def6932fc76f7ebd1df99a7966516ba3df9a09108de0afcd119d3 |
24 |
DIST pigpio-77.tar.gz 2902866 BLAKE2B d03a97a596d5f408d29e61e8c5f727d7bca4caf8aeec63e9914b8d52bdc0d03d3d5b9ef1fdb408a6fcd72cd0b899f30eb79d02426cc83b271d71b543bf346928 SHA512 0533d18bc244d4cf487ffebdd68b9f341139e70df3a3862dc4705afefa2e3e4e2f51792a6c4a440b8ee1f111c9ae3141770b9578601bfa44e166bb438f45b80c |
25 |
+DIST pigpio-78.tar.gz 2900959 BLAKE2B 71a7ed89b247292718229955bf69bec1b7798040fb69b3d9d19a1143cd4fc6565b61deb6ed3bc40eb643a7987f88809125b4368b80aab2fe03bfbaa5fd665274 SHA512 893eefc4a5ab054d56df2c439539ab32a292050aa1fe4b062ba535921f1b12aeac9d509756d08986cd18ed512f52517fa64822422ea3f4dbf6e41fd364a75c3f |
26 |
|
27 |
diff --git a/dev-libs/pigpio/pigpio-78.ebuild b/dev-libs/pigpio/pigpio-78.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..a47a53d9b90 |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/pigpio/pigpio-78.ebuild |
32 |
@@ -0,0 +1,36 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
39 |
+ |
40 |
+inherit distutils-r1 systemd toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="A library for the Raspberry which allows control of the GPIOs" |
43 |
+HOMEPAGE="http://abyz.me.uk/rpi/pigpio/ https://github.com/joan2937/pigpio" |
44 |
+SRC_URI="https://github.com/joan2937/pigpio/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Unlicense" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~arm" |
49 |
+IUSE="python" |
50 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
51 |
+ |
52 |
+PATCHES=( "${FILESDIR}/${PN}-70-makefile.patch" ) |
53 |
+ |
54 |
+src_compile() { |
55 |
+ emake CC="$(tc-getCC)" STRIP=: STRIPLIB=: SIZE=: |
56 |
+ use python && distutils-r1_src_compile |
57 |
+} |
58 |
+ |
59 |
+src_install() { |
60 |
+ emake DESTDIR="${D}" LDCONFIG=: PYTHON2=: PYTHON3=: \ |
61 |
+ libdir="${EPREFIX}/usr/$(get_libdir)" prefix="${EPREFIX}/usr" \ |
62 |
+ mandir="${EPREFIX}/usr/share/man" install |
63 |
+ einstalldocs |
64 |
+ newinitd "${FILESDIR}"/pigpiod.initd pigpiod |
65 |
+ newconfd "${FILESDIR}"/pigpiod.confd pigpiod |
66 |
+ systemd_newunit "${S}"/util/pigpiod.service pigpiod.service |
67 |
+ use python && distutils-r1_src_install |
68 |
+} |