Github messages for voidlinux
 help / color / mirror / Atom feed
From: ahesford <ahesford@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-redis: update to 4.3.4
Date: Wed, 12 Oct 2022 15:29:16 +0200	[thread overview]
Message-ID: <20221012132916.Uzc3tDpKOtMTSFXrnUEYecXfyo1iFSGihWJ5q97AjxI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39904@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 460 bytes --]

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages python3-redis-4.3.4
https://github.com/void-linux/void-packages/pull/39904

python3-redis: update to 4.3.4
@abenson I see no reference to `redis` anywhere in the `ytmdl` repository. Please confirm that removing this dependency is OK.

A patch file from https://github.com/void-linux/void-packages/pull/39904.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-redis-4.3.4-39904.patch --]
[-- Type: text/x-diff, Size: 6741 bytes --]

From da0377ffeb5cefe1613dc66b95c4b0be986cff23 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:51:55 -0400
Subject: [PATCH 1/5] New package: python3-deprecated-1.2.13

---
 srcpkgs/python3-deprecated/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-deprecated/template

diff --git a/srcpkgs/python3-deprecated/template b/srcpkgs/python3-deprecated/template
new file mode 100644
index 000000000000..4eb400ffd0dd
--- /dev/null
+++ b/srcpkgs/python3-deprecated/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-deprecated'
+pkgname=python3-deprecated
+version=1.2.13
+revision=1
+wrksrc="deprecated-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-wrapt"
+checkdepends="python3-pytest-xdist python3-wrapt"
+short_desc="Python decorator to deprecate old clases, functions or methods"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
+license="MIT"
+homepage="https://github.com/tantale/deprecated"
+changelog="https://raw.githubusercontent.com/tantale/deprecated/master/CHANGELOG.rst"
+distfiles="${homepage}/archive/v${version}.tar.gz"
+checksum=771e20e93bb4bc497bd9955829d36074dd7608962846c0b34a92ff68ed7ebad9
+
+post_install() {
+	vlicense LICENSE.rst
+}

From 277dad5284bcbb5161b48563f178998bd90c96c3 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:57:18 -0400
Subject: [PATCH 2/5] python3-redis: update to 4.3.4.

---
 srcpkgs/python3-redis/template | 15 +++++++++------
 srcpkgs/python3-redis/update   |  1 +
 2 files changed, 10 insertions(+), 6 deletions(-)
 create mode 100644 srcpkgs/python3-redis/update

diff --git a/srcpkgs/python3-redis/template b/srcpkgs/python3-redis/template
index f228a1c88df3..86d803932946 100644
--- a/srcpkgs/python3-redis/template
+++ b/srcpkgs/python3-redis/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-redis'
 pkgname=python3-redis
-version=3.5.3
-revision=4
+version=4.3.4
+revision=1
 wrksrc="redis-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3"
+depends="python3-deprecated python3-async-timeout python3-packaging"
 short_desc="Python3 client for Redis key-value store"
-maintainer="Orphaned <orphan@voidlinux.org>"
+maintainer="Andrew J. Hesford <ajh@sideband.org>"
 license="MIT"
-homepage="https://github.com/andymccurdy/redis-py"
+homepage="https://github.com/redis/redis-py"
+changelog="https://raw.githubusercontent.com/redis/redis-py/master/CHANGES"
 distfiles="${PYPI_SITE}/r/redis/redis-${version}.tar.gz"
-checksum=0e7e0cfca8660dea8b7d5cd8c4f6c5e29e11f31158c0b0ae91a397f00e5a05a2
+checksum=ddf27071df4adf3821c4f2ca59d67525c3a82e5f268bed97b813cb4fabf87880
+replaces="python3-aioredis<=2.0.1_1"
+make_check=no # tests require a running redis server
 
 post_install() {
 	vlicense LICENSE
diff --git a/srcpkgs/python3-redis/update b/srcpkgs/python3-redis/update
new file mode 100644
index 000000000000..e299d00ea67c
--- /dev/null
+++ b/srcpkgs/python3-redis/update
@@ -0,0 +1 @@
+ignore="*rc*"

From 214f97305954c6246feff63d94864eee267f8b9c Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:57:43 -0400
Subject: [PATCH 3/5] python3-aioredis: remove package

This package has been superseded by python3-redis>=4.2.0, see

    https://raw.githubusercontent.com/aio-libs/aioredis-py/master/README.md
---
 srcpkgs/python3-aioredis/template | 20 --------------------
 1 file changed, 20 deletions(-)
 delete mode 100644 srcpkgs/python3-aioredis/template

diff --git a/srcpkgs/python3-aioredis/template b/srcpkgs/python3-aioredis/template
deleted file mode 100644
index fee5bba3139b..000000000000
--- a/srcpkgs/python3-aioredis/template
+++ /dev/null
@@ -1,20 +0,0 @@
-# Template file for 'python3-aioredis'
-pkgname=python3-aioredis
-version=2.0.1
-revision=1
-wrksrc="aioredis-py-${version}"
-build_style=python3-module
-hostmakedepends="python3-setuptools"
-depends="python3-async-timeout python3-typing_extensions python3-hiredis"
-short_desc="Asynchronous Redis client for Python"
-maintainer="Andrew J. Hesford <ajh@sideband.org>"
-license="MIT"
-homepage="https://github.com/aio-libs/aioredis"
-distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=ee647e340c5436f2e5a07f2369fdb164abc2714c7ab3561c544015d974021b57
-# checks require a locally running redis server
-make_check="no"
-
-post_install() {
-	vlicense LICENSE
-}

From b503a7634b77385af90a3ca3177ad7d2fad1b40a Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Tue, 11 Oct 2022 21:59:42 -0400
Subject: [PATCH 4/5] ytmdl: remove unnecessary python3-redis dependency

---
 srcpkgs/ytmdl/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/ytmdl/template b/srcpkgs/ytmdl/template
index 2575c3ee61d1..52a118f2dfd6 100644
--- a/srcpkgs/ytmdl/template
+++ b/srcpkgs/ytmdl/template
@@ -1,7 +1,7 @@
 # Template file for 'ytmdl'
 pkgname=ytmdl
 version=2022.03.16
-revision=2
+revision=3
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama
@@ -10,7 +10,7 @@ depends="ffmpeg youtube-dl python3-mutagen python3-requests python3-colorama
  python3-Unidecode python3-urllib3 python3-youtube-search
  python3-pyDes python3-simber python3-rich python3-musicbrainzngs
  python3-typing_extensions python3-ytmusicapi python3-youtubesearch
- python3-spotipy python3-redis"
+ python3-spotipy"
 short_desc="Get songs from youtube in mp3 format with all tags from itunes"
 maintainer="Andrew Benson <abenson+void@gmail.com>"
 license="MIT"

From e59b654b5ae253e3d66f4a378449981ab325ce0e Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Wed, 12 Oct 2022 09:28:06 -0400
Subject: [PATCH 5/5] python3-spotipy: add missing python3-redis dependency

---
 srcpkgs/python3-spotipy/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-spotipy/template b/srcpkgs/python3-spotipy/template
index 6ea9e629df06..1132f7ca36ae 100644
--- a/srcpkgs/python3-spotipy/template
+++ b/srcpkgs/python3-spotipy/template
@@ -1,12 +1,12 @@
 # Template file for 'python3-spotipy'
 pkgname=python3-spotipy
 version=2.20.0
-revision=1
+revision=2
 wrksrc="spotipy-${version}"
 build_style=python3-module
 hostmakedepends="pkg-config python3-setuptools"
 makedepends="python3-devel"
-depends="python3-requests python3-six python3-urllib3"
+depends="python3-requests python3-six python3-urllib3 python3-redis"
 short_desc="Light weight Python library for the Spotify Web API"
 maintainer="Eloi Torrents <eloitor@disroot.org>"
 license="MIT"

  parent reply	other threads:[~2022-10-12 13:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-12  2:00 [PR PATCH] " ahesford
2022-10-12 12:15 ` abenson
2022-10-12 12:21 ` abenson
2022-10-12 12:24 ` ahesford
2022-10-12 12:50 ` abenson
2022-10-12 12:51 ` abenson
2022-10-12 13:29 ` ahesford [this message]
2022-10-12 13:35 ` [PR PATCH] [Merged]: " ahesford
  -- strict thread matches above, loose matches on Subject: below --
2022-10-05  2:33 [PR PATCH] " StaticVoidMoon
2022-10-06 15:48 ` [PR PATCH] [Updated] " StaticVoidMoon

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=20221012132916.Uzc3tDpKOtMTSFXrnUEYecXfyo1iFSGihWJ5q97AjxI@z \
    --to=ahesford@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).