Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:35:48 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: 8b9e9bf4d80f - main - databases/py-psycopg: Convert to USE_PYTHON=pep517
Message-ID:  <202304051735.335HZmYP086045@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=8b9e9bf4d80fe7fffb0c214fdebb46b20376e2be

commit 8b9e9bf4d80fe7fffb0c214fdebb46b20376e2be
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:15:44 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:30:12 +0000

    databases/py-psycopg: Convert to USE_PYTHON=pep517
    
    - Update WWW and clean up pkg-descr
    - Bump PORTREVISION for package change
---
 databases/py-psycopg/Makefile  | 9 +++++++--
 databases/py-psycopg/pkg-descr | 2 --
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile
index 2d1729efc041..aa36670694e4 100644
--- a/databases/py-psycopg/Makefile
+++ b/databases/py-psycopg/Makefile
@@ -1,18 +1,23 @@
 PORTNAME=	psycopg
 PORTVERSION=	3.1.8
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	PostgreSQL database adapter for Python
-WWW=		https://www.psycopg.org/
+WWW=		https://www.psycopg.org/ \
+		https://github.com/psycopg/psycopg
 
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=49.2.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.37:devel/py-wheel@${PY_FLAVOR}
+
 USES=		pgsql python:3.7+
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/databases/py-psycopg/pkg-descr b/databases/py-psycopg/pkg-descr
index aa2615919085..71f2c910757c 100644
--- a/databases/py-psycopg/pkg-descr
+++ b/databases/py-psycopg/pkg-descr
@@ -1,5 +1,3 @@
 PostgreSQL database adapter for Python
 
 Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python.
-
-See also: https://github.com/psycopg/psycopg



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