git: 20bdbe43fb41 - main - multimedia/py-subliminal: Update to 2.2.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jul 2024 12:22:13 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=20bdbe43fb410adc8d0e1ed612a77675d1b38463 commit 20bdbe43fb410adc8d0e1ed612a77675d1b38463 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2024-07-21 12:12:03 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2024-07-21 12:22:00 +0000 multimedia/py-subliminal: Update to 2.2.1 - Switch to pep517 build - Add pytest ChangeLog: https://github.com/Diaoul/subliminal/blob/2.2.1/HISTORY.rst PR: 279982 --- multimedia/py-subliminal/Makefile | 36 +++++++++++++--------- multimedia/py-subliminal/distinfo | 6 ++-- .../py-subliminal/files/patch-pyproject.toml | 10 ++++++ 3 files changed, 35 insertions(+), 17 deletions(-) diff --git a/multimedia/py-subliminal/Makefile b/multimedia/py-subliminal/Makefile index b1c3b624980b..28a0ad2c3d36 100644 --- a/multimedia/py-subliminal/Makefile +++ b/multimedia/py-subliminal/Makefile @@ -1,5 +1,5 @@ PORTNAME= subliminal -PORTVERSION= 2.1.0 +DISTVERSION= 2.2.1 CATEGORIES= multimedia python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,23 +11,31 @@ WWW= https://subliminal.readthedocs.org/en/latest/index.html LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.0:www/py-beautifulsoup@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}enzyme>=0.4.1:multimedia/py-enzyme@${PY_FLAVOR} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}babelfish>=0.6.1:devel/py-babelfish@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.0:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}chardet>=5.0:textproc/py-chardet@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click-option-group>0.5.6:devel/py-click-option-group@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=1.0:devel/py-dogpile.cache@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}enzyme>=0.5.0:multimedia/py-enzyme@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}guessit>=3.0.0:multimedia/py-guessit@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>=4.0:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}stevedore>=1.0.0:devel/py-stevedore@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}chardet>=2.3.0:textproc/py-chardet@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pysrt>=1.0.1:textproc/py-pysrt@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}babelfish>=0.5.2:devel/py-babelfish@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}dogpile.cache>=0.6.0:devel/py-dogpile.cache@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}appdirs>=1.3:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}platformdirs>4.2:devel/py-platformdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pysubs2>1.7:multimedia/py-pysubs2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}rarfile>=2.7:archivers/py-rarfile@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytz>=2012c:devel/py-pytz@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}requests>=2.0.1:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}srt>3.5:multimedia/py-srt@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}stevedore>=3.0:devel/py-stevedore@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tomli>2:textproc/py-tomli@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vcrpy>0:devel/py-vcrpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 pytest + +PYTEST_BROKEN_TESTS= test_refine_video_metadata # https://github.com/Diaoul/subliminal/issues/1157 NO_ARCH= yes diff --git a/multimedia/py-subliminal/distinfo b/multimedia/py-subliminal/distinfo index 539ef4ca70e1..6f63d414b79d 100644 --- a/multimedia/py-subliminal/distinfo +++ b/multimedia/py-subliminal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1589739575 -SHA256 (subliminal-2.1.0.tar.gz) = c6439cc733a4f37f01f8c14c096d44fd28d75d1f6f6e2d1d1003b1b82c65628b -SIZE (subliminal-2.1.0.tar.gz) = 52468 +TIMESTAMP = 1721552662 +SHA256 (subliminal-2.2.1.tar.gz) = 2ed6024a07bbb3c68fe3db76374244ad91adfca9d93fc24d3ddb9ef61825756e +SIZE (subliminal-2.2.1.tar.gz) = 3122221 diff --git a/multimedia/py-subliminal/files/patch-pyproject.toml b/multimedia/py-subliminal/files/patch-pyproject.toml new file mode 100644 index 000000000000..b71bc0bb7ec7 --- /dev/null +++ b/multimedia/py-subliminal/files/patch-pyproject.toml @@ -0,0 +1,10 @@ +--- pyproject.toml.orig 2024-06-25 06:59:42 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ + # https://peps.python.org/pep-0517/ + [build-system] +-requires = ["setuptools>=64"] ++requires = ["setuptools>=63"] + build-backend = "setuptools.build_meta" + + # https://peps.python.org/pep-0621/