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,37 +1,37 @@ PORTNAME= spotipy -DISTVERSION= 2.22.0 +DISTVERSION= 2.22.1 CATEGORIES= audio python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Light weight Python library for the Spotify Web API WWW= https://github.com/spotipy-dev/spotipy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE.md RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}redis>=3.5.3:databases/py-redis@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.25.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.15.0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26.0:net/py-urllib3@${PY_FLAVOR} USES= python USE_GITHUB= yes GH_ACCOUNT= spotipy-dev USE_PYTHON= autoplist distutils NO_ARCH= yes OPTIONS_DEFINE= DOCS EXAMPLES DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.8.0,1:textproc/py-sphinx@${PY_FLAVOR} DOCS_PORTDOCS= * .buildinfo EXAMPLES_PORTEXAMPLES= * post-install-DOCS-on: ${LOCALBASE}/bin/sphinx-build-${PYTHON_VER} -d ${WRKDIR} -b html ${WRKSRC}/docs ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}/${EXAMPLESDIR} .include 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.