git: 27beb3553afb - main - www/py-tvdb_api: Runtime fix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 08 May 2022 14:25:05 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=27beb3553afb9e379d1b6d16fa6dce99f9a12a54
commit 27beb3553afb9e379d1b6d16fa6dce99f9a12a54
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-05-08 14:21:46 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-05-08 14:21:46 +0000
www/py-tvdb_api: Runtime fix
multimedia/py-tvnamer is failing to run after Python upgrade to 3.8.13.
This update fix this runtime issue. py-tvdb_api is the core library used
by py-tvnamer.
PR: 263862
Reported by: huber.georg@gmail.com
---
www/py-tvdb_api/Makefile | 8 ++++++--
www/py-tvdb_api/distinfo | 4 +++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/www/py-tvdb_api/Makefile b/www/py-tvdb_api/Makefile
index 03276313e80b..ce8271414a85 100644
--- a/www/py-tvdb_api/Makefile
+++ b/www/py-tvdb_api/Makefile
@@ -2,18 +2,22 @@
PORTNAME= tvdb_api
PORTVERSION= 3.1.0
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PATCH_SITES= https://github.com/dbr/${PORTNAME}/commit/
+PATCHFILES+= f8db8e91377b30a6da078a43467ebf2f3b38227e.patch:-p1
+
MAINTAINER= bofh@FreeBSD.org
COMMENT= API interface to TheTVDB.com
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC}/UNLICENSE
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-cache>0:www/py-requests-cache@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
diff --git a/www/py-tvdb_api/distinfo b/www/py-tvdb_api/distinfo
index b2437b1f0711..82281196de94 100644
--- a/www/py-tvdb_api/distinfo
+++ b/www/py-tvdb_api/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1620160178
+TIMESTAMP = 1652018896
SHA256 (tvdb_api-3.1.0.tar.gz) = f63f6db99441bb202368d44aaabc956acc4202b18fc343a66bf724383ee1f563
SIZE (tvdb_api-3.1.0.tar.gz) = 23123
+SHA256 (f8db8e91377b30a6da078a43467ebf2f3b38227e.patch) = 18fe71b4947216964b629a19f9bcf106f158cff50f85e1e18086f53d2210b0d5
+SIZE (f8db8e91377b30a6da078a43467ebf2f3b38227e.patch) = 1250