1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

ftp/py-pycurl: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-05-13 22:01:27 +08:00
parent b8da479142
commit 0bbee3a4db
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B

View File

@ -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} {} +