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.