aboutsummaryrefslogtreecommitdiffstats
path: root/databases/py-psycopg
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-psycopg')
-rw-r--r--databases/py-psycopg/Makefile88
-rw-r--r--databases/py-psycopg/distinfo2
-rw-r--r--databases/py-psycopg/pkg-descr16
-rw-r--r--databases/py-psycopg/pkg-plist55
4 files changed, 0 insertions, 161 deletions
diff --git a/databases/py-psycopg/Makefile b/databases/py-psycopg/Makefile
deleted file mode 100644
index 2bed21984ce7..000000000000
--- a/databases/py-psycopg/Makefile
+++ /dev/null
@@ -1,88 +0,0 @@
-# Created by: Alex Rodioukov <simuran@shaw.ca>
-# $FreeBSD$
-
-PORTNAME= psycopg
-PORTVERSION= 1.1.21
-PORTREVISION= 1
-CATEGORIES= databases python
-MASTER_SITES= http://initd.org/psycopg/tarballs/PSYCOPG-1-1/
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= psycopg-${PORTVERSION}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= High performance Python adapter for PostgreSQL
-
-DEPRECATED= This port is obsoleted by databases/py-psycopg2. Last consumer of it marked as deprecated
-EXPIRATION_DATE= 2016-03-25
-
-RUN_DEPENDS= ${DATETIME_DEP}:lang/py-mx-base
-BUILD_DEPENDS= ${DATETIME_DEP}:lang/py-mx-base
-
-USES= gmake pgsql python
-GNU_CONFIGURE= yes
-
-ALL_TARGET= sharedmods
-
-CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
- --with-python-version=${PYTHON_VERSION:S/python//} \
- --with-postgres-libraries=${LOCALBASE}/lib \
- --with-postgres-includes=${LOCALBASE}/include \
- --with-mxdatetime-includes=${DATETIME_INC}
-
-OPTIONS_DEFINE= ZOPE DOCS EXAMPLES
-OPTIONS_SUB= yes
-
-ZOPE_USES= zope
-
-DATETIME_DEP= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py
-DATETIME_INC= ${PYTHON_SITELIBDIR}/mx/DateTime/mxDateTime/
-
-DOCSDIR= ${PREFIX}/share/doc/py-psycopg
-EXAMPLESDIR= ${PREFIX}/share/examples/py-psycopg
-
-EXAMPLES= binary.py bool.py bounded.py commit.py copy_from.py \
- copy_from2.py copy_to.py dictfetch.py dt.py first.py \
- integrity.py interval.py notify.py oid.py somehackers.jpg \
- threads.py usercast.py whereareyou.jpg work.py
-
-DOCS= AUTHORS COPYING CREDITS ChangeLog FAQ INSTALL NEWS \
- README RELEASE-1.0 SUCCESS TODO
-
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MZOPE}
-post-build:
- ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/ZPsycopgDA
-.endif
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/psycopgmodule.so \
- ${STAGEDIR}${PYTHON_SITELIBDIR}
-.if ${PORT_OPTIONS:MZOPE}
- ${MKDIR} ${STAGEDIR}${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/ZPsycopgDA
- ${CP} -R ${WRKSRC}/ZPsycopgDA ${STAGEDIR}${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/
-.endif
-
-post-install:
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-.for f in ${EXAMPLES}
- @${INSTALL_DATA} ${WRKSRC}/doc/examples/${f} ${STAGEDIR}${EXAMPLESDIR}
-.endfor
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${DOCS}
- @${INSTALL_MAN} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-.if !defined(BATCH) && ${PORT_OPTIONS:MZOPE}
- @${ECHO} ""
- @${ECHO} "To complete the installation of ZPsycopgDA:"
- @${ECHO} ""
- @${ECHO} " - Restart Zope. This may be done from the Zope Control Panel."
- @${ECHO} ""
- @${ECHO} " - Verify that the ZPsycopgDA product is loaded properly by"
- @${ECHO} " examining them in Control_Panel/Products."
- @${ECHO} ""
-.endif
-
-.include <bsd.port.mk>
diff --git a/databases/py-psycopg/distinfo b/databases/py-psycopg/distinfo
deleted file mode 100644
index 96f795c7fa73..000000000000
--- a/databases/py-psycopg/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (psycopg-1.1.21.tar.gz) = f487d02e8e8837ec7e62e4e0f50bcb974e73b7765333b032ac50c07bf12ce240
-SIZE (psycopg-1.1.21.tar.gz) = 213753
diff --git a/databases/py-psycopg/pkg-descr b/databases/py-psycopg/pkg-descr
deleted file mode 100644
index 879b5a51eb65..000000000000
--- a/databases/py-psycopg/pkg-descr
+++ /dev/null
@@ -1,16 +0,0 @@
-psycopg is a PostgreSQL database adapter for the Python programming
-language. 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 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.
-
-WWW: http://initd.org/software/psycopg/
diff --git a/databases/py-psycopg/pkg-plist b/databases/py-psycopg/pkg-plist
deleted file mode 100644
index 2ab657458a3a..000000000000
--- a/databases/py-psycopg/pkg-plist
+++ /dev/null
@@ -1,55 +0,0 @@
-%%PYTHON_SITELIBDIR%%/psycopgmodule.so
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/CREDITS
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/RELEASE-1.0
-%%PORTDOCS%%%%DOCSDIR%%/SUCCESS
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/binary.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bool.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bounded.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/commit.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/copy_from.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/copy_from2.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/copy_to.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dictfetch.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dt.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/first.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/integrity.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/interval.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/notify.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/oid.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/somehackers.jpg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/threads.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/usercast.py
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/whereareyou.jpg
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/work.py
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DA.py
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DA.pyc
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DABase.py
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/DABase.pyc
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/__init__.py
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/__init__.pyc
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/browse.dtml
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/connectionAdd.dtml
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/connectionEdit.dtml
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/db.py
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/db.pyc
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/bin.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/date.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/datetime.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/field.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/float.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/int.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/stable.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/table.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/text.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/time.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/view.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/icons/what.gif
-%%ZOPE%%%%ZOPEPRODUCTDIR%%/ZPsycopgDA/table_info.dtml