databases/py-psycopg2: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 22:20:45 +08:00
parent 42eedc752e
commit ce63478121
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= psycopg2
PORTVERSION= 2.9.9
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,8 +13,11 @@ WWW= https://www.psycopg.org/ \
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/doc/COPYING.LESSER
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
USES= pgsql python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +