Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:21:36 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e223d9736ccd - main - multimedia/py-cec: Convert to USE_PYTHON=pep517
Message-ID:  <202405131421.44DELaSd005485@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e223d9736ccd96f6a7921d73d90dc4e03ecc4002

commit e223d9736ccd96f6a7921d73d90dc4e03ecc4002
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:04:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:04:09 +0000

    multimedia/py-cec: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 multimedia/py-cec/Makefile             | 5 ++++-
 multimedia/py-cec/files/patch-setup.py | 8 ++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/multimedia/py-cec/Makefile b/multimedia/py-cec/Makefile
index bc3d1b1b84af..e3892e409be0 100644
--- a/multimedia/py-cec/Makefile
+++ b/multimedia/py-cec/Makefile
@@ -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} {} +
diff --git a/multimedia/py-cec/files/patch-setup.py b/multimedia/py-cec/files/patch-setup.py
new file mode 100644
index 000000000000..9be49622560b
--- /dev/null
+++ b/multimedia/py-cec/files/patch-setup.py
@@ -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])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131421.44DELaSd005485>