periscope is a subtitles searching module written in python that
tries to find a correct match for a given video file. The goal
behind periscope is that it will only return only correct subtitles
so that you can simply relax and enjoy your video without having
to double-check that the subtitles match your video before watching
it. This is done by using as much info as available from your file
and on the websites. Some websites allow you to use hash of the
files, the size/length of the video or the exact file name.
As a python module, periscope should be easily integrated in many
projects that allow plugins to be written in python. The fact that
the plugin is shared between all the applications means that separate
application and their plugin (file browser, video player, media
center application, ...) don't have to maintain the code to search,
parse and download subtitles and the user preference about languages.
The subtitles websites are handled as plugins.
===> The following configuration options are available for py312-periscope-0.2.4_7:
UNRAR=on: RAR decompression support
===> Use 'make config' to modify these settings
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.
Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
- Now that as of r439454 UNRAR option description is in the standard pool,
remove its local definition (one might argue this one was specifically
about handling compressed subtitles, but the whole port is ``Subtitles
searching module'', so generic description fits just fine)
- Unbreak the port by pointing to archived distfile in Google Cloud Storage
and update WWW: line in the port description while I'm here
Mark the remaining ports depending on Google Code as DEPRECATED, with an
EXPIRATION_DATE at the end of April 2017.
In the past six months, about a third of the ports marked BROKEN because
they were hosted on Google Code have been fixed. The remaining must not
be of use to anyone.
With hat: portmgr
Sponsored by: Absolight
GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight
- Add LICENSE
- Use USE_PYDISTUTILS=yes and PYDISTUTILS_AUTOPLIST
- Remove USE_GNOME=desktopfileutils
- Convert to new options helper
- Support STAGEDIR
- Bump PORTREVISION for package change
- Pass maintainership to submitter
- While I'm here:
- Fix post-install: DESKTOPDIR is already in BSD.local.dist
- Simplify Makefile
PR: ports/190255
Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>
- correct py-beautifulsoup dependency. the current dependency will fail if
user already head www/py-beautifulsoup (4.x) installed, while the port
needs an exactly 3.2.x version.
- bump PORTREVISION because of dependency change
Approved by: portmgr (beat)
- Mark BROKEN: does not build
File "setup.py", line 2, in <module>
from periscope import version
File "periscope/__init__.py", line 1, in <module>
from periscope import *
File "periscope/periscope.py", line 38, in <module>
import plugins
File "periscope/plugins/__init__.py", line 20, in <module>
from Subtitulos import Subtitulos
File "periscope/plugins/Subtitulos.py", line 20, in <module>
from BeautifulSoup import BeautifulSoup
ImportError: No module named BeautifulSoup
Reported by: pointyhat
- Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} or
RUN_DEPENDS=${BUILD_DEPENDS} to use := which portlint has warned
about for a while.
PR: ports/168208
Approved by: portmgr (miwi)
o Add option UNRAR to "Enable support for rar (.rar) compressed
subtitles" with default on
o Be explicit about the required python version: 2.6+
o Bump PORTREVISION