multimedia/py-cec: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PORTNAME= cec
|
||||
PORTVERSION= 0.2.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@@ -11,10 +12,12 @@ WWW= https://github.com/trainman419/python-cec
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
LIB_DEPENDS= libcec.so:multimedia/libcec
|
||||
|
||||
USES= compiler:c++11-lang localbase python
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
USE_PYTHON= autoplist concurrent pep517
|
||||
|
||||
post-install:
|
||||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
|
||||
|
||||
8
multimedia/py-cec/files/patch-setup.py
Normal file
8
multimedia/py-cec/files/patch-setup.py
Normal file
@@ -0,0 +1,8 @@
|
||||
--- setup.py.orig 2022-01-05 20:34:47 UTC
|
||||
+++ setup.py
|
||||
@@ -25,5 +25,4 @@ setup(name='cec', version='0.2.8',
|
||||
},
|
||||
author="Austin Hendrix",
|
||||
author_email="namniart@gmail.com",
|
||||
- data_files=['COPYING'],
|
||||
ext_modules=[python_cec])
|
||||
Reference in New Issue
Block a user