public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/redis-ipc/
@ 2022-03-30 23:02 Steve Arnold
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Arnold @ 2022-03-30 23:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e499bcf9b8032090bab49bdd4aa7663304b53d18
Author:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 23:02:24 2022 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 23:02:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e499bcf9

dev-libs/redis-ipc: new ebuild, system/app level messaging interface

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>

 dev-libs/redis-ipc/Manifest               |  1 +
 dev-libs/redis-ipc/metadata.xml           | 16 +++++++++++
 dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild | 46 +++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)

diff --git a/dev-libs/redis-ipc/Manifest b/dev-libs/redis-ipc/Manifest
new file mode 100644
index 000000000000..a26f9034e2e9
--- /dev/null
+++ b/dev-libs/redis-ipc/Manifest
@@ -0,0 +1 @@
+DIST redis-ipc-0.0.6.tar.gz 74682 BLAKE2B 76d12482519e446c55ad9e050614184e04c76d1f5d5e05b4a056a3339d8d94aedba2f5bda11e52e118ae9364937ae62f512b37d649e0e35c83aa686f679c0764 SHA512 6c54a42b29192cc79f92f2318aaaff03a56770fc2aed3d5b8c3724634c59c6fd0acfab2daf609899d3872e309e973ace6d6400bf014134fdc8e851c001637c74

diff --git a/dev-libs/redis-ipc/metadata.xml b/dev-libs/redis-ipc/metadata.xml
new file mode 100644
index 000000000000..3c1e58a0c43a
--- /dev/null
+++ b/dev-libs/redis-ipc/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nerdboy@gentoo.org</email>
+		<name>Stephen L Arnold</name>
+	</maintainer>
+	<longdescription lang="en">
+		Convenience library for using redis server and JSON as IPC
+		mechanism (command queues, settings, status, event channels).
+		Can use either local or network sockets via C or C++ interfaces.
+	</longdescription>
+	<upstream>
+		<remote-id type="github">VCTLabs/redis-ipc</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild b/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
new file mode 100644
index 000000000000..fec9bd9c2dd3
--- /dev/null
+++ b/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A (redis) client library for using redis as system IPC msg/event bus"
+HOMEPAGE="https://github.com/VCTLabs/redis-ipc"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/VCTLabs/redis-ipc.git"
+	EGIT_BRANCH="develop"
+else
+	SRC_URI="https://github.com/VCTLabs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	dev-libs/hiredis:=
+	dev-libs/json-c
+"
+RDEPEND="${DEPEND}
+	dev-db/redis
+"
+
+src_prepare() {
+	sed -i -e "s|/lib|/$(get_libdir)|" "${S}"/redis-ipc.pc.in || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_STATIC_LIBS=$(usex static-libs)
+		-DRIPC_BUILD_TESTING=$(usex test)
+		-DRIPC_DISABLE_SOCK_TESTS=$(usex test)
+	)
+
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-libs/redis-ipc/
@ 2023-01-07  0:01 Steve Arnold
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Arnold @ 2023-01-07  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     bbe0ca503d5f0fe6d9ca6a096c5acfeb2c0f7577
Author:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  6 22:00:53 2023 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sat Jan  7 00:00:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe0ca50

dev-libs/redis-ipc: add 0.1.0, drop 0.0.6

Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>

 dev-libs/redis-ipc/Manifest                                           | 2 +-
 dev-libs/redis-ipc/{redis-ipc-0.0.6.ebuild => redis-ipc-0.1.0.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/redis-ipc/Manifest b/dev-libs/redis-ipc/Manifest
index a26f9034e2e9..016885cd32d3 100644
--- a/dev-libs/redis-ipc/Manifest
+++ b/dev-libs/redis-ipc/Manifest
@@ -1 +1 @@
-DIST redis-ipc-0.0.6.tar.gz 74682 BLAKE2B 76d12482519e446c55ad9e050614184e04c76d1f5d5e05b4a056a3339d8d94aedba2f5bda11e52e118ae9364937ae62f512b37d649e0e35c83aa686f679c0764 SHA512 6c54a42b29192cc79f92f2318aaaff03a56770fc2aed3d5b8c3724634c59c6fd0acfab2daf609899d3872e309e973ace6d6400bf014134fdc8e851c001637c74
+DIST redis-ipc-0.1.0.tar.gz 80111 BLAKE2B 4e8c1a0c54c33edc0efa9a383a75fa34a7df6cbf6a07fb670ec98739676c26b01317fdb299bf30da2515b20ee715d702715ca4ad82055419719ed9893d23956b SHA512 51e84bee2d1945d0250af11efa7a8a0b862c1122652b419584a3c6c3a641023e3b9e40ab457f50114fd68867081355e944befc879ec12e152c398d507c96a87b

diff --git a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild b/dev-libs/redis-ipc/redis-ipc-0.1.0.ebuild
similarity index 96%
rename from dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
rename to dev-libs/redis-ipc/redis-ipc-0.1.0.ebuild
index fec9bd9c2dd3..0f112f9dd0e7 100644
--- a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
+++ b/dev-libs/redis-ipc/redis-ipc-0.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-07  0:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-30 23:02 [gentoo-commits] repo/gentoo:master commit in: dev-libs/redis-ipc/ Steve Arnold
  -- strict thread matches above, loose matches on Subject: below --
2023-01-07  0:01 Steve Arnold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox