From nobody Sun Jul 21 12:22:13 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WRjGF62Chz5RQMJ; Sun, 21 Jul 2024 12:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WRjGF460wz4LSB; Sun, 21 Jul 2024 12:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721564533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LNTm3rT4TJ5Sbn4JyuglEPH3CrwrMepUvv44EkoztwQ=; b=tT5G3Q6nQDLoCtcOrccKDWcIEBV953o+2AwRQt8MhtP2FbyFmgsq8WDSAmnDocD7AcZBsz qYisheNqRHXLkxmUawLi1mM5BTp/wdn6TYpNu5yECxV6ze815imU56wDddLr+tsZ8i+Vgy EiPKCtEolEQseyp1VPs/ztiNFiF77xECnY4uMoQzSYXzkUlgjf4QrnZpMtoPjWEp9O1V7Z ocp2yU4UCZZuz9ufhsjMK6AaeJ+6dGnaUWNjJ8/dIkPlsNsrlS1j/OCYlxdOYRIW3yPBs4 PbjsTmfoR7Od+V7goIiMTLCU6B4p0vhykVNb/9gGY9He2i/0zXImor99ObAjvg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721564533; a=rsa-sha256; cv=none; b=NVFb1xoVq6cJBodURjPCMTFRMteemLVgVJo3c5sJddgFpfwp/8kpldDGCrMIqdbJ1tV/Sm yTWMexHzFsfANJEz5Rg4yhFyAjGZKagDMHxZ8e/L2VrkJT6kbNTQqp2jtrezGm4xyGdGWn h+oBdzT8nGSETMHiRbRWxSVfPV1O1OlqxCxyZZ5Ig6zEZF4r5BKOiF4obAsBpNyILMyJDG KtJEPMVKQPjingqYptv3vljyCw7gnx2n6bqyFqcWSd/mlkXIoltkqvrxyGV7nvoyB/xnOL O2vW96VFK0M4sMLDQAOcq4BViD4r619gK4ehX00YwwXDK+iu+hcaRPYZz0im7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721564533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LNTm3rT4TJ5Sbn4JyuglEPH3CrwrMepUvv44EkoztwQ=; b=gw37Uji9KHyPDXh6HVxPLxqHFrxeCoKRElNy5yGDoWX/3AxBRomiz5bGsp7ASPaleKkpsH JRQBXQcTaqM5K/gI0kxkGEKTcOIsyD4fWYSoPQpDHm2k1AQ95j2JtrXszhkQ+fzudk086u OetFQhD7aw5+JhtGn0aCAptHvqIRBgt9sR6FG5795TVRNcFd8f2zMsIP9Kv3mtVjaaTyRX kAha3dj9wTOY47rU0jZqfcQV7Bik0Q+cB+VH145wB6ZhSB0XbkBsYYZu4eqeUUHaSbcopH NkZZNB41aL01Ge6vvmq37cDe5emGiZQ+2fFdy3aE+mvsJt/WD6P18Bc0kFiK5w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WRjGF3kRgz10gq; Sun, 21 Jul 2024 12:22:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46LCMDV7035226; Sun, 21 Jul 2024 12:22:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46LCMD74035223; Sun, 21 Jul 2024 12:22:13 GMT (envelope-from git) Date: Sun, 21 Jul 2024 12:22:13 GMT Message-Id: <202407211222.46LCMD74035223@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 20bdbe43fb41 - main - multimedia/py-subliminal: Update to 2.2.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20bdbe43fb410adc8d0e1ed612a77675d1b38463 Auto-Submitted: auto-generated The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=20bdbe43fb410adc8d0e1ed612a77675d1b38463 commit 20bdbe43fb410adc8d0e1ed612a77675d1b38463 Author: Nuno Teixeira AuthorDate: 2024-07-21 12:12:03 +0000 Commit: Nuno Teixeira 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/