Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2023 17:35:49 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: bc1fef110855 - main - databases/py-psycopg-c: Convert to USE_PYTHON=pep517
Message-ID:  <202304051735.335HZnLc086075@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=bc1fef11085525334a8b0068dc63007e27536e45

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

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

diff --git a/databases/py-psycopg-c/Makefile b/databases/py-psycopg-c/Makefile
index 5e8fca2b0fae..52e2fd3c404b 100644
--- a/databases/py-psycopg-c/Makefile
+++ b/databases/py-psycopg-c/Makefile
@@ -1,18 +1,24 @@
 PORTNAME=	psycopg-c
 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 - C optimization distribution
-WWW=		https://www.psycopg.org/
+WWW=		https://www.psycopg.org/ \
+		https://github.com/psycopg/psycopg/tree/master/psycopg_c
 
 LICENSE=	LGPL3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=49.2.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tomli>=2.0.1:textproc/py-tomli@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0.37:devel/py-wheel@${PY_FLAVOR}
+
 USES=		pgsql python:3.7+
-USE_PYTHON=	autoplist concurrent cython distutils
+USE_PYTHON=	autoplist concurrent cython pep517
 
 post-install:
 	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/databases/py-psycopg-c/pkg-descr b/databases/py-psycopg-c/pkg-descr
index 0d5b1bf52d89..304f1b7fe017 100644
--- a/databases/py-psycopg-c/pkg-descr
+++ b/databases/py-psycopg-c/pkg-descr
@@ -1,5 +1,3 @@
 PostgreSQL database adapter for Python - optimization package
 
 Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python.
-
-See also: https://github.com/psycopg/psycopg/tree/master/psycopg_c



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