diff options
Diffstat (limited to 'textproc/py-pysrt')
-rw-r--r-- | textproc/py-pysrt/Makefile | 25 | ||||
-rw-r--r-- | textproc/py-pysrt/distinfo | 2 | ||||
-rw-r--r-- | textproc/py-pysrt/pkg-descr | 3 |
3 files changed, 30 insertions, 0 deletions
diff --git a/textproc/py-pysrt/Makefile b/textproc/py-pysrt/Makefile new file mode 100644 index 000000000000..8ab1dab0a24e --- /dev/null +++ b/textproc/py-pysrt/Makefile @@ -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> diff --git a/textproc/py-pysrt/distinfo b/textproc/py-pysrt/distinfo new file mode 100644 index 000000000000..aa991dfdd11c --- /dev/null +++ b/textproc/py-pysrt/distinfo @@ -0,0 +1,2 @@ +SHA256 (pysrt-0.5.0.tar.gz) = 21c7919c9aa1e0fe9ed0ce9ec01792c23764de7b82f1cec70a36fa443b19e980 +SIZE (pysrt-0.5.0.tar.gz) = 14804 diff --git a/textproc/py-pysrt/pkg-descr b/textproc/py-pysrt/pkg-descr new file mode 100644 index 000000000000..96fd60b83734 --- /dev/null +++ b/textproc/py-pysrt/pkg-descr @@ -0,0 +1,3 @@ +pysrt is a Python library used to edit or create SubRip files. + +WWW: https://github.com/byroot/pysrt/ |