aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2020-01-21 04:10:37 +0800
committersunpoet <sunpoet@FreeBSD.org>2020-01-21 04:10:37 +0800
commit5468154d80bbb8725e7be53bcdaa11715207ad2b (patch)
tree9333ff9cb88eb01e2dc68cf193b9cd9dc2f890f6
parente6c63e601eac34688071d9fbf045c1110930a20e (diff)
downloadfreebsd-ports-gnome-5468154d80bbb8725e7be53bcdaa11715207ad2b.tar.gz
freebsd-ports-gnome-5468154d80bbb8725e7be53bcdaa11715207ad2b.tar.zst
freebsd-ports-gnome-5468154d80bbb8725e7be53bcdaa11715207ad2b.zip
Unmark DEPRECATED and remove EXPIRATION_DATE
- Relax USES=python - Strip shared library - Update pkg-descr - Bump PORTREVISION for package change - Take maintainership
-rw-r--r--multimedia/py-cec/Makefile13
-rw-r--r--multimedia/py-cec/pkg-descr6
2 files changed, 11 insertions, 8 deletions
diff --git a/multimedia/py-cec/Makefile b/multimedia/py-cec/Makefile
index 5ed66be8a8bb..f2ba2295f87b 100644
--- a/multimedia/py-cec/Makefile
+++ b/multimedia/py-cec/Makefile
@@ -2,22 +2,23 @@
PORTNAME= cec
PORTVERSION= 0.2.7
+PORTREVISION= 1
CATEGORIES= multimedia python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python bindings for libcec
-DEPRECATED= Unmaintained, uses EOLed python27
-EXPIRATION_DATE= 2020-01-27
-
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcec.so:multimedia/libcec
-USES= compiler:c++11-lang localbase python:2.7
-USE_PYTHON= distutils autoplist
+USES= compiler:c++11-lang localbase python
+USE_PYTHON= autoplist concurrent distutils
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/cec.so
.include <bsd.port.mk>
diff --git a/multimedia/py-cec/pkg-descr b/multimedia/py-cec/pkg-descr
index ad52b629c858..0c34c88bd001 100644
--- a/multimedia/py-cec/pkg-descr
+++ b/multimedia/py-cec/pkg-descr
@@ -1,4 +1,6 @@
-Python-cec allows you to control your TV, reciever and other CEC-compliant
-HDMI devices from a python script on a computer.
+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).
WWW: https://github.com/trainman419/python-cec