textproc/py-pysrt: SubRip (.srt) subtitle parser and writer

WWW: https://github.com/byroot/pysrt/
This commit is contained in:
William Grzybowski 2013-10-29 20:44:19 +00:00
parent 26e4658f2e
commit 8d471a418a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331998
4 changed files with 31 additions and 0 deletions

View file

@ -1177,6 +1177,7 @@
SUBDIR += py-pss
SUBDIR += py-pyctpp2
SUBDIR += py-pygments
SUBDIR += py-pysrt
SUBDIR += py-pystache
SUBDIR += py-pyx12
SUBDIR += py-qt4-xml

View file

@ -0,0 +1,25 @@
# Created by: William Grzybowski <wg@FreeBSD.org>
# $FreeBSD$
PORTNAME= pysrt
PORTVERSION= 0.5.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= SubRip (.srt) subtitle parser and writer
LICENSE= GPLv3
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_AUTOPLIST= yes
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} 's/="GPLv3",/="GPLv3", zip_safe=False,/' \
${WRKSRC}/setup.py
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (pysrt-0.5.0.tar.gz) = 21c7919c9aa1e0fe9ed0ce9ec01792c23764de7b82f1cec70a36fa443b19e980
SIZE (pysrt-0.5.0.tar.gz) = 14804

View file

@ -0,0 +1,3 @@
pysrt is a Python library used to edit or create SubRip files.
WWW: https://github.com/byroot/pysrt/