public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-AMQP-RabbitMQ/
@ 2022-01-13 10:49 Alexey Shvetsov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Shvetsov @ 2022-01-13 10:49 UTC (permalink / raw
  To: gentoo-commits

commit:     58af5ee9e2981fdabc62ad8e8483a9ed2861aa9c
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 13 10:48:37 2022 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Thu Jan 13 10:49:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58af5ee9

dev-perl/Net-AMQP-RabbitMQ: Initial import

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 dev-perl/Net-AMQP-RabbitMQ/Manifest                |  1 +
 .../Net-AMQP-RabbitMQ-2.40009.ebuild               | 48 ++++++++++++++++++++++
 dev-perl/Net-AMQP-RabbitMQ/metadata.xml            | 16 ++++++++
 3 files changed, 65 insertions(+)

diff --git a/dev-perl/Net-AMQP-RabbitMQ/Manifest b/dev-perl/Net-AMQP-RabbitMQ/Manifest
new file mode 100644
index 000000000000..c38c9defff69
--- /dev/null
+++ b/dev-perl/Net-AMQP-RabbitMQ/Manifest
@@ -0,0 +1 @@
+DIST Net-AMQP-RabbitMQ-2.40009.tar.gz 198363 BLAKE2B 35aea3ba96b6b9cfaf8b8fa14d2a00326e4d64cc74d438ab59b6773f7ce67fd2ea7ded91a487eb20cdbe174c68825434839a8d7afb8e764e4a228e7088bba875 SHA512 2c0f53d59858e777fbc712c3bd06e3464783559dd9424c58a8fe586747e1d43aa4a607268484ec8bf4f10e979788ed5ea9558208096187c6e0c12a473e465459

diff --git a/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40009.ebuild b/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40009.ebuild
new file mode 100644
index 000000000000..dc9f888eecc1
--- /dev/null
+++ b/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40009.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR="MSTEMLE"
+
+inherit perl-module
+
+DESCRIPTION="interact with RabbitMQ over AMQP using librabbitmq"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-perl/Math-Int64-0.540.0"
+
+BDEPEND="${RDEPEND}
+	>=virtual/perl-ExtUtils-MakeMaker-6.660.0
+	test? (
+		net-misc/rabbitmq-server
+	)
+"
+
+src_test() {
+	einfo "Starting rabbitmq"
+	local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log"
+	local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia"
+	local -x RABBITMQ_LOGS="${T}/rabbitmq.log"
+	local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid"
+	local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins"
+	/usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 &
+
+	einfo "Waiting for rabbitmq to fully load"
+	while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do
+		sleep 1
+	done
+	einfo "rabbitmq is ready"
+
+	perl-module_src_test
+
+	einfo "Stopping rabbitmq"
+	kill "$(<"${RABBITMQ_PID_FILE}")" || die
+}

diff --git a/dev-perl/Net-AMQP-RabbitMQ/metadata.xml b/dev-perl/Net-AMQP-RabbitMQ/metadata.xml
new file mode 100644
index 000000000000..b375244c4668
--- /dev/null
+++ b/dev-perl/Net-AMQP-RabbitMQ/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>perl@gentoo.org</email>
+		<name>Gentoo Perl Project</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>alexxy@gentoo.org</email>
+		<name>Alexey Shvetsov</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="cpan">Net-AMQP-RabbitMQ</remote-id>
+		<remote-id type="cpan-module">Net::AMQP::RabbitMQ</remote-id>
+	</upstream>
+</pkgmetadata>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-AMQP-RabbitMQ/
@ 2022-10-25 22:20 Alexey Shvetsov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Shvetsov @ 2022-10-25 22:20 UTC (permalink / raw
  To: gentoo-commits

commit:     0c40cfcf4461b8fcbb4c2d039b9418b5d1e63554
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 25 22:20:36 2022 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Oct 25 22:20:36 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c40cfcf

dev-perl/Net-AMQP-RabbitMQ: add 2.40010

Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>

 dev-perl/Net-AMQP-RabbitMQ/Manifest                |  1 +
 .../Net-AMQP-RabbitMQ-2.40010.ebuild               | 48 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-perl/Net-AMQP-RabbitMQ/Manifest b/dev-perl/Net-AMQP-RabbitMQ/Manifest
index c38c9defff69..64c40a0efaaf 100644
--- a/dev-perl/Net-AMQP-RabbitMQ/Manifest
+++ b/dev-perl/Net-AMQP-RabbitMQ/Manifest
@@ -1 +1,2 @@
 DIST Net-AMQP-RabbitMQ-2.40009.tar.gz 198363 BLAKE2B 35aea3ba96b6b9cfaf8b8fa14d2a00326e4d64cc74d438ab59b6773f7ce67fd2ea7ded91a487eb20cdbe174c68825434839a8d7afb8e764e4a228e7088bba875 SHA512 2c0f53d59858e777fbc712c3bd06e3464783559dd9424c58a8fe586747e1d43aa4a607268484ec8bf4f10e979788ed5ea9558208096187c6e0c12a473e465459
+DIST Net-AMQP-RabbitMQ-2.40010.tar.gz 206449 BLAKE2B c7b3e8b9841fb10519da063088dd1f8b2aa9791d459ce88198610394d284c182147f22bf260c7291e36a9b56903499bc43991d029e02ff009709b38557b43bff SHA512 1e0256a3903379031059723ca0d11182ed4ef5a4ae4053d47f57ae1d4c5f42b3a9c48b7fd3dceb057c492c179bc01484651bb063fb5bca4542185fdca7471b06

diff --git a/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild b/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild
new file mode 100644
index 000000000000..dc9f888eecc1
--- /dev/null
+++ b/dev-perl/Net-AMQP-RabbitMQ/Net-AMQP-RabbitMQ-2.40010.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR="MSTEMLE"
+
+inherit perl-module
+
+DESCRIPTION="interact with RabbitMQ over AMQP using librabbitmq"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-perl/Math-Int64-0.540.0"
+
+BDEPEND="${RDEPEND}
+	>=virtual/perl-ExtUtils-MakeMaker-6.660.0
+	test? (
+		net-misc/rabbitmq-server
+	)
+"
+
+src_test() {
+	einfo "Starting rabbitmq"
+	local -x RABBITMQ_LOG_BASE="${T}/rabbitmq/log"
+	local -x RABBITMQ_MNESIA_BASE="${T}/rabbitmq/mnesia"
+	local -x RABBITMQ_LOGS="${T}/rabbitmq.log"
+	local -x RABBITMQ_PID_FILE="${T}/rabbitmq.pid"
+	local -x RABBITMQ_ENABLED_PLUGINS_FILE="${T}/rabbitmq/enabled_plugins"
+	/usr/libexec/rabbitmq/rabbitmq-server -p 5672:5672 &
+
+	einfo "Waiting for rabbitmq to fully load"
+	while ! { echo >/dev/tcp/localhost/5672 ; } &> /dev/null; do
+		sleep 1
+	done
+	einfo "rabbitmq is ready"
+
+	perl-module_src_test
+
+	einfo "Stopping rabbitmq"
+	kill "$(<"${RABBITMQ_PID_FILE}")" || die
+}


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

end of thread, other threads:[~2022-10-25 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-13 10:49 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Net-AMQP-RabbitMQ/ Alexey Shvetsov
  -- strict thread matches above, loose matches on Subject: below --
2022-10-25 22:20 Alexey Shvetsov

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