summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2017-04-14 13:57:51 +0000
committerleot <leot@pkgsrc.org>2017-04-14 13:57:51 +0000
commit438dbcebc95e8dd86bb8a8c7870d356e56ccab45 (patch)
tree3be4caf6413d13b7b9da2bbd2fea203f21e26c80 /textproc
parentfbe05071241d3799aad010db1b35633f3f5c09f7 (diff)
downloadpkgsrc-438dbcebc95e8dd86bb8a8c7870d356e56ccab45.tar.gz
Import py-pysrt-1.1.1 as textproc/py-pysrt
pysrt is a Python library used to edit or create SubRip files.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-pysrt/ALTERNATIVES1
-rw-r--r--textproc/py-pysrt/DESCR1
-rw-r--r--textproc/py-pysrt/Makefile22
-rw-r--r--textproc/py-pysrt/PLIST35
-rw-r--r--textproc/py-pysrt/distinfo6
5 files changed, 65 insertions, 0 deletions
diff --git a/textproc/py-pysrt/ALTERNATIVES b/textproc/py-pysrt/ALTERNATIVES
new file mode 100644
index 00000000000..631d91d721c
--- /dev/null
+++ b/textproc/py-pysrt/ALTERNATIVES
@@ -0,0 +1 @@
+bin/srt @PREFIX@/bin/srt-@PYVERSSUFFIX@
diff --git a/textproc/py-pysrt/DESCR b/textproc/py-pysrt/DESCR
new file mode 100644
index 00000000000..1f9d0141181
--- /dev/null
+++ b/textproc/py-pysrt/DESCR
@@ -0,0 +1 @@
+pysrt is a Python library used to edit or create SubRip files.
diff --git a/textproc/py-pysrt/Makefile b/textproc/py-pysrt/Makefile
new file mode 100644
index 00000000000..765f77c38e1
--- /dev/null
+++ b/textproc/py-pysrt/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 13:57:51 leot Exp $
+
+DISTNAME= pysrt-1.1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pysrt/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/byroot/pysrt
+COMMENT= Python parser for SubRip (srt) files
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
+
+USE_LANGUAGES= # none
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/srt ${DESTDIR}${PREFIX}/bin/srt-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-pysrt/PLIST b/textproc/py-pysrt/PLIST
new file mode 100644
index 00000000000..133e70424a6
--- /dev/null
+++ b/textproc/py-pysrt/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 13:57:51 leot Exp $
+bin/srt-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pysrt/__init__.py
+${PYSITELIB}/pysrt/__init__.pyc
+${PYSITELIB}/pysrt/__init__.pyo
+${PYSITELIB}/pysrt/commands.py
+${PYSITELIB}/pysrt/commands.pyc
+${PYSITELIB}/pysrt/commands.pyo
+${PYSITELIB}/pysrt/comparablemixin.py
+${PYSITELIB}/pysrt/comparablemixin.pyc
+${PYSITELIB}/pysrt/comparablemixin.pyo
+${PYSITELIB}/pysrt/compat.py
+${PYSITELIB}/pysrt/compat.pyc
+${PYSITELIB}/pysrt/compat.pyo
+${PYSITELIB}/pysrt/srtexc.py
+${PYSITELIB}/pysrt/srtexc.pyc
+${PYSITELIB}/pysrt/srtexc.pyo
+${PYSITELIB}/pysrt/srtfile.py
+${PYSITELIB}/pysrt/srtfile.pyc
+${PYSITELIB}/pysrt/srtfile.pyo
+${PYSITELIB}/pysrt/srtitem.py
+${PYSITELIB}/pysrt/srtitem.pyc
+${PYSITELIB}/pysrt/srtitem.pyo
+${PYSITELIB}/pysrt/srttime.py
+${PYSITELIB}/pysrt/srttime.pyc
+${PYSITELIB}/pysrt/srttime.pyo
+${PYSITELIB}/pysrt/version.py
+${PYSITELIB}/pysrt/version.pyc
+${PYSITELIB}/pysrt/version.pyo
diff --git a/textproc/py-pysrt/distinfo b/textproc/py-pysrt/distinfo
new file mode 100644
index 00000000000..da0f76ab8e9
--- /dev/null
+++ b/textproc/py-pysrt/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 13:57:51 leot Exp $
+
+SHA1 (pysrt-1.1.1.tar.gz) = 5ab4084dd09c48915b9f1a3bfcde876da150dd5e
+RMD160 (pysrt-1.1.1.tar.gz) = 3357335d46ec5ba3e9bd4e497a88709976d6c7ff
+SHA512 (pysrt-1.1.1.tar.gz) = 607f80c1f66702d36b6fa54b293f59c6a28415d812bf54d7210075d1c84a7547ce2776c0809910ed3d79c08a3c595ce74719976d8f2818820a3f4a306ffc1825
+Size (pysrt-1.1.1.tar.gz) = 104027 bytes