mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
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>
This commit is contained in:
parent
9bb896995a
commit
bde5982e36
@ -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= *
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
Loading…
Reference in New Issue
Block a user