mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
databases/py-psycopg: Add py-psycopg 3.0.3
PostgreSQL database adapter for Python Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python. WWW: https://www.psycopg.org/ WWW: https://github.com/psycopg/psycopg
This commit is contained in:
parent
7888234359
commit
bb8daaba17
1
MOVED
1
MOVED
@ -8178,7 +8178,6 @@ security/easypg||2016-05-22|Has expired: Included into emacs since 2.3
|
||||
misc/kdehier4||2016-05-25|Not used since 2014
|
||||
devel/maven-ant-tasks||2016-05-27|Use Maven directly
|
||||
graphics/py-imaging|graphics/py-pillow|2016-05-28|Has expired: Unmaintained upstream; use graphics/py-pillow
|
||||
databases/py-psycopg|databases/py-psycopg2|2016-05-29|Has expired: This port is obsoleted by databases/py-psycopg2
|
||||
security/py-clamav|security/py-pyclamd|2016-05-30|Has expired: Not updated since 2008 by upstream and abandoned in favor of pyClamd (security/py-pyclamd)
|
||||
graphics/ruby-gdal||2016-05-31|Has expired: disabled by upstream (https://trac.osgeo.org/gdal/changeset/28756)
|
||||
net/omcmd||2016-06-01|Has expired: Unfetchable and depends on expired net/isc-dhcp41-server
|
||||
|
@ -798,6 +798,7 @@
|
||||
SUBDIR += py-pony
|
||||
SUBDIR += py-postgresql
|
||||
SUBDIR += py-psycogreen
|
||||
SUBDIR += py-psycopg
|
||||
SUBDIR += py-psycopg2
|
||||
SUBDIR += py-psycopg2cffi
|
||||
SUBDIR += py-pum
|
||||
|
38
databases/py-psycopg/Makefile
Normal file
38
databases/py-psycopg/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
|
||||
PORTNAME= psycopg
|
||||
PORTVERSION= 3.0.3
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= PostgreSQL database adapter for Python
|
||||
|
||||
LICENSE= LGPL3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
USES= pgsql python:3.6+
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
OPTIONS_DEFINE= C POOL
|
||||
OPTIONS_DEFAULT=C POOL
|
||||
C_DESC= C extension support
|
||||
POOL_DESC= Connection pool support
|
||||
|
||||
C_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg-c>=${PORTVERSION}:databases/py-psycopg-c@${PY_FLAVOR}
|
||||
POOL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg-pool>=0:databases/py-psycopg-pool@${PY_FLAVOR}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${PYTHON_REL} < 30800
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.if ${PYTHON_REL} < 30900
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
databases/py-psycopg/distinfo
Normal file
3
databases/py-psycopg/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1637072882
|
||||
SHA256 (psycopg-3.0.3.tar.gz) = e9a0aa02a94f355844746a9d343789af035437e63a036eeb12ab795916c7a157
|
||||
SIZE (psycopg-3.0.3.tar.gz) = 115491
|
6
databases/py-psycopg/pkg-descr
Normal file
6
databases/py-psycopg/pkg-descr
Normal file
@ -0,0 +1,6 @@
|
||||
PostgreSQL database adapter for Python
|
||||
|
||||
Psycopg 3 is a modern implementation of a PostgreSQL adapter for Python.
|
||||
|
||||
WWW: https://www.psycopg.org/
|
||||
WWW: https://github.com/psycopg/psycopg
|
Loading…
Reference in New Issue
Block a user