Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2024 09:03:25 GMT
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bde5982e3661 - main - audio/py-spotipy: Update to 2.24.0
Message-ID:  <202405310903.44V93Ptm003907@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bde5982e3661bdf4ee1b1d9d32f6bb22e214a768

commit bde5982e3661bdf4ee1b1d9d32f6bb22e214a768
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-05-31 08:57:35 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-05-31 08:57:35 +0000

    audio/py-spotipy: Update to 2.24.0
    
    - Add option CACHE (default off) to enable a cache handler
      via pymemcache
    - Remove patch files/patch-docs_conf.py
    
    Release changes:        https://github.com/spotipy-dev/spotipy/releases/tag/2.24.0
    Reported by:    Stéphane Bruckert <notifications@github.com>
---
 audio/py-spotipy/Makefile                 |  9 ++++++---
 audio/py-spotipy/distinfo                 |  6 +++---
 audio/py-spotipy/files/patch-docs_conf.py | 21 ---------------------
 3 files changed, 9 insertions(+), 27 deletions(-)

diff --git a/audio/py-spotipy/Makefile b/audio/py-spotipy/Makefile
index 055fb525a714..9abeeb2c315e 100644
--- a/audio/py-spotipy/Makefile
+++ b/audio/py-spotipy/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	spotipy
-DISTVERSION=	2.23.0
+DISTVERSION=	2.24.0
 CATEGORIES=	audio python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -22,9 +22,12 @@ USE_PYTHON=	autoplist distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_DEFINE=	CACHE DOCS EXAMPLES
 
-DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.8.0,1:textproc/py-sphinx@${PY_FLAVOR}
+CACHE_DESC=		Enable a cache handler via pymemcache
+CACHE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pymemcache>=4.0.0:databases/py-pymemcache@${PY_FLAVOR}
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=1.8.0,1:textproc/py-sphinx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>=1.0.0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR}
 DOCS_PORTDOCS=		* .buildinfo
 EXAMPLES_PORTEXAMPLES=	*
 
diff --git a/audio/py-spotipy/distinfo b/audio/py-spotipy/distinfo
index f5c3c6da384a..38d51d97ee66 100644
--- a/audio/py-spotipy/distinfo
+++ b/audio/py-spotipy/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1680938924
-SHA256 (spotipy-dev-spotipy-2.23.0_GH0.tar.gz) = 7d0b28eef68a7829bf78a3ace96d6eabc66943d8355328e15a1a0769ec15f202
-SIZE (spotipy-dev-spotipy-2.23.0_GH0.tar.gz) = 112399
+TIMESTAMP = 1717143521
+SHA256 (spotipy-dev-spotipy-2.24.0_GH0.tar.gz) = f3dfd2f891f76923847f052c65ec689cd7482ab1e3200aebeffa39661c51d137
+SIZE (spotipy-dev-spotipy-2.24.0_GH0.tar.gz) = 114822
diff --git a/audio/py-spotipy/files/patch-docs_conf.py b/audio/py-spotipy/files/patch-docs_conf.py
deleted file mode 100644
index 5aee4f1320d1..000000000000
--- a/audio/py-spotipy/files/patch-docs_conf.py
+++ /dev/null
@@ -1,21 +0,0 @@
---- docs/conf.py.orig	2023-01-23 19:00:55 UTC
-+++ docs/conf.py
-@@ -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
- # -- General configuration -----------------------------------------------------
- 
- # If your documentation needs a minimal Sphinx version, state it here.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405310903.44V93Ptm003907>