head	1.13;
access;
symbols
	pkgsrc-2026Q1:1.13.0.8
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.13.0.6
	pkgsrc-2025Q4-base:1.13
	pkgsrc-2025Q3:1.13.0.4
	pkgsrc-2025Q3-base:1.13
	pkgsrc-2025Q2:1.13.0.2
	pkgsrc-2025Q2-base:1.13
	pkgsrc-2025Q1:1.12.0.4
	pkgsrc-2025Q1-base:1.12
	pkgsrc-2024Q4:1.12.0.2
	pkgsrc-2024Q4-base:1.12
	pkgsrc-2024Q3:1.10.0.6
	pkgsrc-2024Q3-base:1.10
	pkgsrc-2024Q2:1.10.0.4
	pkgsrc-2024Q2-base:1.10
	pkgsrc-2024Q1:1.10.0.2
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.9.0.6
	pkgsrc-2023Q4-base:1.9
	pkgsrc-2023Q3:1.9.0.4
	pkgsrc-2023Q3-base:1.9
	pkgsrc-2023Q2:1.9.0.2
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.8.0.10
	pkgsrc-2023Q1-base:1.8
	pkgsrc-2022Q4:1.8.0.8
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.6
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.8.0.4
	pkgsrc-2022Q2-base:1.8
	pkgsrc-2022Q1:1.8.0.2
	pkgsrc-2022Q1-base:1.8
	pkgsrc-2021Q4:1.6.0.14
	pkgsrc-2021Q4-base:1.6
	pkgsrc-2021Q3:1.6.0.12
	pkgsrc-2021Q3-base:1.6
	pkgsrc-2021Q2:1.6.0.10
	pkgsrc-2021Q2-base:1.6
	pkgsrc-2021Q1:1.6.0.8
	pkgsrc-2021Q1-base:1.6
	pkgsrc-2020Q4:1.6.0.6
	pkgsrc-2020Q4-base:1.6
	pkgsrc-2020Q3:1.6.0.4
	pkgsrc-2020Q3-base:1.6
	pkgsrc-2020Q2:1.6.0.2
	pkgsrc-2020Q2-base:1.6
	pkgsrc-2020Q1:1.5.0.6
	pkgsrc-2020Q1-base:1.5
	pkgsrc-2019Q4:1.5.0.8
	pkgsrc-2019Q4-base:1.5
	pkgsrc-2019Q3:1.5.0.4
	pkgsrc-2019Q3-base:1.5
	pkgsrc-2019Q2:1.5.0.2
	pkgsrc-2019Q2-base:1.5
	pkgsrc-2019Q1:1.4.0.4
	pkgsrc-2019Q1-base:1.4
	pkgsrc-2018Q4:1.4.0.2
	pkgsrc-2018Q4-base:1.4
	pkgsrc-2018Q3:1.3.0.2
	pkgsrc-2018Q3-base:1.3
	pkgsrc-2018Q2:1.2.0.6
	pkgsrc-2018Q2-base:1.2
	pkgsrc-2018Q1:1.2.0.4
	pkgsrc-2018Q1-base:1.2
	pkgsrc-2017Q4:1.2.0.2
	pkgsrc-2017Q4-base:1.2
	pkgsrc-2017Q3:1.1.0.6
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.2
	pkgsrc-2017Q2-base:1.1;
locks; strict;
comment	@# @;


1.13
date	2025.04.14.12.06.25;	author adam;	state Exp;
branches;
next	1.12;
commitid	0muQQtMIxClzY0RF;

1.12
date	2024.11.11.07.29.03;	author wiz;	state Exp;
branches;
next	1.11;
commitid	1fBDq3LwS98NncxF;

1.11
date	2024.10.14.06.08.41;	author wiz;	state Exp;
branches;
next	1.10;
commitid	sEjywglW9UuuQAtF;

1.10
date	2024.01.25.16.34.03;	author adam;	state Exp;
branches;
next	1.9;
commitid	XveetLFihC2YKQVE;

1.9
date	2023.04.17.17.33.21;	author adam;	state Exp;
branches;
next	1.8;
commitid	zAzyKx3RW4PnbulE;

1.8
date	2022.01.05.15.41.24;	author wiz;	state Exp;
branches;
next	1.7;
commitid	FQ77UruBIUsgzsnD;

1.7
date	2022.01.04.20.54.55;	author wiz;	state Exp;
branches;
next	1.6;
commitid	CYyhdK9qtoffkmnD;

1.6
date	2020.05.17.21.07.03;	author adam;	state Exp;
branches;
next	1.5;
commitid	tBYHIPfj5dacBD8C;

1.5
date	2019.06.15.19.04.24;	author adam;	state Exp;
branches;
next	1.4;
commitid	LeQT4bUuK7tJKjrB;

1.4
date	2018.11.28.14.48.15;	author adam;	state Exp;
branches;
next	1.3;
commitid	uT1KVM374MXkJI1B;

1.3
date	2018.07.03.09.46.42;	author adam;	state Exp;
branches;
next	1.2;
commitid	GjpUHOtjWSXQOFIA;

1.2
date	2017.09.30.14.13.08;	author adam;	state Exp;
branches;
next	1.1;
commitid	SH4u1iAkHGZlae9A;

1.1
date	2017.04.14.14.13.18;	author leot;	state Exp;
branches;
next	;
commitid	VGdQoqET6To8BvNz;


desc
@@


1.13
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@# $NetBSD: Makefile,v 1.12 2024/11/11 07:29:03 wiz Exp $

DISTNAME=	guessit-3.8.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
PKGREVISION=	1
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_PYPI:=g/guessit/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://guessit.readthedocs.io/
COMMENT=	Extracts as much information as possible from a video filename
LICENSE=	gnu-lgpl-v3

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-babelfish>=0.6.0:../../textproc/py-babelfish
DEPENDS+=	${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
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]*:../../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

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} guessit guessit-${PYVERSSUFFIX} || ${TRUE}

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.12
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/10/14 06:08:41 wiz Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.11
log
@i*: clean up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2024/01/25 16:34:03 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.10
log
@py-guessit: updated to 3.8.0

v3.8.0 (2023-12-14)

Chore

* chore: migrate setup.cfg to pyproject.toml
* chore: remove win_private_assemblies from pyinstaller spec
* chore(lint): Silence pylint

Fix

* fix(deprecated): pathlib.Path.__enter__() is deprecated
pathlib.Path.__enter__() is deprecated and scheduled for removal
in Python 3.13; Path objects as a context manager is a no-op
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/04/17 17:33:21 adam Exp $
a24 7
PYTHON_VERSIONS_INCOMPATIBLE=	27

.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 309
DEPENDS+=	${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-resources
.endif

@


1.9
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/01/05 15:41:24 wiz Exp $
d3 1
a3 1
DISTNAME=	guessit-3.7.1
d13 2
a18 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
a24 2
USE_PKG_RESOURCES=	yes

d36 1
a36 4
do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}

.include "../../lang/python/egg.mk"
@


1.8
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/01/04 20:54:55 wiz Exp $
d3 1
a3 1
DISTNAME=	guessit-3.1.1
a4 1
PKGREVISION=	2
d13 1
a13 1
DEPENDS+=	${PYPKGPREFIX}-babelfish>=0.5.5:../../textproc/py-babelfish
d15 1
a15 3
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
d17 4
a20 1
#TEST_DEPENDS+=	${PYPKGPREFIX}-test-benchmark-[0-9]*: not yet packaged
d26 7
d37 3
@


1.7
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2020/05/17 21:07:03 adam Exp $
d5 1
a5 1
PKGREVISION=	1
d24 2
@


1.6
log
@py-guessit: updated to 3.1.1

3.1.1:
Drop python 3.4 support
Use SafeLoader with yaml.load()

3.1.0:
Add python 3.8 support
Use rebulk 2.*
Remove v from subtitle_language prefix in default configuration
Add Variable Frame Rate value to other property (VFR tag)
Use episode words defined in configuration in a rebulk rule
Avoid trigger of useless rules consequences
Fix possible crash in weak episode removal
Fix issue caused by streaming_service property conflicts
Fix source validation when more than one pattern match
Fix issue with some titles on multiple fileparts
Fix issue related to website exclusion inside title
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2019/06/15 19:04:24 adam Exp $
d5 1
@


1.5
log
@py-guessit: updated to 3.0.4

3.0.4:
- screen_size property 540p was added.
- Fix audio_channel detection for 6.0
- Fix common words being detected as language
- streaming_service is now configurable in advanced options
- Add DC Universe to streaming_service
- Improve detection when release name in between brackets
- Improve language detection
- Fix wrong 3D detection
- Fix to keep separators for single characters. E.g.: S.W.A.T.
- Fix Show Name/Season SS/Ep. EE - Title
- Added This is Us to default expected titles
- Added suggested_expected to the api to support apps that uses guessit as a library
- Added Extras detection as other property
- Add more streaming sites
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2018/11/28 14:48:15 adam Exp $
d3 1
a3 1
DISTNAME=	guessit-3.0.4
d9 1
a9 1
HOMEPAGE=	https://guessit.readthedocs.io/en/latest/
d15 2
a16 1
DEPENDS+=	${PYPKGPREFIX}-rebulk>=0.9.0:../../textproc/py-rebulk
a17 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=2.7.3:../../devel/py-test
@


1.4
log
@py-guessit: updated to 3.0.3

3.0.3:
- Add MP2 audio_codec value.
- Proper and Fix have been separated in two distinct other values.
- Add 1e18 season/episode pattern.
- Fix false release_group matches with --expected-title option.
- Fix parent folder ending with a digit detected as title
- Fix wrong season/year with --type episode  option. Serie(s) keyword has been removed from default configuration.
- Fix missing property when episode_details pattern appears in title.

3.0.2:
- Ensure consistent behavior between CLI and Python module. It's now possible to override advanced_config at
runtime through options dict. Rebulk rules are lazily rebuilt when advanced_config is changed since previous
call.
- Refactored command line options and loading behavior related to configuration files (see -c CONFIG,
--config CONFIG, --no-user-config, --no-default-config)

3.0.1:
- Removed Extras and Bonus values from episode_details property as those tags may also appear in movies
- Add Scalable Video Coding, Advanced Video Codec High Definition and High Efficiency Video Coding values to
video_profile
- Add support for Python 3.7
- Add mk3d value to container
- Better title cleanup containing acronyms (like Marvel's Agents of S.H.I.E.L.D)
- Fix issue with ES audio_profile breaking titles
- Fix crash for files ending with Rip
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2018/07/03 09:46:42 adam Exp $
d3 1
a3 1
DISTNAME=	guessit-3.0.3
d25 1
a25 1
		${MV} guessit guessit-${PYVERSSUFFIX} || ${TRUE}
a26 1
.include "../../lang/python/application.mk"
@


1.3
log
@py-guessit: updated to 3.0.0

3.0.0:
Renamed format property to source.
source property Cam is now Camera or HD Camera
source property Telesync is now Telesync or HD Telesync
source property PPV is now Pay-per-view
source property DVB is now Digital TV
source property VOD is now Video on Demand
source property WEBRip is now Web with additional property other: Rip
source property WEB-DL is now Web
source property AHDTV is now Analog HDTV
source property UHDTV is now Ultra HDTV
source property HDTC is now HD Telecine
screen_size property 360i was added.
screen_size property 480i was added.
screen_size property 576i was added.
screen_size property 900i was added.
screen_size property 1440p was added.
screen_size property 4K is now 2160p
screen_size property 4320p was added.
video_codec property h264 is now H.264
video_codec property h265 is now H.265
video_codec property Mpeg2 is now MPEG-2
video_codec property Real is now RealVideo
video_codec property XviD is now Xvid
video_profile property BP is now Baseline.
video_profile property HP is now High.
video_profile property XP is now Extended.
video_profile property MP is now Main.
video_profile property Hi422P is now High 4:2:2.
video_profile property Hi444PP is now High 4:4:4 Predictive.
video_profile property High 10 was added.
video_profile property 8bit was removed. 8bit is detected as color_depth: 8-bit
video_profile property 10bit was removed. 10bit is detected as color_depth: 10-bit
audio_codec property DTS-HD was added.
audio_codec property AC3 is now Dolby Digital
audio_codec property EAC3 is now Dolby Digital Plus
audio_codec property TrueHD is now Dolby TrueHD
audio_codec property DolbyAtmos is now Dolby Atmos.
audio_profile property HE is now High Efficiency.
audio_profile property LC is now Low Complexity.
audio_profile property HQ is now High Quality.
audio_profile property HDMA is now Master Audio.
edition property Collector Edition is now Collector
edition property Special Edition is now Special
edition property Criterion Edition is now Criterion
edition property Deluxe Edition is now Deluxe
edition property Limited Edition is now Limited
edition property Theatrical Edition is now Theatrical
edition property Director's Definitive Cut was added.
episode_details property Oav and Ova were removed. They are now other: Original Animated Video
episode_details property Omake is now Extras
episode_details property Final was added.
other property Rip was added.
other property DDC was removed. DDC is now edition: Director's Definitive Cut
other property CC was removed. CC is now edition: Criterion
other property FINAL was removed. FINAL is now episode_details: Final
other property Original Animated Video was added.
other property OV is now Original Video
other property AudioFix is now Audio Fixed
other property SyncFix is now Sync Fixed
other property DualAudio is now Dual Audio
other property Fansub is now Fan Subtitled
other property Fastsub is now Fast Subtitled
other property FullHD is now Full HD
other property UltraHD is now Ultra HD
other property mHD and HDLight are now Micro HD
other property HQ is now High Quality
other property HR is now High Resolution
other property LD is now Line Dubbed
other property MD is now Mic Dubbed
other property Low Definition was added.
other property LiNE is now Line Audio
other property R5 is now Region 5
other property Region C was added.
other property ReEncoded is now Reencoded
other property WideScreen is now Widescreen
Added Ultra HD Blu-ray as new source possible value.
Added Standard Dynamic Range as new other possible value.
Added HDR10 as new other possible value.
Added Dolby Vision as new other possible value.
Added BT.2020 as new other possible value.
Added 12-bit as new color_depth possible value.
Added IMAX as new edition possible value.
Added Upscaled as new other possible value.
Added High Frame Rate as new other possible value.
Added Ultimate as new edition possible value.
Added Fan as new edition possible value.
Added High Resolution Audio as new audio_profile possible value.
Added Extended Surround as new audio_profile possible value.
Added EX as new audio_profile possible value
Added Opus as new audio_codec possible value
Added aspect_ratio as new property. Also used to validate if a screen_size is a standard resolution.
Fixed unwanted language and country detection for exotic languages.
Added default and configurable list of allowed languages and countries
Added VC-1 as new video_codec possible value
Enhanced dash-separated release_group detection.
Changed size output to return guessit.Quantity object.
Changed size output to return guessit.Size object.
Added audio_video_rate as new possible property.
Added video_video_rate as new possible property.
Added frame_rate as new possible property.
Added disc as a new possible property.
Added H.263 as new video_codec possible value.
Added VP7 as new video_codec possible value.
Added VP8 as new video_codec possible value.
Added VP9 as new video_codec possible value.
Added Vorbis as new audio_codec possible value.
Added PCM as new audio_codec possible value.
Added LPCM as new audio_codec possible value.
Added Digital Master as new source possible value.
Added several new values for streaming_service.
Added new options --includes and --excludes.
Added Sample as new other possible value.
Added Obfuscated as new other possible value.
Added Proof as new other possible value.
Added Repost as new other possible value.
Added advanced guessit configuration to config files.
Add support for pathlib.Path objects on guessit API input.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2017/09/30 14:13:08 adam Exp $
d3 1
a3 1
DISTNAME=	guessit-3.0.0
d9 1
a9 1
HOMEPAGE=	http://guessit.io/
d24 2
a25 1
	cd ${DESTDIR}${PREFIX}/bin && ${MV} guessit guessit${PYVERSSUFFIX} || ${TRUE}
@


1.2
log
@py-guessit: update to 2.1.4

2.1.4:
Fix broken match function when using rebulk>=0.9.0.

2.1.3:
Add nzb as new container possible value
Add EAC3 as new audio_codec possible value
Add FullHD as new other possible value
Added python 3.6 support
Dropped python 2.6 support
Make container values consistent and always lowercase
Fix –type movie being ignored for movies that starts with numbers
Fix invalid language detection due the common words audio, true and unknown
Fix episode type detection when series name contains year followed by SEE pattern
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2017/04/14 14:13:18 leot Exp $
d3 1
a3 1
DISTNAME=	guessit-2.1.4
d17 3
@


1.1
log
@Import py-guessit-2.1.2 as textproc/py-guessit

GuessIt is a python library that extracts as much information as possible
from a video filename.

It has a very powerful matcher that allows to guess properties from a video
using its filename only. This matcher works with both movies and tv shows
episodes.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	guessit-2.1.2
d5 1
a5 1
CATEGORIES=	textproc
a12 2
BUILD_DEPENDS+=	${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner

d15 2
a16 1
DEPENDS+=	${PYPKGPREFIX}-rebulk>=0.8.2:../../textproc/py-rebulk
d21 1
a21 1
	${MV} ${DESTDIR}${PREFIX}/bin/guessit ${DESTDIR}${PREFIX}/bin/guessit-${PYVERSSUFFIX} || ${TRUE}
@

