aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2023-02-02 13:59:58 +0000
committerNicola Vitale <nivit@FreeBSD.org>2023-02-02 13:59:58 +0000
commited8b89e7d2bb3df9cad37e9f1fb1f6d3da29c727 (patch)
treee9f694eeddf76d68a0e5d53039955b523da5f89a
parent3158cc455d07a5af0467facc74c5abecbd75a48a (diff)
downloadports-ed8b89e7d2bb3df9cad37e9f1fb1f6d3da29c727.tar.gz
ports-ed8b89e7d2bb3df9cad37e9f1fb1f6d3da29c727.zip
audio/py-spotipy: Update to 2.22.1
Changes: https://github.com/spotipy-dev/spotipy/releases/tag/2.22.1 This is also a security release. Reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-23608 Security: CVE-2023-23608
-rw-r--r--audio/py-spotipy/Makefile2
-rw-r--r--audio/py-spotipy/distinfo6
-rw-r--r--audio/py-spotipy/files/patch-docs_conf.py16
3 files changed, 17 insertions, 7 deletions
diff --git a/audio/py-spotipy/Makefile b/audio/py-spotipy/Makefile
index be825eee30e2..1474e1d0056c 100644
--- a/audio/py-spotipy/Makefile
+++ b/audio/py-spotipy/Makefile
@@ -1,5 +1,5 @@
PORTNAME= spotipy
-DISTVERSION= 2.22.0
+DISTVERSION= 2.22.1
CATEGORIES= audio python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/audio/py-spotipy/distinfo b/audio/py-spotipy/distinfo
index 1593af001406..455266c045d5 100644
--- a/audio/py-spotipy/distinfo
+++ b/audio/py-spotipy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671214324
-SHA256 (spotipy-dev-spotipy-2.22.0_GH0.tar.gz) = d5cc2672f249d339ba2054d4a0228a1670bc43fd9942f0e7c62fbe99e16f97e2
-SIZE (spotipy-dev-spotipy-2.22.0_GH0.tar.gz) = 109714
+TIMESTAMP = 1674727168
+SHA256 (spotipy-dev-spotipy-2.22.1_GH0.tar.gz) = f82ddd9d1a0da7d782cd70bc0fdc5943118958f6c93d8b9feedcff676ff2b419
+SIZE (spotipy-dev-spotipy-2.22.1_GH0.tar.gz) = 111228
diff --git a/audio/py-spotipy/files/patch-docs_conf.py b/audio/py-spotipy/files/patch-docs_conf.py
index faf767862f62..5aee4f1320d1 100644
--- a/audio/py-spotipy/files/patch-docs_conf.py
+++ b/audio/py-spotipy/files/patch-docs_conf.py
@@ -1,11 +1,21 @@
---- docs/conf.py.orig 2022-12-10 15:31:47 UTC
+--- docs/conf.py.orig 2023-01-23 19:00:55 UTC
+++ docs/conf.py
-@@ -17,7 +17,7 @@ import sys, os
+@@ -11,7 +11,6 @@
+ # All configuration values have a default; values that are commented out
+ # serve to show the default.
+
+-import spotipy
+ import sys
+ import os
+
+@@ -19,8 +18,9 @@ import os
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
-sys.path.insert(0, os.path.abspath('.'))
+sys.path.insert(0, os.path.abspath(os.path.join('..')))
- import spotipy
++import spotipy
# -- General configuration -----------------------------------------------------
+
+ # If your documentation needs a minimal Sphinx version, state it here.