multimedia/py-trakit: New port: Guess additional information from track titles

TrakIt is a track name parser. It is a tiny library created to solve a very
specific problem. It's very common that video files do not have precise
metadata information, where you can have multiple subtitle tracks tagged as
e.g., Portuguese, but one of them is actually Brazilian Portuguese

WWW: https://github.com/ratoaq2/trakit

This port is a dependency of multimedia/py-subliminal port update (wip).
This commit is contained in:
Nuno Teixeira 2025-04-30 15:29:15 +01:00
parent dafbd26672
commit 6dc93fdcee
4 changed files with 38 additions and 0 deletions

View File

@ -320,6 +320,7 @@
SUBDIR += py-srt
SUBDIR += py-subliminal
SUBDIR += py-tartube
SUBDIR += py-trakit
SUBDIR += py-tvnamer
SUBDIR += py-ustreamer
SUBDIR += qmmp-plugin-pack-qt5

View File

@ -0,0 +1,30 @@
PORTNAME= trakit
DISTVERSION= 0.2.2
CATEGORIES= multimedia python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Guess additional information from track titles
WWW= https://github.com/ratoaq2/trakit
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}babelfish>=0.6.0:devel/py-babelfish@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}rebulk>=3.1.0:devel/py-rebulk@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}unidecode>=1.3.6:converters/py-unidecode@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= ratoaq2
USE_PYTHON= autoplist pep517 pytest
TESTING_UNSAFE= https://github.com/ratoaq2/trakit/issues/127
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1746021995
SHA256 (ratoaq2-trakit-0.2.2_GH0.tar.gz) = 2ac726a4eb70ed3869a02e6a7d10c8fe192ac735f0ae1fa7c45589fff0a8cd39
SIZE (ratoaq2-trakit-0.2.2_GH0.tar.gz) = 43207

View File

@ -0,0 +1,4 @@
TrakIt is a track name parser. It is a tiny library created to solve a very
specific problem. It's very common that video files do not have precise
metadata information, where you can have multiple subtitle tracks tagged as
e.g., Portuguese, but one of them is actually Brazilian Portuguese