summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorleot <leot>2017-04-14 14:13:18 +0000
committerleot <leot>2017-04-14 14:13:18 +0000
commit00333737caef5a2a4c37928f62f283cdfe8186dc (patch)
tree5ec487706e621450f846f0ad4820c7f813173de7 /textproc
parent92fe2b33391bd80b25c19f1014d01ffecdc1b71c (diff)
downloadpkgsrc-00333737caef5a2a4c37928f62f283cdfe8186dc.tar.gz
Import py-guessit-2.1.2 as textproc/py-guessit
GuessIt is a python library that extracts as much information as possible from a video filename. It has a very powerful matcher that allows to guess properties from a video using its filename only. This matcher works with both movies and tv shows episodes.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-guessit/ALTERNATIVES1
-rw-r--r--textproc/py-guessit/DESCR6
-rw-r--r--textproc/py-guessit/Makefile26
-rw-r--r--textproc/py-guessit/PLIST206
-rw-r--r--textproc/py-guessit/distinfo6
5 files changed, 245 insertions, 0 deletions
diff --git a/textproc/py-guessit/ALTERNATIVES b/textproc/py-guessit/ALTERNATIVES
new file mode 100644
index 00000000000..b694841369d
--- /dev/null
+++ b/textproc/py-guessit/ALTERNATIVES
@@ -0,0 +1 @@
+bin/guessit @PREFIX@/bin/guessit-@PYVERSSUFFIX@
diff --git a/textproc/py-guessit/DESCR b/textproc/py-guessit/DESCR
new file mode 100644
index 00000000000..6cc913d8001
--- /dev/null
+++ b/textproc/py-guessit/DESCR
@@ -0,0 +1,6 @@
+GuessIt is a python library that extracts as much information as possible
+from a video filename.
+
+It has a very powerful matcher that allows to guess properties from a video
+using its filename only. This matcher works with both movies and tv shows
+episodes.
diff --git a/textproc/py-guessit/Makefile b/textproc/py-guessit/Makefile
new file mode 100644
index 00000000000..2e66854c4c1
--- /dev/null
+++ b/textproc/py-guessit/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2017/04/14 14:13:18 leot Exp $
+
+DISTNAME= guessit-2.1.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_PYPI:=g/guessit/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://guessit.io/
+COMMENT= Extracts as much information as possible from a video filename
+LICENSE= gnu-lgpl-v3
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+DEPENDS+= ${PYPKGPREFIX}-babelfish>=0.5.5:../../textproc/py-babelfish
+DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
+DEPENDS+= ${PYPKGPREFIX}-rebulk>=0.8.2:../../textproc/py-rebulk
+
+USE_LANGUAGES= # none
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/guessit ${DESTDIR}${PREFIX}/bin/guessit-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-guessit/PLIST b/textproc/py-guessit/PLIST
new file mode 100644
index 00000000000..c31c0372698
--- /dev/null
+++ b/textproc/py-guessit/PLIST
@@ -0,0 +1,206 @@
+@comment $NetBSD: PLIST,v 1.1 2017/04/14 14:13:18 leot Exp $
+bin/guessit-${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}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/guessit/__init__.py
+${PYSITELIB}/guessit/__init__.pyc
+${PYSITELIB}/guessit/__init__.pyo
+${PYSITELIB}/guessit/__main__.py
+${PYSITELIB}/guessit/__main__.pyc
+${PYSITELIB}/guessit/__main__.pyo
+${PYSITELIB}/guessit/__version__.py
+${PYSITELIB}/guessit/__version__.pyc
+${PYSITELIB}/guessit/__version__.pyo
+${PYSITELIB}/guessit/api.py
+${PYSITELIB}/guessit/api.pyc
+${PYSITELIB}/guessit/api.pyo
+${PYSITELIB}/guessit/backports.py
+${PYSITELIB}/guessit/backports.pyc
+${PYSITELIB}/guessit/backports.pyo
+${PYSITELIB}/guessit/config/options.json
+${PYSITELIB}/guessit/jsonutils.py
+${PYSITELIB}/guessit/jsonutils.pyc
+${PYSITELIB}/guessit/jsonutils.pyo
+${PYSITELIB}/guessit/options.py
+${PYSITELIB}/guessit/options.pyc
+${PYSITELIB}/guessit/options.pyo
+${PYSITELIB}/guessit/reutils.py
+${PYSITELIB}/guessit/reutils.pyc
+${PYSITELIB}/guessit/reutils.pyo
+${PYSITELIB}/guessit/rules/__init__.py
+${PYSITELIB}/guessit/rules/__init__.pyc
+${PYSITELIB}/guessit/rules/__init__.pyo
+${PYSITELIB}/guessit/rules/common/__init__.py
+${PYSITELIB}/guessit/rules/common/__init__.pyc
+${PYSITELIB}/guessit/rules/common/__init__.pyo
+${PYSITELIB}/guessit/rules/common/comparators.py
+${PYSITELIB}/guessit/rules/common/comparators.pyc
+${PYSITELIB}/guessit/rules/common/comparators.pyo
+${PYSITELIB}/guessit/rules/common/date.py
+${PYSITELIB}/guessit/rules/common/date.pyc
+${PYSITELIB}/guessit/rules/common/date.pyo
+${PYSITELIB}/guessit/rules/common/expected.py
+${PYSITELIB}/guessit/rules/common/expected.pyc
+${PYSITELIB}/guessit/rules/common/expected.pyo
+${PYSITELIB}/guessit/rules/common/formatters.py
+${PYSITELIB}/guessit/rules/common/formatters.pyc
+${PYSITELIB}/guessit/rules/common/formatters.pyo
+${PYSITELIB}/guessit/rules/common/numeral.py
+${PYSITELIB}/guessit/rules/common/numeral.pyc
+${PYSITELIB}/guessit/rules/common/numeral.pyo
+${PYSITELIB}/guessit/rules/common/validators.py
+${PYSITELIB}/guessit/rules/common/validators.pyc
+${PYSITELIB}/guessit/rules/common/validators.pyo
+${PYSITELIB}/guessit/rules/common/words.py
+${PYSITELIB}/guessit/rules/common/words.pyc
+${PYSITELIB}/guessit/rules/common/words.pyo
+${PYSITELIB}/guessit/rules/markers/__init__.py
+${PYSITELIB}/guessit/rules/markers/__init__.pyc
+${PYSITELIB}/guessit/rules/markers/__init__.pyo
+${PYSITELIB}/guessit/rules/markers/groups.py
+${PYSITELIB}/guessit/rules/markers/groups.pyc
+${PYSITELIB}/guessit/rules/markers/groups.pyo
+${PYSITELIB}/guessit/rules/markers/path.py
+${PYSITELIB}/guessit/rules/markers/path.pyc
+${PYSITELIB}/guessit/rules/markers/path.pyo
+${PYSITELIB}/guessit/rules/processors.py
+${PYSITELIB}/guessit/rules/processors.pyc
+${PYSITELIB}/guessit/rules/processors.pyo
+${PYSITELIB}/guessit/rules/properties/__init__.py
+${PYSITELIB}/guessit/rules/properties/__init__.pyc
+${PYSITELIB}/guessit/rules/properties/__init__.pyo
+${PYSITELIB}/guessit/rules/properties/audio_codec.py
+${PYSITELIB}/guessit/rules/properties/audio_codec.pyc
+${PYSITELIB}/guessit/rules/properties/audio_codec.pyo
+${PYSITELIB}/guessit/rules/properties/bonus.py
+${PYSITELIB}/guessit/rules/properties/bonus.pyc
+${PYSITELIB}/guessit/rules/properties/bonus.pyo
+${PYSITELIB}/guessit/rules/properties/cds.py
+${PYSITELIB}/guessit/rules/properties/cds.pyc
+${PYSITELIB}/guessit/rules/properties/cds.pyo
+${PYSITELIB}/guessit/rules/properties/container.py
+${PYSITELIB}/guessit/rules/properties/container.pyc
+${PYSITELIB}/guessit/rules/properties/container.pyo
+${PYSITELIB}/guessit/rules/properties/country.py
+${PYSITELIB}/guessit/rules/properties/country.pyc
+${PYSITELIB}/guessit/rules/properties/country.pyo
+${PYSITELIB}/guessit/rules/properties/crc.py
+${PYSITELIB}/guessit/rules/properties/crc.pyc
+${PYSITELIB}/guessit/rules/properties/crc.pyo
+${PYSITELIB}/guessit/rules/properties/date.py
+${PYSITELIB}/guessit/rules/properties/date.pyc
+${PYSITELIB}/guessit/rules/properties/date.pyo
+${PYSITELIB}/guessit/rules/properties/edition.py
+${PYSITELIB}/guessit/rules/properties/edition.pyc
+${PYSITELIB}/guessit/rules/properties/edition.pyo
+${PYSITELIB}/guessit/rules/properties/episode_title.py
+${PYSITELIB}/guessit/rules/properties/episode_title.pyc
+${PYSITELIB}/guessit/rules/properties/episode_title.pyo
+${PYSITELIB}/guessit/rules/properties/episodes.py
+${PYSITELIB}/guessit/rules/properties/episodes.pyc
+${PYSITELIB}/guessit/rules/properties/episodes.pyo
+${PYSITELIB}/guessit/rules/properties/film.py
+${PYSITELIB}/guessit/rules/properties/film.pyc
+${PYSITELIB}/guessit/rules/properties/film.pyo
+${PYSITELIB}/guessit/rules/properties/format.py
+${PYSITELIB}/guessit/rules/properties/format.pyc
+${PYSITELIB}/guessit/rules/properties/format.pyo
+${PYSITELIB}/guessit/rules/properties/language.py
+${PYSITELIB}/guessit/rules/properties/language.pyc
+${PYSITELIB}/guessit/rules/properties/language.pyo
+${PYSITELIB}/guessit/rules/properties/mimetype.py
+${PYSITELIB}/guessit/rules/properties/mimetype.pyc
+${PYSITELIB}/guessit/rules/properties/mimetype.pyo
+${PYSITELIB}/guessit/rules/properties/other.py
+${PYSITELIB}/guessit/rules/properties/other.pyc
+${PYSITELIB}/guessit/rules/properties/other.pyo
+${PYSITELIB}/guessit/rules/properties/part.py
+${PYSITELIB}/guessit/rules/properties/part.pyc
+${PYSITELIB}/guessit/rules/properties/part.pyo
+${PYSITELIB}/guessit/rules/properties/release_group.py
+${PYSITELIB}/guessit/rules/properties/release_group.pyc
+${PYSITELIB}/guessit/rules/properties/release_group.pyo
+${PYSITELIB}/guessit/rules/properties/screen_size.py
+${PYSITELIB}/guessit/rules/properties/screen_size.pyc
+${PYSITELIB}/guessit/rules/properties/screen_size.pyo
+${PYSITELIB}/guessit/rules/properties/size.py
+${PYSITELIB}/guessit/rules/properties/size.pyc
+${PYSITELIB}/guessit/rules/properties/size.pyo
+${PYSITELIB}/guessit/rules/properties/streaming_service.py
+${PYSITELIB}/guessit/rules/properties/streaming_service.pyc
+${PYSITELIB}/guessit/rules/properties/streaming_service.pyo
+${PYSITELIB}/guessit/rules/properties/title.py
+${PYSITELIB}/guessit/rules/properties/title.pyc
+${PYSITELIB}/guessit/rules/properties/title.pyo
+${PYSITELIB}/guessit/rules/properties/type.py
+${PYSITELIB}/guessit/rules/properties/type.pyc
+${PYSITELIB}/guessit/rules/properties/type.pyo
+${PYSITELIB}/guessit/rules/properties/video_codec.py
+${PYSITELIB}/guessit/rules/properties/video_codec.pyc
+${PYSITELIB}/guessit/rules/properties/video_codec.pyo
+${PYSITELIB}/guessit/rules/properties/website.py
+${PYSITELIB}/guessit/rules/properties/website.pyc
+${PYSITELIB}/guessit/rules/properties/website.pyo
+${PYSITELIB}/guessit/test/__init__.py
+${PYSITELIB}/guessit/test/__init__.pyc
+${PYSITELIB}/guessit/test/__init__.pyo
+${PYSITELIB}/guessit/test/config/dummy.txt
+${PYSITELIB}/guessit/test/config/test.json
+${PYSITELIB}/guessit/test/config/test.yaml
+${PYSITELIB}/guessit/test/config/test.yml
+${PYSITELIB}/guessit/test/episodes.yml
+${PYSITELIB}/guessit/test/movies.yml
+${PYSITELIB}/guessit/test/rules/__init__.py
+${PYSITELIB}/guessit/test/rules/__init__.pyc
+${PYSITELIB}/guessit/test/rules/__init__.pyo
+${PYSITELIB}/guessit/test/rules/audio_codec.yml
+${PYSITELIB}/guessit/test/rules/bonus.yml
+${PYSITELIB}/guessit/test/rules/cds.yml
+${PYSITELIB}/guessit/test/rules/country.yml
+${PYSITELIB}/guessit/test/rules/date.yml
+${PYSITELIB}/guessit/test/rules/edition.yml
+${PYSITELIB}/guessit/test/rules/episodes.yml
+${PYSITELIB}/guessit/test/rules/film.yml
+${PYSITELIB}/guessit/test/rules/format.yml
+${PYSITELIB}/guessit/test/rules/language.yml
+${PYSITELIB}/guessit/test/rules/other.yml
+${PYSITELIB}/guessit/test/rules/part.yml
+${PYSITELIB}/guessit/test/rules/processors.yml
+${PYSITELIB}/guessit/test/rules/processors_test.py
+${PYSITELIB}/guessit/test/rules/processors_test.pyc
+${PYSITELIB}/guessit/test/rules/processors_test.pyo
+${PYSITELIB}/guessit/test/rules/release_group.yml
+${PYSITELIB}/guessit/test/rules/screen_size.yml
+${PYSITELIB}/guessit/test/rules/size.yml
+${PYSITELIB}/guessit/test/rules/title.yml
+${PYSITELIB}/guessit/test/rules/video_codec.yml
+${PYSITELIB}/guessit/test/rules/website.yml
+${PYSITELIB}/guessit/test/test-input-file.txt
+${PYSITELIB}/guessit/test/test_api.py
+${PYSITELIB}/guessit/test/test_api.pyc
+${PYSITELIB}/guessit/test/test_api.pyo
+${PYSITELIB}/guessit/test/test_api_unicode_literals.py
+${PYSITELIB}/guessit/test/test_api_unicode_literals.pyc
+${PYSITELIB}/guessit/test/test_api_unicode_literals.pyo
+${PYSITELIB}/guessit/test/test_benchmark.py
+${PYSITELIB}/guessit/test/test_benchmark.pyc
+${PYSITELIB}/guessit/test/test_benchmark.pyo
+${PYSITELIB}/guessit/test/test_main.py
+${PYSITELIB}/guessit/test/test_main.pyc
+${PYSITELIB}/guessit/test/test_main.pyo
+${PYSITELIB}/guessit/test/test_options.py
+${PYSITELIB}/guessit/test/test_options.pyc
+${PYSITELIB}/guessit/test/test_options.pyo
+${PYSITELIB}/guessit/test/test_yml.py
+${PYSITELIB}/guessit/test/test_yml.pyc
+${PYSITELIB}/guessit/test/test_yml.pyo
+${PYSITELIB}/guessit/test/various.yml
+${PYSITELIB}/guessit/tlds-alpha-by-domain.txt
+${PYSITELIB}/guessit/yamlutils.py
+${PYSITELIB}/guessit/yamlutils.pyc
+${PYSITELIB}/guessit/yamlutils.pyo
diff --git a/textproc/py-guessit/distinfo b/textproc/py-guessit/distinfo
new file mode 100644
index 00000000000..748829c1aca
--- /dev/null
+++ b/textproc/py-guessit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/04/14 14:13:18 leot Exp $
+
+SHA1 (guessit-2.1.2.tar.gz) = 330e0ea28392c175c6245d6f6f0346173b73deb1
+RMD160 (guessit-2.1.2.tar.gz) = 45befdf6f31ea1924d65a0255106af66c242cb79
+SHA512 (guessit-2.1.2.tar.gz) = 394098cb61cdd1d140e47a969dd86422d6856d2cda42dc7072ab9e482a0001d62f6ffe91d74a7bad04f274197e36e731ce203fe92930558969a94889d47c8e14
+Size (guessit-2.1.2.tar.gz) = 100478 bytes