From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/
Date: Mon, 13 Jan 2020 19:35:46 +0000 (UTC) [thread overview]
Message-ID: <1578944086.5874c4ca8a3823bd69011461cced86f303553d05.sping@gentoo> (raw)
commit: 5874c4ca8a3823bd69011461cced86f303553d05
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 19:33:28 2020 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Jan 13 19:34:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5874c4ca
dev-python/redis-py: 3.3.11 + py38
Also drop dev-python/setuptools from DEPEND
as distutils-r1 already adds it (to BDEPEND) for us.
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
dev-python/redis-py/Manifest | 1 +
dev-python/redis-py/redis-py-3.3.11.ebuild | 64 ++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/dev-python/redis-py/Manifest b/dev-python/redis-py/Manifest
index 3bc94237837..10df1a71498 100644
--- a/dev-python/redis-py/Manifest
+++ b/dev-python/redis-py/Manifest
@@ -1 +1,2 @@
DIST redis-py-3.2.1.tar.gz 124692 BLAKE2B fc7a773ab0a7e13f034b9efa174806b024733f9263b962599ce72e9a0c88b11964c26081375b6ae2de49939b59a561c145ae1b69c262b801f9b887befe9dcc0a SHA512 be51642a8895325c3c61993dd83c3299a9e2cefc1010e04f182833f720ff161bea43d3a57d28afba991949fcf6e967c4f778002967641bffe651d5db384f2e08
+DIST redis-py-3.3.11.tar.gz 131072 BLAKE2B 6becafba3da22bae796a4a9ba55d11a61d9ed1a8b693a734d4ef3f0e463c0c39a05c01546225f69eb36a788779d6e45d0136e1a6d6856ec63c3dd07994b5db9a SHA512 a32327fcebc6242367c0eda6c6dcd1a15d5d575527af2e9de0d76e05bc4afc7402566d9254e467663b81907a310731af3041236b6b135f3b8ff1429a502c1000
diff --git a/dev-python/redis-py/redis-py-3.3.11.ebuild b/dev-python/redis-py/redis-py-3.3.11.ebuild
new file mode 100644
index 00000000000..42add4480b6
--- /dev/null
+++ b/dev-python/redis-py/redis-py-3.3.11.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
+
+inherit distutils-r1
+
+MY_PN="redis"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python client for Redis key-value store"
+HOMEPAGE="https://github.com/andymccurdy/redis-py"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="test? (
+ dev-db/redis
+ dev-python/mock[${PYTHON_USEDEP}]
+ >=dev-python/pytest-2.7.0[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ # Make sure that tests will be used from BUILD_DIR rather than cwd.
+ mv tests tests-hidden || die
+
+ # Correct local import patch syntax
+ sed \
+ -e 's:from .conftest:from conftest:' \
+ -e 's:from .test_pubsub:from test_pubsub:' \
+ -i tests-hidden/test_*.py \
+ || die
+}
+
+python_compile() {
+ distutils-r1_python_compile
+
+ if use test; then
+ cp -r tests-hidden "${BUILD_DIR}"/tests || die
+ fi
+}
+
+python_test() {
+ local sock="${T}/redis.sock"
+
+ "${EPREFIX}/usr/sbin/redis-server" - <<- EOF
+ daemonize yes
+ pidfile "${T}/redis.pid"
+ unixsocket ${sock}
+ EOF
+
+ PYTHONPATH="${S}:${S}/tests-hidden"
+ esetup.py test --verbose
+ kill $(<"${T}/redis.pid")
+}
next reply other threads:[~2020-01-13 19:35 UTC|newest]
Thread overview: 94+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-13 19:35 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-02-08 18:25 [gentoo-commits] repo/gentoo:master commit in: dev-python/redis-py/ Michał Górny
2023-02-08 17:36 Michał Górny
2023-02-08 6:27 Michał Górny
2023-01-11 20:34 Michał Górny
2023-01-08 14:04 Michał Górny
2022-12-25 17:41 Michał Górny
2022-12-25 16:42 Sam James
2022-12-06 16:12 Arthur Zamarin
2022-12-06 6:02 Michał Górny
2022-11-23 8:55 Michał Górny
2022-07-26 6:17 Michał Górny
2022-07-26 1:36 Sam James
2022-07-25 7:12 Michał Górny
2022-06-27 19:08 Arthur Zamarin
2022-06-03 2:19 Sam James
2022-06-03 2:19 Sam James
2022-06-02 0:15 Sam James
2022-05-31 9:01 Sam James
2022-05-10 2:25 Sam James
2022-05-09 9:17 Michał Górny
2022-05-06 11:58 Arthur Zamarin
2022-04-17 16:46 Sam James
2022-04-05 1:11 Sam James
2022-03-31 11:33 Michał Górny
2022-03-24 10:20 Michał Górny
2022-03-16 21:41 Michał Górny
2022-03-16 19:21 Jakov Smolić
2022-03-08 17:11 Jakov Smolić
2022-02-17 20:15 Michał Górny
2022-02-17 19:30 Arthur Zamarin
2022-02-16 22:34 Michał Górny
2022-02-08 9:42 Michał Górny
2022-01-27 19:37 Arthur Zamarin
2022-01-26 20:18 Michał Górny
2022-01-26 19:57 Arthur Zamarin
2022-01-17 12:33 Arthur Zamarin
2021-12-27 2:47 Sam James
2021-12-24 7:23 Agostino Sarubbo
2021-12-24 7:07 Agostino Sarubbo
2021-12-23 22:42 Sam James
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:27 Arthur Zamarin
2021-12-23 18:21 Arthur Zamarin
2021-12-04 17:43 Arthur Zamarin
2021-12-04 17:43 Arthur Zamarin
2021-11-25 20:28 Arthur Zamarin
2021-11-25 6:47 Sam James
2021-11-25 0:54 Sam James
2021-11-23 13:30 Michał Górny
2021-11-23 13:30 Michał Górny
2021-11-23 13:30 Michał Górny
2021-11-23 8:22 Michał Górny
2021-11-23 8:12 Michał Górny
2021-11-22 23:04 Michał Górny
2021-08-16 14:18 Arthur Zamarin
2021-03-27 0:37 Sam James
2021-03-23 4:53 Sam James
2021-01-18 4:43 Sam James
2020-12-20 6:29 Sam James
2020-11-23 16:39 Sergei Trofimovich
2020-09-04 0:46 Sam James
2020-09-04 0:46 Sam James
2020-09-03 14:29 Thomas Deutschmann
2020-08-02 20:22 Sam James
2020-08-02 20:22 Sam James
2020-03-29 7:04 Michał Górny
2020-03-29 7:04 Michał Górny
2020-03-29 7:04 Michał Górny
2020-03-25 14:52 Agostino Sarubbo
2020-03-25 13:27 Agostino Sarubbo
2020-02-10 11:16 Michał Górny
2019-05-11 18:17 Matthew Thode
2019-04-09 7:05 Matthew Thode
2019-04-03 18:46 William Hubbs
2017-09-25 2:43 Zac Medico
2017-07-10 14:25 Alexis Ballier
2017-05-02 19:15 Michał Górny
2017-04-29 12:29 Jeroen Roovers
2017-04-04 21:26 Michael Weber
2017-03-28 15:48 Michael Weber
2017-03-21 14:34 Agostino Sarubbo
2017-03-21 14:18 Agostino Sarubbo
2017-03-15 9:45 Zac Medico
2017-02-23 11:57 Michael Weber
2017-02-23 8:26 Michael Weber
2017-02-23 8:20 Michael Weber
2017-02-17 14:50 Agostino Sarubbo
2017-02-17 13:44 Agostino Sarubbo
2017-01-23 6:19 Jeroen Roovers
2016-10-08 13:56 Pacho Ramos
2015-10-22 11:09 Justin Lecher
2015-10-01 20:45 Markus Meier
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=1578944086.5874c4ca8a3823bd69011461cced86f303553d05.sping@gentoo \
--to=sping@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