From 0bbee3a4db79ba34c36ee5dc4075cdb945e6cd8f Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 13 May 2024 22:01:27 +0800 Subject: [PATCH] ftp/py-pycurl: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- ftp/py-pycurl/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ftp/py-pycurl/Makefile b/ftp/py-pycurl/Makefile index 8c3e06aa3b83..5338a4546b52 100644 --- a/ftp/py-pycurl/Makefile +++ b/ftp/py-pycurl/Makefile @@ -1,5 +1,6 @@ PORTNAME= pycurl PORTVERSION= 7.45.3 +PORTREVISION= 1 CATEGORIES= ftp python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,10 +15,12 @@ LICENSE_COMB= dual LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING-LGPL LICENSE_FILE_MIT= ${WRKSRC}/COPYING-MIT +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} LIB_DEPENDS= libcurl.so:ftp/curl USES= python ssl -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 post-install: ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +