Port details |
- py-cec Python bindings for libcec
- 0.2.8_2 multimedia
=2 0.2.8_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2016-08-11 15:13:42
- Last Update: 2025-03-14 09:54:03
- Commit Hash: cb79551
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: GPLv2
- WWW:
- https://github.com/trainman419/python-cec
- Description:
- python-cec allows you to control your TV, reciever and other CEC-compliant HDMI
devices from a python script on a computer. Most computer graphics cards don't
support CEC; you'll need a Pulse-Eight USB-CEC adapter or a Raspberry Pi
(Untested).
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}cec>0:multimedia/py-cec@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/multimedia/py-cec/ && make install clean
- To add the package, run one of these commands:
- pkg install multimedia/py-cec
- pkg install py311-cec
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 py311-cec listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-cec
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1642102327
SHA256 (cec-0.2.8.tar.gz) = 81e59d85dffdd5552b9bec556779e97fb1d6bd120c7320c216c020743a46083a
SIZE (cec-0.2.8.tar.gz) = 20316
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-setuptools>=0 : devel/py-setuptools@py311
- py311-wheel>=0 : devel/py-wheel@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- python3.11 : lang/python311
- Library dependencies:
-
- libcec.so : multimedia/libcec
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- multimedia_py-cec
- USES:
- compiler:c++11-lang localbase python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.2.8_2 14 Mar 2025 09:54:03
    |
Po-Chuan Hsieh (sunpoet)  |
multimedia/libcec: Update to 7.0.0
- Update LICENSE_FILE
- Bump PORTREVISION of dependent ports for shlib change
Changes: https://github.com/Pulse-Eight/libcec/releases |
0.2.8_1 13 May 2024 14:04:09
    |
Po-Chuan Hsieh (sunpoet)  |
multimedia/py-cec: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change |
0.2.8 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
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> |
0.2.8 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
0.2.8 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
0.2.8 23 Jan 2022 18:50:46
    |
Po-Chuan Hsieh (sunpoet)  |
multimedia/py-cec: Update to 0.2.8
Changes: https://github.com/trainman419/python-cec/commits/master |
0.2.7_3 25 Oct 2021 15:57:34
    |
Po-Chuan Hsieh (sunpoet)  |
multimedia/py-cec: Cosmetic change |
0.2.7_3 07 Apr 2021 08:09:01
    |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.2.7_3 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.2.7_3 28 Dec 2020 23:02:15
  |
antoine  |
Drop python 2.7 support from a few ports
With hat: portmgr |
0.2.7_3 24 Dec 2020 13:46:02
  |
kai  |
Relax hardcoded paths to fix build with Python 3.8.7
Since r558913 Python 3.8 incorporates BPO-42604 [1] which changed the
shared libs naming scheme. This means "EXT_SUFFIX" is now derived from
SOABI and yields with Python 3.8 to ".cpython-38.so" instead of ".so".
The affected ports strip the libaries in the "post-install" target via
hardcoded path(s) and the build fails at the end because the new extension
is not expected at this place.
Remedy the issue by adding wildcards to these paths. This should also
prepare the ports for future Python releases, which will use the new shared
libs naming scheme.
[1] https://bugs.python.org/issue42604
PR: 252057
Reported by: John Kennedy
Reviewed by: fluffy, koobs
Approved by: koobs (python) |
0.2.7_3 11 Jul 2020 18:09:58
  |
sunpoet  |
Fix build with libcec 6.0.0+ |
0.2.7_3 11 Jul 2020 18:09:33
  |
sunpoet  |
Bump PORTREVISION for multimedia/libcec shlib change |
0.2.7_2 29 Apr 2020 15:50:28
  |
sunpoet  |
Bump PORTREVISION for multimedia/libcec shlib change |
0.2.7_1 20 Jan 2020 20:10:38
  |
sunpoet  |
Unmark DEPRECATED and remove EXPIRATION_DATE
- Relax USES=python
- Strip shared library
- Update pkg-descr
- Bump PORTREVISION for package change
- Take maintainership |
0.2.7 26 Dec 2019 07:54:29
  |
antoine  |
Deprecate a few ports
With hat: portmgr |
0.2.7 17 Nov 2019 02:44:33
  |
vanilla  |
Update to 0.2.7. |
0.2.6_1 26 Jul 2019 20:46:57
  |
gerald  |
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330 |
0.2.6 26 Dec 2018 21:52:59
  |
linimon  |
USES=compiler:c++11-lang is necessary to build on GCC-based architectures.
While here, simplify by using localbase.
PR: 234377
Submitted by: Piotr Kubaj |
0.2.6 12 Jan 2018 11:21:07
  |
rene  |
Return kevlo's ports to the pool, he handed in his commit bit.
With hat: portmgr-secretary |
0.2.6 30 Nov 2017 15:50:34
  |
mat  |
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 ) |
0.2.6 04 Nov 2017 13:54:05
  |
kevlo  |
Update to 0.2.6 |
0.2.5_1 18 Apr 2017 01:15:29
  |
kevlo  |
Fix py-cec build after update of libcec.
Submitted by: swills
Differential Revision: https://reviews.freebsd.org/D10396 |
0.2.5 11 Aug 2016 15:13:34
  |
kevlo  |
Import py-cec 0.2.5
Python-cec allows you to control your TV, reciever and other CEC-compliant
HDMI devices from a python script on a computer. |