Skip to content

Commit

Permalink
multimedia/py-srt: New port: Library and tools for parsing, modifying…
Browse files Browse the repository at this point in the history
…, and composing SRT files
  • Loading branch information
yurivict committed Oct 22, 2023
1 parent e79df2b commit 184f833
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions multimedia/Makefile
Expand Up @@ -318,6 +318,7 @@
SUBDIR += py-pymediainfo
SUBDIR += py-pysubs2
SUBDIR += py-soco
SUBDIR += py-srt
SUBDIR += py-subliminal
SUBDIR += py-tartube
SUBDIR += py-tvnamer
Expand Down
23 changes: 23 additions & 0 deletions multimedia/py-srt/Makefile
@@ -0,0 +1,23 @@
PORTNAME= srt
PORTVERSION= 3.5.3
CATEGORIES= multimedia python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= yuri@FreeBSD.org
COMMENT= Library and tools for parsing, modifying, and composing SRT files
WWW= https://github.com/Zulko/moviepy

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}

USES= python
USE_PYTHON= distutils concurrent autoplist pytest

NO_ARCH= yes

.include <bsd.port.mk>
3 changes: 3 additions & 0 deletions multimedia/py-srt/distinfo
@@ -0,0 +1,3 @@
TIMESTAMP = 1698000114
SHA256 (srt-3.5.3.tar.gz) = 4884315043a4f0740fd1f878ed6caa376ac06d70e135f306a6dc44632eed0cc0
SIZE (srt-3.5.3.tar.gz) = 28296
4 changes: 4 additions & 0 deletions multimedia/py-srt/pkg-descr
@@ -0,0 +1,4 @@
srt is a tiny Python library for parsing, modifying, and composing SRT files.

There are a number of tools shipped with the library to manipulate, process,
and fix SRT files.

0 comments on commit 184f833

Please sign in to comment.