* [gentoo-commits] repo/gentoo:master commit in: dev-libs/pigpio/files/, dev-libs/pigpio/
@ 2018-03-23 22:11 Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2018-03-23 22:11 UTC (permalink / raw
To: gentoo-commits
commit: cd447c2a8620458f170d749eaebc5f02f05c2fbc
Author: Daniel Kenzelmann <gentoo <AT> k8n <DOT> de>
AuthorDate: Sat Mar 17 13:00:48 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 23 22:10:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd447c2a
dev-libs/pigpio: initial pull request (v67)
This is a new ebuild for the pigpio library
( http://abyz.me.uk/rpi/pigpio/ )
Supports systemd and openrc start files and also optional python support
currently needed Makefile patches will be reported/requested upstream
Closes: https://bugs.gentoo.org/646570
Closes: https://github.com/gentoo/gentoo/pull/7484
dev-libs/pigpio/Manifest | 1 +
dev-libs/pigpio/files/pigpio-67-makefile.patch | 64 ++++++++++++++++++++++++++
dev-libs/pigpio/files/pigpiod.confd | 4 ++
dev-libs/pigpio/files/pigpiod.initd | 7 +++
dev-libs/pigpio/files/pigpiod.systemd | 9 ++++
dev-libs/pigpio/metadata.xml | 12 +++++
dev-libs/pigpio/pigpio-67.ebuild | 40 ++++++++++++++++
7 files changed, 137 insertions(+)
diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest
new file mode 100644
index 00000000000..ed15ca2500f
--- /dev/null
+++ b/dev-libs/pigpio/Manifest
@@ -0,0 +1 @@
+DIST pigpio-67.tar.gz 369268 BLAKE2B a9d59369f5eed4b733e0e5c0e85013a132e55ff63a2393d79a3fb52d1fcb2513559d4dfeea84c4842d6281936b6e116bd81cd63e4542bbcffaf813ee356ee0d1 SHA512 9792f8402ee0dd204f4a975ab0513099a1fe3d398a28b766f412c08d7908e8e307de4cc92b2a2519b6484f15a043bd40008b7707486015c08bda5f97b1e7e00b
diff --git a/dev-libs/pigpio/files/pigpio-67-makefile.patch b/dev-libs/pigpio/files/pigpio-67-makefile.patch
new file mode 100644
index 00000000000..1df4475eb0a
--- /dev/null
+++ b/dev-libs/pigpio/files/pigpio-67-makefile.patch
@@ -0,0 +1,64 @@
+--- a/Makefile 2018-03-21 19:51:11.711880972 +0100
++++ b/Makefile 2018-03-21 20:51:46.341684595 +0100
+@@ -9,6 +9,9 @@
+ STRIP = $(CROSS_PREFIX)strip
+ SHLIB = $(CC) -shared
+ STRIPLIB = $(STRIP) --strip-unneeded
++LDCONFIG = ldconfig
++PYTHON2 = $(shell type -P python2 || echo ':' 2> /dev/null)
++PYTHON3 = $(shell type -P python3 || echo ':' 2> /dev/null)
+
+ CFLAGS += -O3 -Wall -pthread
+
+@@ -23,7 +26,7 @@
+
+ LIB = $(LIB1) $(LIB2) $(LIB3)
+
+-ALL = $(LIB) x_pigpio x_pigpiod_if x_pigpiod_if2 pig2vcd pigpiod pigs
++ALL = $(LIB) pig2vcd pigpiod pigs
+
+ LL1 = -L. -lpigpio -pthread -lrt
+
+@@ -64,22 +67,21 @@
+ $(CC) -o x_pigpiod_if2 x_pigpiod_if2.o $(LL3)
+
+ pigpiod: pigpiod.o $(LIB1)
+- $(CC) -o pigpiod pigpiod.o $(LL1)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigpiod pigpiod.o $(LL1)
+ $(STRIP) pigpiod
+
+ pigs: pigs.o command.o
+- $(CC) -o pigs pigs.o command.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigs pigs.o command.o
+ $(STRIP) pigs
+
+ pig2vcd: pig2vcd.o
+- $(CC) -o pig2vcd pig2vcd.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pig2vcd pig2vcd.o
+ $(STRIP) pig2vcd
+
+ clean:
+ rm -f *.o *.i *.s *~ $(ALL)
+
+ install: $(ALL)
+- install -m 0755 -d $(DESTDIR)/opt/pigpio/cgi
+ install -m 0755 -d $(DESTDIR)$(includedir)
+ install -m 0644 pigpio.h $(DESTDIR)$(includedir)
+ install -m 0644 pigpiod_if.h $(DESTDIR)$(includedir)
+@@ -92,13 +94,13 @@
+ install -m 0755 pig2vcd $(DESTDIR)$(bindir)
+ install -m 0755 pigpiod $(DESTDIR)$(bindir)
+ install -m 0755 pigs $(DESTDIR)$(bindir)
+- if which python2; then python2 setup.py install; fi
+- if which python3; then python3 setup.py install; fi
++ $(PYTHON2) setup.py install
++ $(PYTHON3) setup.py install
+ install -m 0755 -d $(DESTDIR)$(mandir)/man1
+ install -m 0644 *.1 $(DESTDIR)$(mandir)/man1
+ install -m 0755 -d $(DESTDIR)$(mandir)/man3
+ install -m 0644 *.3 $(DESTDIR)$(mandir)/man3
+- ldconfig
++ $(LDCONFIG)
+
+ uninstall:
+ rm -f $(DESTDIR)$(includedir)/pigpio.h
diff --git a/dev-libs/pigpio/files/pigpiod.confd b/dev-libs/pigpio/files/pigpiod.confd
new file mode 100644
index 00000000000..dbcf8a4c3ef
--- /dev/null
+++ b/dev-libs/pigpio/files/pigpiod.confd
@@ -0,0 +1,4 @@
+# Only listen on local interface by default
+# use evironment variables PIGPIO_PORT="8888" and PIGPIO_ADDR="::1" for pigs with local interface
+# PIGPIOD_OPTS="-l -p 8888"
+PIGPIOD_OPTS="-l"
diff --git a/dev-libs/pigpio/files/pigpiod.initd b/dev-libs/pigpio/files/pigpiod.initd
new file mode 100644
index 00000000000..2b3f339dbdc
--- /dev/null
+++ b/dev-libs/pigpio/files/pigpiod.initd
@@ -0,0 +1,7 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+pidfile="/var/run/pigpio.pid"
+command="/usr/bin/pigpiod"
+command_args="${PIGPIOD_OPTS}"
diff --git a/dev-libs/pigpio/files/pigpiod.systemd b/dev-libs/pigpio/files/pigpiod.systemd
new file mode 100644
index 00000000000..b1d28a66f82
--- /dev/null
+++ b/dev-libs/pigpio/files/pigpiod.systemd
@@ -0,0 +1,9 @@
+[Unit]
+Description=Pigpio daemon
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/pigpiod
+
+[Install]
+WantedBy=multi-user.target
diff --git a/dev-libs/pigpio/metadata.xml b/dev-libs/pigpio/metadata.xml
new file mode 100644
index 00000000000..9344dda7b30
--- /dev/null
+++ b/dev-libs/pigpio/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@k8n.de</email>
+ <name>Daniel Kenzelmann</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Gentoo Proxy Maintainers Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/pigpio/pigpio-67.ebuild b/dev-libs/pigpio/pigpio-67.ebuild
new file mode 100644
index 00000000000..1975d0a2cf3
--- /dev/null
+++ b/dev-libs/pigpio/pigpio-67.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+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} )"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eapply "${FILESDIR}/${P}-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="/usr" mandir="/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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/pigpio/files/, dev-libs/pigpio/
@ 2019-08-13 4:54 Joonas Niilola
0 siblings, 0 replies; 3+ messages in thread
From: Joonas Niilola @ 2019-08-13 4:54 UTC (permalink / raw
To: gentoo-commits
commit: 7ab8f5559849fa4eac973b582d03e2734cdd488f
Author: Daniel Kenzelmann <daniel <AT> pc-daniel-desktop <DOT> fritz <DOT> box>
AuthorDate: Sun Aug 11 08:47:17 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 13 04:54:17 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ab8f555
dev-libs/pigpio-70: new ebuild
New ebuild, now with .so versioning from upstream, new Makefile patch required
Signed-off-by: Daniel Kenzelmann <gentoo <AT> k8n.de>
Closes: https://github.com/gentoo/gentoo/pull/12677
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
dev-libs/pigpio/Manifest | 1 +
dev-libs/pigpio/files/pigpio-70-makefile.patch | 98 ++++++++++++++++++++++++++
dev-libs/pigpio/pigpio-70.ebuild | 39 ++++++++++
3 files changed, 138 insertions(+)
diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest
index 9928f29679a..0f01a744f39 100644
--- a/dev-libs/pigpio/Manifest
+++ b/dev-libs/pigpio/Manifest
@@ -1,2 +1,3 @@
DIST pigpio-67.tar.gz 369268 BLAKE2B a9d59369f5eed4b733e0e5c0e85013a132e55ff63a2393d79a3fb52d1fcb2513559d4dfeea84c4842d6281936b6e116bd81cd63e4542bbcffaf813ee356ee0d1 SHA512 9792f8402ee0dd204f4a975ab0513099a1fe3d398a28b766f412c08d7908e8e307de4cc92b2a2519b6484f15a043bd40008b7707486015c08bda5f97b1e7e00b
DIST pigpio-68.tar.gz 371251 BLAKE2B c0118854d18ce158a3d5c96380289cc8bc68f35f72ce28f207dfbb827f97f538acd82cec2af11590e59985b77ef08834d55b3ac7578e1f6b6d1a0b5d5d594632 SHA512 125364eab9dd33c39fda148c6018679ac91b099914d7f0c6362f61566a9c957065189ace03ad4668b29f25d4d542b81d42c0befe0712867b48977b755dc03edc
+DIST pigpio-70.tar.gz 374569 BLAKE2B a2caadf0e1307c8c3ce936d5fd4d31e18185aa53900f6b2cf8b92a31f423b9a82bf4d2b7212fa8cd5b2d26773598a138ef8331884410f3f418542f43ca1fe2d4 SHA512 00db37b9c0f9751e6179b19e7018583abd9e11d78d01ff9f99b713004cf4e6a224e93644206599378a34dd46fd75c08557021b706015b0bc2bd8b34e363691db
diff --git a/dev-libs/pigpio/files/pigpio-70-makefile.patch b/dev-libs/pigpio/files/pigpio-70-makefile.patch
new file mode 100644
index 00000000000..10df7e872c6
--- /dev/null
+++ b/dev-libs/pigpio/files/pigpio-70-makefile.patch
@@ -0,0 +1,98 @@
+--- a/Makefile 2019-08-10 10:10:22.834043361 +0200
++++ b/Makefile 2019-08-10 10:43:15.797503591 +0200
+@@ -9,6 +9,9 @@
+ STRIP = $(CROSS_PREFIX)strip
+ SHLIB = $(CC) -shared
+ STRIPLIB = $(STRIP) --strip-unneeded
++LDCONFIG = ldconfig
++PYTHON2 = $(shell type -P python2 || echo ':' 2> /dev/null)
++PYTHON3 = $(shell type -P python3 || echo ':' 2> /dev/null)
+
+ SOVERSION = 1
+
+@@ -25,7 +28,7 @@
+
+ LIB = $(LIB1) $(LIB2) $(LIB3)
+
+-ALL = $(LIB) x_pigpio x_pigpiod_if x_pigpiod_if2 pig2vcd pigpiod pigs
++ALL = $(LIB) pig2vcd pigpiod pigs
+
+ LL1 = -L. -lpigpio -pthread -lrt
+
+@@ -66,28 +69,21 @@
+ $(CC) -o x_pigpiod_if2 x_pigpiod_if2.o $(LL3)
+
+ pigpiod: pigpiod.o $(LIB1)
+- $(CC) -o pigpiod pigpiod.o $(LL1)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigpiod pigpiod.o $(LL1)
+ $(STRIP) pigpiod
+
+ pigs: pigs.o command.o
+- $(CC) -o pigs pigs.o command.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pigs pigs.o command.o
+ $(STRIP) pigs
+
+ pig2vcd: pig2vcd.o
+- $(CC) -o pig2vcd pig2vcd.o
++ $(CC) $(CFLAGS) $(LDFLAGS) -o pig2vcd pig2vcd.o
+ $(STRIP) pig2vcd
+
+ clean:
+ rm -f *.o *.i *.s *~ $(ALL) *.so.$(SOVERSION)
+
+-ifeq ($(DESTDIR),)
+- PYINSTALLARGS =
+-else
+- PYINSTALLARGS = --root=$(DESTDIR)
+-endif
+-
+ install: $(ALL)
+- install -m 0755 -d $(DESTDIR)/opt/pigpio/cgi
+ install -m 0755 -d $(DESTDIR)$(includedir)
+ install -m 0644 pigpio.h $(DESTDIR)$(includedir)
+ install -m 0644 pigpiod_if.h $(DESTDIR)$(includedir)
+@@ -103,15 +99,13 @@
+ install -m 0755 pig2vcd $(DESTDIR)$(bindir)
+ install -m 0755 pigpiod $(DESTDIR)$(bindir)
+ install -m 0755 pigs $(DESTDIR)$(bindir)
+- if which python2; then python2 setup.py install $(PYINSTALLARGS); fi
+- if which python3; then python3 setup.py install $(PYINSTALLARGS); fi
++ $(PYTHON2) setup.py install
++ $(PYTHON3) setup.py install
+ install -m 0755 -d $(DESTDIR)$(mandir)/man1
+- install -m 0644 p*.1 $(DESTDIR)$(mandir)/man1
++ install -m 0644 *.1 $(DESTDIR)$(mandir)/man1
+ install -m 0755 -d $(DESTDIR)$(mandir)/man3
+- install -m 0644 p*.3 $(DESTDIR)$(mandir)/man3
+-ifeq ($(DESTDIR),)
+- ldconfig
+-endif
++ install -m 0644 *.3 $(DESTDIR)$(mandir)/man3
++ $(LDCONFIG)
+
+ uninstall:
+ rm -f $(DESTDIR)$(includedir)/pigpio.h
+@@ -136,19 +130,19 @@
+ endif
+
+ $(LIB1): $(OBJ1)
+- $(SHLIB) -pthread -Wl,-soname,$(LIB1).$(SOVERSION) -o $(LIB1).$(SOVERSION) $(OBJ1)
++ $(SHLIB) -o $(LIB1).$(SOVERSION) $(OBJ1)
+ ln -fs $(LIB1).$(SOVERSION) $(LIB1)
+ $(STRIPLIB) $(LIB1)
+ $(SIZE) $(LIB1)
+
+ $(LIB2): $(OBJ2)
+- $(SHLIB) -pthread -Wl,-soname,$(LIB2).$(SOVERSION) -o $(LIB2).$(SOVERSION) $(OBJ2)
++ $(SHLIB) -o $(LIB2).$(SOVERSION) $(OBJ2)
+ ln -fs $(LIB2).$(SOVERSION) $(LIB2)
+ $(STRIPLIB) $(LIB2)
+ $(SIZE) $(LIB2)
+
+ $(LIB3): $(OBJ3)
+- $(SHLIB) -pthread -Wl,-soname,$(LIB3).$(SOVERSION) -o $(LIB3).$(SOVERSION) $(OBJ3)
++ $(SHLIB) -o $(LIB3).$(SOVERSION) $(OBJ3)
+ ln -fs $(LIB3).$(SOVERSION) $(LIB3)
+ $(STRIPLIB) $(LIB3)
+ $(SIZE) $(LIB3)
+
diff --git a/dev-libs/pigpio/pigpio-70.ebuild b/dev-libs/pigpio/pigpio-70.ebuild
new file mode 100644
index 00000000000..f4a86cfd1b1
--- /dev/null
+++ b/dev-libs/pigpio/pigpio-70.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}-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
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/pigpio/files/, dev-libs/pigpio/
@ 2020-01-25 21:09 Andreas Sturmlechner
0 siblings, 0 replies; 3+ messages in thread
From: Andreas Sturmlechner @ 2020-01-25 21:09 UTC (permalink / raw
To: gentoo-commits
commit: a2e2788f53a72f9939a7cb604ea9e2801eb87672
Author: Daniel Kenzelmann <gentoo <AT> k8n <DOT> de>
AuthorDate: Sat Jan 25 19:08:56 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jan 25 21:09:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2e2788f
dev-libs/pigpio: cleanup old versions
cleanup old versions
Signed-off-by: Daniel Kenzelmann <gentoo <AT> k8n.de>
Closes: https://github.com/gentoo/gentoo/pull/14446
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-libs/pigpio/Manifest | 4 --
dev-libs/pigpio/files/pigpio-67-makefile.patch | 64 --------------------------
dev-libs/pigpio/pigpio-67.ebuild | 40 ----------------
dev-libs/pigpio/pigpio-68.ebuild | 39 ----------------
dev-libs/pigpio/pigpio-70.ebuild | 39 ----------------
dev-libs/pigpio/pigpio-71.ebuild | 39 ----------------
6 files changed, 225 deletions(-)
diff --git a/dev-libs/pigpio/Manifest b/dev-libs/pigpio/Manifest
index db589bbba67..8e462580241 100644
--- a/dev-libs/pigpio/Manifest
+++ b/dev-libs/pigpio/Manifest
@@ -1,6 +1,2 @@
-DIST pigpio-67.tar.gz 369268 BLAKE2B a9d59369f5eed4b733e0e5c0e85013a132e55ff63a2393d79a3fb52d1fcb2513559d4dfeea84c4842d6281936b6e116bd81cd63e4542bbcffaf813ee356ee0d1 SHA512 9792f8402ee0dd204f4a975ab0513099a1fe3d398a28b766f412c08d7908e8e307de4cc92b2a2519b6484f15a043bd40008b7707486015c08bda5f97b1e7e00b
-DIST pigpio-68.tar.gz 371251 BLAKE2B c0118854d18ce158a3d5c96380289cc8bc68f35f72ce28f207dfbb827f97f538acd82cec2af11590e59985b77ef08834d55b3ac7578e1f6b6d1a0b5d5d594632 SHA512 125364eab9dd33c39fda148c6018679ac91b099914d7f0c6362f61566a9c957065189ace03ad4668b29f25d4d542b81d42c0befe0712867b48977b755dc03edc
-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
diff --git a/dev-libs/pigpio/files/pigpio-67-makefile.patch b/dev-libs/pigpio/files/pigpio-67-makefile.patch
deleted file mode 100644
index 1df4475eb0a..00000000000
--- a/dev-libs/pigpio/files/pigpio-67-makefile.patch
+++ /dev/null
@@ -1,64 +0,0 @@
---- a/Makefile 2018-03-21 19:51:11.711880972 +0100
-+++ b/Makefile 2018-03-21 20:51:46.341684595 +0100
-@@ -9,6 +9,9 @@
- STRIP = $(CROSS_PREFIX)strip
- SHLIB = $(CC) -shared
- STRIPLIB = $(STRIP) --strip-unneeded
-+LDCONFIG = ldconfig
-+PYTHON2 = $(shell type -P python2 || echo ':' 2> /dev/null)
-+PYTHON3 = $(shell type -P python3 || echo ':' 2> /dev/null)
-
- CFLAGS += -O3 -Wall -pthread
-
-@@ -23,7 +26,7 @@
-
- LIB = $(LIB1) $(LIB2) $(LIB3)
-
--ALL = $(LIB) x_pigpio x_pigpiod_if x_pigpiod_if2 pig2vcd pigpiod pigs
-+ALL = $(LIB) pig2vcd pigpiod pigs
-
- LL1 = -L. -lpigpio -pthread -lrt
-
-@@ -64,22 +67,21 @@
- $(CC) -o x_pigpiod_if2 x_pigpiod_if2.o $(LL3)
-
- pigpiod: pigpiod.o $(LIB1)
-- $(CC) -o pigpiod pigpiod.o $(LL1)
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o pigpiod pigpiod.o $(LL1)
- $(STRIP) pigpiod
-
- pigs: pigs.o command.o
-- $(CC) -o pigs pigs.o command.o
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o pigs pigs.o command.o
- $(STRIP) pigs
-
- pig2vcd: pig2vcd.o
-- $(CC) -o pig2vcd pig2vcd.o
-+ $(CC) $(CFLAGS) $(LDFLAGS) -o pig2vcd pig2vcd.o
- $(STRIP) pig2vcd
-
- clean:
- rm -f *.o *.i *.s *~ $(ALL)
-
- install: $(ALL)
-- install -m 0755 -d $(DESTDIR)/opt/pigpio/cgi
- install -m 0755 -d $(DESTDIR)$(includedir)
- install -m 0644 pigpio.h $(DESTDIR)$(includedir)
- install -m 0644 pigpiod_if.h $(DESTDIR)$(includedir)
-@@ -92,13 +94,13 @@
- install -m 0755 pig2vcd $(DESTDIR)$(bindir)
- install -m 0755 pigpiod $(DESTDIR)$(bindir)
- install -m 0755 pigs $(DESTDIR)$(bindir)
-- if which python2; then python2 setup.py install; fi
-- if which python3; then python3 setup.py install; fi
-+ $(PYTHON2) setup.py install
-+ $(PYTHON3) setup.py install
- install -m 0755 -d $(DESTDIR)$(mandir)/man1
- install -m 0644 *.1 $(DESTDIR)$(mandir)/man1
- install -m 0755 -d $(DESTDIR)$(mandir)/man3
- install -m 0644 *.3 $(DESTDIR)$(mandir)/man3
-- ldconfig
-+ $(LDCONFIG)
-
- uninstall:
- rm -f $(DESTDIR)$(includedir)/pigpio.h
diff --git a/dev-libs/pigpio/pigpio-67.ebuild b/dev-libs/pigpio/pigpio-67.ebuild
deleted file mode 100644
index f948a8845cd..00000000000
--- a/dev-libs/pigpio/pigpio-67.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python{2_7,3_6} )
-
-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} )"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- eapply "${FILESDIR}/${P}-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="/usr/$(get_libdir)" prefix="/usr" mandir="/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
-}
diff --git a/dev-libs/pigpio/pigpio-68.ebuild b/dev-libs/pigpio/pigpio-68.ebuild
deleted file mode 100644
index 7829fd48806..00000000000
--- a/dev-libs/pigpio/pigpio-68.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{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="${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
-}
diff --git a/dev-libs/pigpio/pigpio-70.ebuild b/dev-libs/pigpio/pigpio-70.ebuild
deleted file mode 100644
index a8d29809f88..00000000000
--- a/dev-libs/pigpio/pigpio-70.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{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}-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
-}
diff --git a/dev-libs/pigpio/pigpio-71.ebuild b/dev-libs/pigpio/pigpio-71.ebuild
deleted file mode 100644
index a8d29809f88..00000000000
--- a/dev-libs/pigpio/pigpio-71.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{2_7,3_{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}-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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-01-25 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-13 4:54 [gentoo-commits] repo/gentoo:master commit in: dev-libs/pigpio/files/, dev-libs/pigpio/ Joonas Niilola
-- strict thread matches above, loose matches on Subject: below --
2020-01-25 21:09 Andreas Sturmlechner
2018-03-23 22:11 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox