Subliminal is a python library to search and download subtitles.
It uses video hashes and the powerful guessit library that extracts
informations from filenames or filepaths to ensure you have the best
subtitles. It also relies on enzyme to detect embedded subtitles and avoid
duplicates.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-subliminal listed in the above command, you can pick from the names under the Packages section.
multimedia/py-subliminal: Fine tune dependencies
subliminal requires knowit>=0.5.5 and defusedxml>=0.7.1 at run time,
but the port only lists them in TEST_DEPENDS
The patch moves them to RUN_DEPENDS and updates the port to 2.8.0:
- 2.8.0 requires typing-extensions>=4.10;
- the other RUN_DEPENDS minimums follow 2.8.0's requirements; enzyme
and tomli, which nothing imports, are dropped (enzyme is a knowit
provider); rarfile (the rar extra) stays for RAR support
PR: 299480
MFH: 2026Q4
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 )
multimedia: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron LI <aly@aaronly.me>
* Alexander Botero-Lowry <alexbl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anders Nordby <anders@FreeBSD.org>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrew Thompson <andy@fud.org.nz>
* Andrew Thompson <thompsa@FreeBSD.org>
* Angel Carpintero <ack@telefonica.net>
* Anish Mistry (with help from mean)
* Anonymous <swell.k@gmail.com>
(Only the first 15 lines of the commit message are shown above )
Follow up on devel/py-futures port removal in r559976
The devel/py-futures port was removed in r559976 as it was for
Python 2.7 only and no longer referenced in the default cases.
However it was still defined in Mk/Uses/python.mk in PY_FUTURES,
leaving a dangling reference.
Remove it from Mk/Uses/python.mk and from affected ports, as
it was already an empty definition for Python 3.6+
Bump minimal Python version of security/theonionbox to 3.6+
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 )
multimedia/py-subliminal: update to 1.0.1
This fixes runtime since multimedia/py-guessit update in previous commit.
$ subliminal
Traceback (most recent call last):
File "/usr/local/bin/subliminal", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3074, in <module>
@_call_aside
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3060, in _call_aside
f(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 3087, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
line 647, in _build_master
(Only the first 15 lines of the commit message are shown above )
Sweep www/py-requests dependants to www/py-requests1
Point all www/py-requests dependants to www/py-requests1 in preparation for
the upgrade of www/py-requests to version 2.x, which substantially breaks API
compatibility.
Maintainers of these ports can update their requests dependency independently
as time for sufficient testing permits.
PR: ports/185631
Fix compatibility with py-requests 1.1 which is now default
PR: 178219
Submitted by: Ralf van der Enden <tremere@cainites.net>
Approved by: William Grzybowski <william88@gmail.com> (maintainer)
- update to 0.6.3
- correct dependency version
while here:
- remove redundancy from COMMENT
- tab -> space change in pkg-descr:WWW
PR: 175409
Submitted by: William Grzybowski <william88@gmail.com> (maintainer)
Subliminal is a python library to search and download subtitles.
It uses video hashes and the powerful guessit library that extracts
informations from filenames or filepaths to ensure you have the best
subtitles. It also relies on enzyme to detect embedded subtitles and avoid
duplicates.
WWW: http://subliminal.readthedocs.org/en/latest/index.html
PR: ports/172909
Submitted by: William Grzybowski <william88@gmail.com>