public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rq/
Date: Sun,  8 May 2022 08:47:33 +0000 (UTC)	[thread overview]
Message-ID: <1651999634.05baff1a57bb631c5242eed31e270a66a64d28a2.mgorny@gentoo> (raw)

commit:     05baff1a57bb631c5242eed31e270a66a64d28a2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May  8 08:35:34 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May  8 08:47:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05baff1a

dev-python/rq: Remove py3.8 due to sentry-sdk losing it

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/rq/rq-1.10.1-r2.ebuild | 53 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/dev-python/rq/rq-1.10.1-r2.ebuild b/dev-python/rq/rq-1.10.1-r2.ebuild
new file mode 100644
index 000000000000..881f7c8bbe31
--- /dev/null
+++ b/dev-python/rq/rq-1.10.1-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..10} )
+inherit distutils-r1
+
+DESCRIPTION="simple, lightweight library for creating and processing background jobs"
+HOMEPAGE="https://python-rq.org https://github.com/rq/rq"
+SRC_URI="https://github.com/rq/rq/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+	>=dev-python/click-5.0[${PYTHON_USEDEP}]
+	>=dev-python/redis-py-3.5.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-db/redis
+		dev-python/mock[${PYTHON_USEDEP}]
+		dev-python/psutil[${PYTHON_USEDEP}]
+		dev-python/sentry-sdk[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests --install pytest
+
+src_test() {
+	local redis_pid="${T}"/redis.pid
+	local redis_port=6379
+	local redis_test_config="daemonize yes
+		pidfile ${redis_pid}
+		port ${redis_port}
+		bind 127.0.0.1
+	"
+
+	# Spawn Redis itself for testing purposes
+	# NOTE: On sam@'s machine, spawning Redis can hang in the sandbox.
+	# I'm not restricting tests yet because this doesn't happen for anyone else AFAICT.
+	einfo "Spawning Redis"
+	einfo "NOTE: Port ${redis_port} must be free"
+	/usr/sbin/redis-server - <<< "${redis_test_config}" || die
+
+	# Run the actual tests
+	distutils-r1_src_test
+
+	# Clean up afterwards
+	kill "$(<"${redis_pid}")" || die
+}


             reply	other threads:[~2022-05-08  8:47 UTC|newest]

Thread overview: 97+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-08  8:47 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-17  9:49 [gentoo-commits] repo/gentoo:master commit in: dev-python/rq/ Michał Górny
2024-05-17  8:27 Arthur Zamarin
2024-05-02  2:00 Michał Górny
2024-03-23 11:58 Michał Górny
2024-03-23 11:53 Michał Górny
2024-03-09  7:18 Michał Górny
2024-02-25  4:07 Michał Górny
2024-01-10 10:18 Petr Vaněk
2023-11-05 16:27 Michał Górny
2023-07-24  3:34 Michał Górny
2023-07-24  3:22 Sam James
2023-06-22  5:08 Michał Górny
2023-06-01 18:40 Michał Górny
2023-06-01 18:35 Jakov Smolić
2023-05-29  7:02 Michał Górny
2023-05-27  5:32 Michał Górny
2023-05-05 17:19 Arthur Zamarin
2023-05-02  3:14 Michał Górny
2023-03-24 19:55 Michał Górny
2023-03-24 19:50 Arthur Zamarin
2023-02-23  6:19 Michał Górny
2023-02-22 20:30 Arthur Zamarin
2023-02-20  6:24 Michał Górny
2023-01-16  6:11 Michał Górny
2023-01-10  2:44 Sam James
2022-11-03 19:44 Arthur Zamarin
2022-11-03 19:38 Arthur Zamarin
2022-09-25 11:03 Michał Górny
2022-09-06 20:35 Michał Górny
2022-09-06 18:57 Arthur Zamarin
2022-07-31 18:20 Arthur Zamarin
2022-06-10  4:15 Michał Górny
2022-06-10  3:09 Sam James
2022-05-08  8:47 Michał Górny
2022-03-08 17:11 Jakov Smolić
2022-02-13 22:08 Michał Górny
2022-02-13 20:52 Jakov Smolić
2022-01-10 20:39 Arthur Zamarin
2022-01-08 13:35 Michał Górny
2022-01-08 13:30 Arthur Zamarin
2021-12-07 23:27 Michał Górny
2021-10-12  8:23 Michał Górny
2021-10-12  7:10 Agostino Sarubbo
2021-09-10  7:14 Michał Górny
2021-08-03 11:13 Michał Górny
2021-08-03 10:57 Agostino Sarubbo
2021-07-01  6:08 Sam James
2021-06-30  9:36 Sam James
2021-06-15 20:25 Sam James
2021-06-15 20:16 Sam James
2021-06-15 20:16 Sam James
2021-06-15 20:14 Sam James
2021-05-17  7:36 Michał Górny
2021-05-04 13:59 Michał Górny
2021-05-04  7:03 Agostino Sarubbo
2021-01-18 14:52 Sam James
2020-12-29  4:07 Sam James
2020-12-29  4:07 Sam James
2020-12-15 11:05 Michał Górny
2020-12-15  6:37 Sam James
2020-12-15  6:28 Sam James
2020-11-29 10:40 Michał Górny
2020-11-26  8:53 Michał Górny
2020-11-08 12:52 Sam James
2020-11-08  8:32 Michał Górny
2020-10-11 21:08 Sam James
2020-09-18 15:43 Michał Górny
2020-09-10  3:15 Sam James
2020-09-04  0:46 Sam James
2020-09-04  0:46 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-09-02  5:38 Sam James
2020-09-02  5:37 Sam James
2020-09-02  5:37 Sam James
2020-09-02  5:37 Sam James
2020-08-21 13:35 Michał Górny
2020-08-04 21:34 Sam James
2020-08-04 15:11 Sam James
2020-08-04 15:11 Sam James
2020-08-04  4:21 Sam James
2020-08-02 20:22 Sam James
2020-08-02 20:22 Sam James
2020-07-23 16:53 Sam James
2020-07-23 16:53 Sam James
2020-07-23 16:53 Sam James
2020-07-22 19:48 Sam James
2020-07-22 19:48 Sam James
2020-07-22 19:48 Sam James
2020-07-22 19:48 Sam James
2020-07-22 19:48 Sam James
2020-03-29  7:31 Michał Górny
2020-03-11 22:21 William Hubbs
2020-02-06  5:59 Michał Górny
2020-01-26 19:37 William Hubbs
2019-07-15 23:55 William Hubbs
2019-04-10 22:18 William Hubbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1651999634.05baff1a57bb631c5242eed31e270a66a64d28a2.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox