From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/
Date: Sat, 4 Mar 2023 21:44:52 +0000 (UTC) [thread overview]
Message-ID: <1677966282.7141f4af1cdfba37db29c65dddea3e9ee444d553.swegener@gentoo> (raw)
commit: 7141f4af1cdfba37db29c65dddea3e9ee444d553
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 20:44:31 2023 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 21:44:42 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7141f4af
dev-python/hiredis: pep517, re-add tests
Bug: https://bugs.gentoo.org/890385
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
dev-python/hiredis/Manifest | 2 +-
.../{hiredis-2.2.2.ebuild => hiredis-2.2.2-r1.ebuild} | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/dev-python/hiredis/Manifest b/dev-python/hiredis/Manifest
index 66bc6690b936..bf1b5ba11125 100644
--- a/dev-python/hiredis/Manifest
+++ b/dev-python/hiredis/Manifest
@@ -1,2 +1,2 @@
DIST hiredis-2.0.0.tar.gz 75807 BLAKE2B dc7535f117c8ecfb2c924fe44a1cba2f02271c544588249de6794ce3aec27f66038ecb9f6364ca87b71f66ba13870a3be192eb79c1f360d2eb6dcb6dcae41caa SHA512 b9a313acdd00676dc046713a81bbf4336959f49f09bd2828997c23ca41259935047c657a4b6f81913715141a75fb6bbe7fc4429c7a5b0f4bc3d5de66b9cfa909
-DIST hiredis-2.2.2.tar.gz 84086 BLAKE2B f8a3b3baceb1b68d87202fe1fdd954d1e2a3320dab93acbe2d6f86a462ca18814c41416f84b8ba306a7c9af18560375e6523025c3b81f3c92e89620c68ed6a7e SHA512 abb6883af0d186f0ada10ebb2128cc31c8e84273b75de762097489b25a28ed4442bf33a9c088152843aadfcb4daaae6ff65a21cf0e5d8a07a60a7e3fac1ab855
+DIST hiredis-2.2.2.gh.tar.gz 18010 BLAKE2B 67ab7c3f0667d3cf33abea58fbe37bcc28beb569f6f3da966f191d00965faa5a835a286172179d6f33f4e0fa81743fa345829f04d9d89350ab1394cc0c168147 SHA512 8a42df63911000cd119da33e7fea25fa1a5244a86016818bcb6c6e12c042b12b00b7272633d85dcf921fd2eba67145e3258c64689be799a0f59766e541139120
diff --git a/dev-python/hiredis/hiredis-2.2.2.ebuild b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild
similarity index 68%
rename from dev-python/hiredis/hiredis-2.2.2.ebuild
rename to dev-python/hiredis/hiredis-2.2.2-r1.ebuild
index c92b75861004..73e4ec6b5e51 100644
--- a/dev-python/hiredis/hiredis-2.2.2.ebuild
+++ b/dev-python/hiredis/hiredis-2.2.2-r1.ebuild
@@ -3,12 +3,14 @@
EAPI=8
+DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
inherit distutils-r1
DESCRIPTION="Python extension that wraps hiredis"
HOMEPAGE="https://github.com/redis/hiredis-py/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/redis/hiredis-py/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
@@ -18,9 +20,18 @@ IUSE="system-libs"
DEPEND="system-libs? ( >=dev-libs/hiredis-1.0.0:= )"
RDEPEND="${DEPEND}"
+S="${WORKDIR}"/${PN}-py-${PV}
+
+distutils_enable_tests pytest
+
src_prepare() {
use system-libs && PATCHES+=(
"${FILESDIR}"/${P}-system-libs.patch
)
default
}
+
+python_test() {
+ cd tests
+ epytest --import-mode=append
+}
next reply other threads:[~2023-03-04 21:44 UTC|newest]
Thread overview: 85+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-04 21:44 Sven Wegener [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-10-15 6:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/hiredis/ Michał Górny
2025-06-21 6:25 Michał Górny
2025-06-07 14:20 Sam James
2025-06-07 10:07 Arthur Zamarin
2025-06-07 9:47 Arthur Zamarin
2025-05-31 11:30 Michał Górny
2025-05-31 11:21 Arthur Zamarin
2025-05-31 10:22 Arthur Zamarin
2025-05-31 10:20 Arthur Zamarin
2025-05-31 10:14 Arthur Zamarin
2025-05-23 10:55 Michał Górny
2025-05-16 20:27 Arthur Zamarin
2025-05-10 7:41 Michał Górny
2025-02-27 20:56 Michał Górny
2024-12-21 12:31 Michał Górny
2024-12-21 11:31 Michał Górny
2024-12-05 5:39 Michał Górny
2024-08-10 6:43 Michał Górny
2024-08-03 8:30 Jakov Smolić
2024-08-03 8:30 Jakov Smolić
2024-07-19 19:56 Michał Górny
2024-05-17 18:24 Michał Górny
2024-01-06 10:55 Michał Górny
2024-01-06 10:52 Michał Górny
2024-01-06 10:16 Michał Górny
2023-12-17 18:00 Arthur Zamarin
2023-08-21 8:59 Michał Górny
2023-08-20 5:43 Sam James
2023-08-19 16:08 Arthur Zamarin
2023-08-19 15:56 Arthur Zamarin
2023-07-15 10:59 Sven Wegener
2023-07-08 6:05 Michał Górny
2023-07-07 21:22 Sam James
2023-07-05 5:56 Arthur Zamarin
2023-05-29 12:26 Michał Górny
2023-05-08 12:06 Michał Górny
2023-05-04 16:17 Michał Górny
2023-04-05 8:28 Arthur Zamarin
2023-04-05 7:59 Jakov Smolić
2023-04-05 7:35 Arthur Zamarin
2023-04-05 7:00 Arthur Zamarin
2023-03-05 8:48 Sven Wegener
2023-02-24 20:40 Sven Wegener
2022-05-31 10:20 Sam James
2022-03-08 17:11 Jakov Smolić
2021-12-02 14:17 Michał Górny
2021-12-02 13:08 Arthur Zamarin
2021-12-02 13:05 Arthur Zamarin
2021-12-02 13:05 Arthur Zamarin
2021-12-02 9:13 Agostino Sarubbo
2021-11-19 8:37 Arthur Zamarin
2021-11-19 7:59 Arthur Zamarin
2021-10-27 3:36 Sam James
2021-10-26 21:33 Sven Wegener
2021-10-11 18:21 Sven Wegener
2021-09-07 18:56 Sam James
2021-09-07 2:47 Sam James
2021-09-06 21:26 Sam James
2021-08-19 11:38 Sam James
2021-08-16 19:09 Arthur Zamarin
2021-08-01 23:49 Sam James
2021-06-05 13:52 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-20 20:34 Michał Górny
2020-12-20 19:07 Thomas Deutschmann
2020-11-15 14:29 Sven Wegener
2020-11-15 8:54 Sven Wegener
2020-11-15 8:54 Sven Wegener
2020-11-15 8:54 Sven Wegener
2020-11-15 8:54 Sven Wegener
2020-05-02 20:18 Sven Wegener
2020-04-12 6:29 Joonas Niilola
2020-04-01 21:35 Sven Wegener
2020-04-01 11:38 Sven Wegener
2020-03-21 21:31 Sven Wegener
2019-05-31 0:57 Aaron Bauman
2018-06-26 16:18 Mikle Kolyada
2018-06-26 2:04 Aaron Bauman
2017-02-28 20:14 Markus Meier
2017-02-25 14:20 Markus Meier
2017-02-17 10:42 Agostino Sarubbo
2017-02-09 14:37 Agostino Sarubbo
2016-06-14 11:13 Alexis Ballier
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=1677966282.7141f4af1cdfba37db29c65dddea3e9ee444d553.swegener@gentoo \
--to=swegener@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