pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-guessit



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Apr 17 17:33:21 UTC 2023

Modified Files:
        pkgsrc/textproc/py-guessit: Makefile PLIST distinfo

Log Message:
py-guessit:updated to 3.7.1

v3.7.0(2023-02-18)
Feature
***week:** Add week property

Fix
***episode:** Fix invalid episode range when a weak episode is present before the match
***expected:** Build output from input string for expected_title/expected_group
***release_group:** Properly extract group name from format "Title (MediaInfo Individual) [Group]"
***edition:** Improve remastered/restored detection
***container:** Add m2ts to container extensions

Documentation
***contributing:** Update branch name

v3.6.0 (2023-02-18)
Feature
***audio_codec:** Detect "DTS:X"

v3.5.0 (2022-11-01)
Feature
***dependencies:** Drop Python 3.6 support

Fix
***audio_codec:** Detect "E-AC-3" and "AC-3"
***typo:** Fix common typo

v3.4.3 (2021-11-20)
Fix
***setuptools:** Drop usage of test_requires and setup_requires

v3.4.2 (2021-11-08)
Fix
***dependencies:** Use babelfish>=0.6.0

v3.4.1 (2021-11-05)
Fix
***other:** Detect "Open Matte" with non-space separator
***packaging:** Use stdlib importlib.resources in py 3.7+

v3.4.0 (2021-11-04)
Feature
***other:** Add restored support and match 4k-* patterns
***other:** Add 2in1 support
***python:** Add python 3.10 support, drop python 3.5 support
***audio_channels:** Add support for "1.0" audio channels
***streaming_service:** Add more streaming services
***other:** Add ONA/OAD support
***other:** Add Repack and ReRip followed by a digit support


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/py-guessit/Makefile \
    pkgsrc/textproc/py-guessit/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/py-guessit/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/py-guessit/Makefile
diff -u pkgsrc/textproc/py-guessit/Makefile:1.8 pkgsrc/textproc/py-guessit/Makefile:1.9
--- pkgsrc/textproc/py-guessit/Makefile:1.8     Wed Jan  5 15:41:24 2022
+++ pkgsrc/textproc/py-guessit/Makefile Mon Apr 17 17:33:21 2023
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:24 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2023/04/17 17:33:21 adam Exp $
 
-DISTNAME=      guessit-3.1.1
+DISTNAME=      guessit-3.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/guessit/}
 
@@ -11,21 +10,32 @@ HOMEPAGE=   https://guessit.readthedocs.io
 COMMENT=       Extracts as much information as possible from a video filename
 LICENSE=       gnu-lgpl-v3
 
-DEPENDS+=      ${PYPKGPREFIX}-babelfish>=0.5.5:../../textproc/py-babelfish
+DEPENDS+=      ${PYPKGPREFIX}-babelfish>=0.6.0:../../textproc/py-babelfish
 DEPENDS+=      ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
-DEPENDS+=      ${PYPKGPREFIX}-rebulk>=2.0.0:../../textproc/py-rebulk
-DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
-BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+DEPENDS+=      ${PYPKGPREFIX}-rebulk>=3.2.0:../../textproc/py-rebulk
 TEST_DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml
-#TEST_DEPENDS+=        ${PYPKGPREFIX}-test-benchmark-[0-9]*: not yet packaged
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
 
 USE_LANGUAGES= # none
 
 USE_PKG_RESOURCES=     yes
 
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 309
+DEPENDS+=      ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
+.endif
+
 post-install:
        cd ${DESTDIR}${PREFIX}/bin && \
        ${MV} guessit guessit-${PYVERSSUFFIX} || ${TRUE}
 
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/py-guessit/distinfo
diff -u pkgsrc/textproc/py-guessit/distinfo:1.8 pkgsrc/textproc/py-guessit/distinfo:1.9
--- pkgsrc/textproc/py-guessit/distinfo:1.8     Tue Oct 26 11:23:04 2021
+++ pkgsrc/textproc/py-guessit/distinfo Mon Apr 17 17:33:21 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:23:04 nia Exp $
+$NetBSD: distinfo,v 1.9 2023/04/17 17:33:21 adam Exp $
 
-BLAKE2s (guessit-3.1.1.tar.gz) = 07eab5c0bca2f0bd61a4f0a3417c5f0d70be045dd4d412fceefd328343457c7b
-SHA512 (guessit-3.1.1.tar.gz) = 6a02c4024d286cf49c62e072bcb616a052cec1ce51d364b17cea1768504c4ecebba914a3bf5beda9a61dca0e7764c8642cb5b918a20fb25cdd7120ad1667825f
-Size (guessit-3.1.1.tar.gz) = 147605 bytes
+BLAKE2s (guessit-3.7.1.tar.gz) = 1c61b89e2e8d1604a525713754aa0d0f4b6213b135787887a7d167b737517f17
+SHA512 (guessit-3.7.1.tar.gz) = 4932407ca3a283a756291a69ef4cd4dcd96ea9c37b6d30331f134b2285960afb1f6adecdb299474ef7dfdea4b6e2e029ddab0789998efe7aea13d0e5bb8c54d6
+Size (guessit-3.7.1.tar.gz) = 161488 bytes

Index: pkgsrc/textproc/py-guessit/PLIST
diff -u pkgsrc/textproc/py-guessit/PLIST:1.6 pkgsrc/textproc/py-guessit/PLIST:1.7
--- pkgsrc/textproc/py-guessit/PLIST:1.6        Sun May 17 21:07:03 2020
+++ pkgsrc/textproc/py-guessit/PLIST    Mon Apr 17 17:33:21 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2020/05/17 21:07:03 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2023/04/17 17:33:21 adam Exp $
 bin/guessit-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -19,10 +19,14 @@ ${PYSITELIB}/guessit/__version__.pyo
 ${PYSITELIB}/guessit/api.py
 ${PYSITELIB}/guessit/api.pyc
 ${PYSITELIB}/guessit/api.pyo
-${PYSITELIB}/guessit/backports.py
-${PYSITELIB}/guessit/backports.pyc
-${PYSITELIB}/guessit/backports.pyo
+${PYSITELIB}/guessit/config/__init__.py
+${PYSITELIB}/guessit/config/__init__.pyc
+${PYSITELIB}/guessit/config/__init__.pyo
 ${PYSITELIB}/guessit/config/options.json
+${PYSITELIB}/guessit/data/__init__.py
+${PYSITELIB}/guessit/data/__init__.pyc
+${PYSITELIB}/guessit/data/__init__.pyo
+${PYSITELIB}/guessit/data/tlds-alpha-by-domain.txt
 ${PYSITELIB}/guessit/jsonutils.py
 ${PYSITELIB}/guessit/jsonutils.pyc
 ${PYSITELIB}/guessit/jsonutils.pyo
@@ -95,9 +99,9 @@ ${PYSITELIB}/guessit/rules/properties/bi
 ${PYSITELIB}/guessit/rules/properties/bonus.py
 ${PYSITELIB}/guessit/rules/properties/bonus.pyc
 ${PYSITELIB}/guessit/rules/properties/bonus.pyo
-${PYSITELIB}/guessit/rules/properties/cds.py
-${PYSITELIB}/guessit/rules/properties/cds.pyc
-${PYSITELIB}/guessit/rules/properties/cds.pyo
+${PYSITELIB}/guessit/rules/properties/cd.py
+${PYSITELIB}/guessit/rules/properties/cd.pyc
+${PYSITELIB}/guessit/rules/properties/cd.pyo
 ${PYSITELIB}/guessit/rules/properties/container.py
 ${PYSITELIB}/guessit/rules/properties/container.pyc
 ${PYSITELIB}/guessit/rules/properties/container.pyo
@@ -176,7 +180,7 @@ ${PYSITELIB}/guessit/test/rules/__init__
 ${PYSITELIB}/guessit/test/rules/__init__.pyo
 ${PYSITELIB}/guessit/test/rules/audio_codec.yml
 ${PYSITELIB}/guessit/test/rules/bonus.yml
-${PYSITELIB}/guessit/test/rules/cds.yml
+${PYSITELIB}/guessit/test/rules/cd.yml
 ${PYSITELIB}/guessit/test/rules/common_words.yml
 ${PYSITELIB}/guessit/test/rules/country.yml
 ${PYSITELIB}/guessit/test/rules/date.yml
@@ -219,7 +223,6 @@ ${PYSITELIB}/guessit/test/test_yml.py
 ${PYSITELIB}/guessit/test/test_yml.pyc
 ${PYSITELIB}/guessit/test/test_yml.pyo
 ${PYSITELIB}/guessit/test/various.yml
-${PYSITELIB}/guessit/tlds-alpha-by-domain.txt
 ${PYSITELIB}/guessit/yamlutils.py
 ${PYSITELIB}/guessit/yamlutils.pyc
 ${PYSITELIB}/guessit/yamlutils.pyo



Home | Main Index | Thread Index | Old Index