Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:00:07 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: ce634781214c - main - databases/py-psycopg2: Convert to USE_PYTHON=pep517
Message-ID:  <202403231500.42NF07kj093290@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=ce634781214c22822ee957547b9d4a2ee49394c1

commit ce634781214c22822ee957547b9d4a2ee49394c1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:06 +0000

    databases/py-psycopg2: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 databases/py-psycopg2/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/databases/py-psycopg2/Makefile b/databases/py-psycopg2/Makefile
index 0e9488fd2da8..e531f74809c5 100644
--- a/databases/py-psycopg2/Makefile
+++ b/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}
@@ -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} {} +



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