Skip to content

Commit

Permalink
databases/py-psycopg2: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed Mar 23, 2024
1 parent 42eedc7 commit ce63478
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion databases/py-psycopg2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= psycopg2
PORTVERSION= 2.9.9
PORTREVISION= 1
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -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} {} +
Expand Down

0 comments on commit ce63478

Please sign in to comment.