diff options
author | joerg <joerg@pkgsrc.org> | 2010-02-10 17:23:26 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-02-10 17:23:26 +0000 |
commit | f30137c18cc0136d44ee7da1d2daebe613f3e97a (patch) | |
tree | ee113e5f5c52b1f0bd1c9221d6c45c43bc355170 | |
parent | 546257e2e37efdd54452c7f7d161050dc6da31dc (diff) | |
download | pkgsrc-f30137c18cc0136d44ee7da1d2daebe613f3e97a.tar.gz |
Retire psycopg1.
-rw-r--r-- | databases/Makefile | 3 | ||||
-rw-r--r-- | databases/py-psycopg/DESCR | 14 | ||||
-rw-r--r-- | databases/py-psycopg/Makefile | 31 | ||||
-rw-r--r-- | databases/py-psycopg/PLIST | 2 | ||||
-rw-r--r-- | databases/py-psycopg/buildlink3.mk | 15 | ||||
-rw-r--r-- | databases/py-psycopg/distinfo | 6 | ||||
-rw-r--r-- | databases/py-psycopg/patches/patch-aa | 22 |
7 files changed, 1 insertions, 92 deletions
diff --git a/databases/Makefile b/databases/Makefile index 3840fa8bc7a..49839a09fd3 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.315 2010/02/10 17:09:11 joerg Exp $ +# $NetBSD: Makefile,v 1.316 2010/02/10 17:23:26 joerg Exp $ # COMMENT= Databases @@ -227,7 +227,6 @@ SUBDIR+= py-mssql SUBDIR+= py-mysqldb SUBDIR+= py-pgnotify SUBDIR+= py-postgresql -SUBDIR+= py-psycopg SUBDIR+= py-psycopg2 SUBDIR+= py-sqlalchemy SUBDIR+= py-sqlite diff --git a/databases/py-psycopg/DESCR b/databases/py-psycopg/DESCR deleted file mode 100644 index 57c5659913e..00000000000 --- a/databases/py-psycopg/DESCR +++ /dev/null @@ -1,14 +0,0 @@ -psycopg is a PostgreSQL database adapter for the Python programming language -(just like pygresql and popy.) It was written from scratch with the aim of -being very small and fast, and stable as a rock. The main advantages of -psycopg are that it supports (well... *will* support) the full Python -DBAPI-2.0 and being thread safe at level 2. - -psycopg is different from the other database adapter because it was designed -for heavily multi-threaded applications that create and destroy lots of -cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. -Every open Python connection keeps a pool of real (UNIX or TCP/IP) connections -to the database. Every time a new cursor is created, a new connection does not -need to be opened; instead one of the unused connections from the pool is -used. That makes psycopg very fast in typical client-server applications that -create a servicing thread every time a client request arrives. diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile deleted file mode 100644 index 2ad57327425..00000000000 --- a/databases/py-psycopg/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# $NetBSD: Makefile,v 1.32 2009/02/16 19:36:42 joerg Exp $ -# - -DISTNAME= psycopg-1.1.21 -PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 3 -CATEGORIES= databases python -MASTER_SITES= http://initd.org/pub/software/psycopg/ - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://initd.org/projects/psycopg1/ -COMMENT= PostgreSQL database adapter for Python - -PKG_DESTDIR_SUPPORT= user-destdir - -GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --with-python=${PYTHONBIN:Q} -CONFIGURE_ARGS+= \ - --with-postgres-includes=${PGSQL_PREFIX}/include/postgresql\ - --with-postgres-libraries=${PGSQL_PREFIX}/lib -BUILD_TARGET= default - -PY_PATCHPLIST= yes - -INSTALLATION_DIRS= ${PYSITELIB} - -.include "../../lang/python/extension.mk" -.include "../../time/py-mxDateTime/buildlink3.mk" -.include "../../mk/pgsql.buildlink3.mk" -.include "../../mk/pthread.buildlink3.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/databases/py-psycopg/PLIST b/databases/py-psycopg/PLIST deleted file mode 100644 index a93df4331ac..00000000000 --- a/databases/py-psycopg/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/25 14:17:24 drochner Exp $ -${PYSITELIB}/psycopgmodule.so diff --git a/databases/py-psycopg/buildlink3.mk b/databases/py-psycopg/buildlink3.mk deleted file mode 100644 index 3a06a7cc4cf..00000000000 --- a/databases/py-psycopg/buildlink3.mk +++ /dev/null @@ -1,15 +0,0 @@ -# $NetBSD: buildlink3.mk,v 1.10 2009/03/20 19:24:07 joerg Exp $ - -BUILDLINK_TREE+= psycopg - -.if !defined(PY_PSYCOPG_BUILDLINK3_MK) -PY_PSYCOPG_BUILDLINK3_MK:= - -. include "../../lang/python/pyversion.mk" - -BUILDLINK_API_DEPENDS.psycopg+= ${PYPKGPREFIX}-psycopg>=1.1.21 -BUILDLINK_ABI_DEPENDS.psycopg+= ${PYPKGPREFIX}-psycopg>=1.1.21nb1 -BUILDLINK_PKGSRCDIR.psycopg?= ../../databases/py-psycopg -.endif # PY_PSYCOPG_BUILDLINK3_MK - -BUILDLINK_TREE+= -psycopg diff --git a/databases/py-psycopg/distinfo b/databases/py-psycopg/distinfo deleted file mode 100644 index 6107d4f06ba..00000000000 --- a/databases/py-psycopg/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -$NetBSD: distinfo,v 1.7 2009/02/16 19:36:42 joerg Exp $ - -SHA1 (psycopg-1.1.21.tar.gz) = 02d8a8b5dd682306117896c7c63a9a1b518997b6 -RMD160 (psycopg-1.1.21.tar.gz) = de74a70b16353f69de7e898059a7a1d8418ad2ee -Size (psycopg-1.1.21.tar.gz) = 213753 bytes -SHA1 (patch-aa) = c83311b3b52c4b28d5c139b8655b7c6cff70d2fd diff --git a/databases/py-psycopg/patches/patch-aa b/databases/py-psycopg/patches/patch-aa deleted file mode 100644 index 99f86b8dc3f..00000000000 --- a/databases/py-psycopg/patches/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2009/02/16 19:36:42 joerg Exp $ - ---- Makefile.pre.in.orig 2005-10-01 02:14:45.000000000 +0200 -+++ Makefile.pre.in -@@ -120,7 +120,7 @@ LIBC= @LIBC@ - RANLIB= @RANLIB@ - MACHDEP= @MACHDEP@ - SO= @SO@ --LDSHARED= @LDSHARED@ -+LDSHARED= @LDSHARED@ @LDFLAGS@ - BLDSHARED= @LDSHARED@ - CCSHARED= @CCSHARED@ - LINKFORSHARED= @LINKFORSHARED@ -@@ -179,7 +179,7 @@ install-shmods: $(SHAREDMODS) - @if [ -n "$(SHAREDMODS)" ]; then \ - for mod in $(SHAREDMODS); do \ - echo " install -m 555 $$mod $(PY_MOD_DIR)"; \ -- $(INSTALL) @INSTALLOPTS@ -m 555 $$mod $(PY_MOD_DIR); \ -+ $(INSTALL) @INSTALLOPTS@ -m 555 $$mod ${DESTDIR}$(PY_MOD_DIR); \ - done; \ - fi - |