Remove py-psycopg as requested by alek@ (maintainer).
We use py-psycopg2 nowadays... ok jasper@ martynas@
This commit is contained in:
parent
5f7af543b0
commit
ee1498364b
@ -1,55 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.50 2011/12/20 19:07:07 jasper Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT-main= PostgreSQL database adapter for Python
|
||||
COMMENT-examples= examples for PostgreSQL database adapter for Python
|
||||
|
||||
VERSION= 1.1.21
|
||||
DISTNAME= psycopg-${VERSION}
|
||||
PKGNAME= py-${DISTNAME}
|
||||
PKGNAME-main= py-${DISTNAME}
|
||||
REVISION-main = 15
|
||||
FULLPKGNAME-examples= py-psycopg-examples-${VERSION}
|
||||
REVISION-examples = 7
|
||||
FULLPKGPATH-examples= databases/py-psycopg,-examples
|
||||
CATEGORIES= databases
|
||||
|
||||
HOMEPAGE= http://initd.org/projects/psycopg1
|
||||
|
||||
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
|
||||
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
|
||||
WANTLIB-main= crypto util pq
|
||||
|
||||
MASTER_SITES= http://initd.org/pub/software/psycopg/
|
||||
|
||||
MODULES= lang/python
|
||||
|
||||
BUILD_DEPENDS= databases/postgresql,-server
|
||||
RUN_DEPENDS= databases/postgresql
|
||||
|
||||
MULTI_PACKAGES= -main -examples
|
||||
|
||||
BUILD_DEPENDS+= py-mxDateTime->=2.0.0:devel/py-mxDateTime
|
||||
RUN_DEPENDS+= py-mxDateTime->=2.0.0:devel/py-mxDateTime
|
||||
|
||||
RUN_DEPENDS-examples= py-psycopg-${VERSION}:${PKGPATH}
|
||||
PKG_ARCH-examples= *
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --with-mxdatetime-includes=${MODPY_SITEPKG}/mx/DateTime/mxDateTime
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-psycopg/
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/examples/* \
|
||||
${PREFIX}/share/examples/py-psycopg/
|
||||
chown ${LIBOWN}:${LIBGRP} ${PREFIX}/lib/python${MODPY_VERSION}/lib-dynload/psycopgmodule.so
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,5 +0,0 @@
|
||||
MD5 (psycopg-1.1.21.tar.gz) = ox959o1tMomNbyThE2mhBg==
|
||||
RMD160 (psycopg-1.1.21.tar.gz) = 3nSnCxY1P2nefomAWaeh2EGK0u4=
|
||||
SHA1 (psycopg-1.1.21.tar.gz) = Atiotd1oIwYReJbHxjqaG1GJl7Y=
|
||||
SHA256 (psycopg-1.1.21.tar.gz) = 9IfQLo6IN+x+YuTg9QvLl05zt3ZTM7AyrFDAe/Es4kA=
|
||||
SIZE (psycopg-1.1.21.tar.gz) = 213753
|
@ -1,33 +0,0 @@
|
||||
$OpenBSD: patch-Makefile_pre_in,v 1.2 2001/09/19 01:05:18 shell Exp $
|
||||
--- Makefile.pre.in.orig Tue Apr 3 09:23:30 2001
|
||||
+++ Makefile.pre.in Mon Jun 18 22:14:19 2001
|
||||
@@ -130,7 +130,7 @@
|
||||
# Install Stuff
|
||||
INSTALL = @INSTALL@
|
||||
PY_LIB_DIR = @PYTHON_LIBRARY_DIR@
|
||||
-PY_MOD_DIR = @PYTHON_MODULE_DIR@
|
||||
+PY_MOD_DIR = $(prefix)/lib/python@PYTHON_VERSION@/lib-dynload/
|
||||
|
||||
# === Fixed definitions ===
|
||||
|
||||
@@ -155,7 +155,7 @@
|
||||
# === Fixed rules ===
|
||||
|
||||
# Default target. This builds shared libraries.
|
||||
-default: sharedmods
|
||||
+all: sharedmods
|
||||
|
||||
# Build shared libraries from our extension modules
|
||||
sharedmods: $(SHAREDMODS)
|
||||
@@ -172,8 +172,9 @@
|
||||
@echo 'Installing shared modules...'
|
||||
@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); \
|
||||
+ echo " install -m 555 $$mod $(DESTDIR)/$(PY_MOD_DIR)"; \
|
||||
+ mkdir -p $(DESTDIR)$(PY_MOD_DIR); \
|
||||
+ $(INSTALL) @INSTALLOPTS@ -m 555 $$mod $(DESTDIR)$(PY_MOD_DIR); \
|
||||
done; \
|
||||
fi
|
||||
|
@ -1 +0,0 @@
|
||||
examples for psycopg PostgreSQL database adapter
|
@ -1,24 +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.
|
||||
|
||||
psycopg is still in development but that does not mean that it is
|
||||
unstable. It just does not support the Python DBAPI-2.0 completely
|
||||
and is missing some of the more esoteric features we want it to
|
||||
have.
|
||||
|
||||
Note that you need to install the -zope subpackage if you want to
|
||||
use psycopg as a PostgreSQL database adapter for Zope.
|
@ -1,22 +0,0 @@
|
||||
@comment $OpenBSD: PLIST-examples,v 1.5 2011/12/20 07:02:19 fgsch Exp $
|
||||
@pkgpath databases/py-psycopg,-examples[,python2.4][,python2.5][,python2.6]
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/binary.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/bool.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/bounded.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/commit.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/copy_from.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/copy_from2.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/copy_to.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/dictfetch.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/dt.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/first.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/integrity.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/interval.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/notify.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/oid.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/somehackers.jpg
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/threads.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/usercast.py
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/whereareyou.jpg
|
||||
share/examples/${MODPY_PY_PREFIX}psycopg/work.py
|
@ -1,5 +0,0 @@
|
||||
@comment $OpenBSD: PLIST-main,v 1.6 2011/12/20 07:02:19 fgsch Exp $
|
||||
@pkgpath databases/py-psycopg,no_zope
|
||||
@pkgpath databases/py-psycopg
|
||||
@pkgpath databases/py-psycopg,-main[,python2.5][,python2.6][,python2.7]
|
||||
lib/python${MODPY_VERSION}/lib-dynload/psycopgmodule.so
|
Loading…
Reference in New Issue
Block a user