1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

databases/py-psycopg-c: Convert to USE_PYTHON=pep517

- Update WWW and clean up pkg-descr
- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2023-04-06 01:15:45 +08:00
parent 8b9e9bf4d8
commit bc1fef1108
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 8 additions and 4 deletions

View File

@ -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} {} +

View File

@ -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