aboutsummaryrefslogtreecommitdiff
path: root/devel/py-durus
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-11-15 14:18:12 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-11-15 14:18:12 +0000
commitb037a62f9adfce595987059ebdfeeaa801c7cab7 (patch)
tree20253bb54df4bdf0fb49e22d089cd16669fd4661 /devel/py-durus
parentd69eda8038b696ad260f86cd428b33c0e1712fbb (diff)
downloadports-b037a62f9adfce595987059ebdfeeaa801c7cab7.tar.gz
ports-b037a62f9adfce595987059ebdfeeaa801c7cab7.zip
Durus is a persistent object system for applications written in
the Python programming language. Durus offers an easy way to use and maintain a consistent collection of object instances used by one or more processes. Access and change of a persistent instances is managed through a cached Connection instance which includes commit() and abort() methods so that changes are transactional. Durus is best suited to collections of less than a million instances with relatively stable state. WWW: http://www.mems-exchange.org/software/durus/ PR: ports/105470 Submitted by: Dryice Liu <dryice at dryice.name>
Notes
Notes: svn path=/head/; revision=177318
Diffstat (limited to 'devel/py-durus')
-rw-r--r--devel/py-durus/Makefile35
-rw-r--r--devel/py-durus/distinfo3
-rw-r--r--devel/py-durus/files/patch-setup.py19
-rw-r--r--devel/py-durus/pkg-descr11
-rw-r--r--devel/py-durus/pkg-plist71
5 files changed, 139 insertions, 0 deletions
diff --git a/devel/py-durus/Makefile b/devel/py-durus/Makefile
new file mode 100644
index 000000000000..15aa71d24d7b
--- /dev/null
+++ b/devel/py-durus/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: py-durus
+# Date created: 13 Nov 2006
+# Whom: Dryice Liu <dryice@dryice.name>
+#
+# $FreeBSD$
+#
+
+PORTNAME= durus
+PORTVERSION= 3.5
+CATEGORIES= devel python
+MASTER_SITES= http://www.mems-exchange.org/software/durus/ \
+ http://dryice.name/computer/FreeBSD/distfiles/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= Durus-${PORTVERSION}
+
+MAINTAINER= dryice@dryice.name
+COMMENT= A persistent object storage system for Python
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+MAN1= durus.1
+
+.include <bsd.port.pre.mk>
+
+post-install:
+ @ ${INSTALL_MAN} ${WRKSRC}/doc/durus.1 ${MANPREFIX}/man/man1
+
+.if !defined(NOPORTDOCS)
+ @ ${MKDIR} ${DOCSDIR}
+.for docfile in ACKS.txt CHANGES.txt history.py INSTALL.txt LICENSE.txt README.txt doc/FAQ.txt
+ @ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-durus/distinfo b/devel/py-durus/distinfo
new file mode 100644
index 000000000000..180db9774940
--- /dev/null
+++ b/devel/py-durus/distinfo
@@ -0,0 +1,3 @@
+MD5 (Durus-3.5.tar.gz) = d110e05a75df8b0b79919d577441f33d
+SHA256 (Durus-3.5.tar.gz) = 51b6935bf42cbc6b4de6c38bad734392c6edba4aadf9fc1135b40519c9f0f8ab
+SIZE (Durus-3.5.tar.gz) = 51190
diff --git a/devel/py-durus/files/patch-setup.py b/devel/py-durus/files/patch-setup.py
new file mode 100644
index 000000000000..ae3fe1f91ac1
--- /dev/null
+++ b/devel/py-durus/files/patch-setup.py
@@ -0,0 +1,19 @@
+--- setup.py.orig Wed Aug 16 01:24:55 2006
++++ setup.py Fri Nov 10 17:39:51 2006
+@@ -2,11 +2,11 @@
+ $URL: svn+ssh://svn.mems-exchange.org/repos/trunk/durus/setup.py $
+ $Id: setup.py 28588 2006-08-15 17:11:08Z dbinger $
+ """
+-try:
+- import setuptools
+- used = setuptools # to quiet import checker.
+-except ImportError:
+- pass
++# try:
++# import setuptools
++# used = setuptools # to quiet import checker.
++# except ImportError:
++# pass
+
+ import os
+ from distutils.core import setup
diff --git a/devel/py-durus/pkg-descr b/devel/py-durus/pkg-descr
new file mode 100644
index 000000000000..4f5ce912a05d
--- /dev/null
+++ b/devel/py-durus/pkg-descr
@@ -0,0 +1,11 @@
+Durus is a persistent object system for applications written in
+the Python programming language.
+
+Durus offers an easy way to use and maintain a consistent collection
+of object instances used by one or more processes. Access and change
+of a persistent instances is managed through a cached Connection
+instance which includes commit() and abort() methods so that changes
+are transactional. Durus is best suited to collections of less than a
+million instances with relatively stable state.
+
+WWW: http://www.mems-exchange.org/software/durus/
diff --git a/devel/py-durus/pkg-plist b/devel/py-durus/pkg-plist
new file mode 100644
index 000000000000..9d298c2265d0
--- /dev/null
+++ b/devel/py-durus/pkg-plist
@@ -0,0 +1,71 @@
+bin/durus
+%%PYTHON_SITELIBDIR%%/durus/error.py
+%%PYTHON_SITELIBDIR%%/durus/client_storage.py
+%%PYTHON_SITELIBDIR%%/durus/logger.py
+%%PYTHON_SITELIBDIR%%/durus/history.py
+%%PYTHON_SITELIBDIR%%/durus/persistent.py
+%%PYTHON_SITELIBDIR%%/durus/connection.py
+%%PYTHON_SITELIBDIR%%/durus/persistent_set.py
+%%PYTHON_SITELIBDIR%%/durus/storage.py
+%%PYTHON_SITELIBDIR%%/durus/btree.py
+%%PYTHON_SITELIBDIR%%/durus/storage_server.py
+%%PYTHON_SITELIBDIR%%/durus/run_durus.py
+%%PYTHON_SITELIBDIR%%/durus/client.py
+%%PYTHON_SITELIBDIR%%/durus/persistent_dict.py
+%%PYTHON_SITELIBDIR%%/durus/serialize.py
+%%PYTHON_SITELIBDIR%%/durus/pack_storage.py
+%%PYTHON_SITELIBDIR%%/durus/__init__.py
+%%PYTHON_SITELIBDIR%%/durus/persistent_list.py
+%%PYTHON_SITELIBDIR%%/durus/file_storage.py
+%%PYTHON_SITELIBDIR%%/durus/convert_file_storage.py
+%%PYTHON_SITELIBDIR%%/durus/utils.py
+%%PYTHON_SITELIBDIR%%/durus/error.pyc
+%%PYTHON_SITELIBDIR%%/durus/client_storage.pyc
+%%PYTHON_SITELIBDIR%%/durus/logger.pyc
+%%PYTHON_SITELIBDIR%%/durus/history.pyc
+%%PYTHON_SITELIBDIR%%/durus/persistent.pyc
+%%PYTHON_SITELIBDIR%%/durus/connection.pyc
+%%PYTHON_SITELIBDIR%%/durus/persistent_set.pyc
+%%PYTHON_SITELIBDIR%%/durus/storage.pyc
+%%PYTHON_SITELIBDIR%%/durus/btree.pyc
+%%PYTHON_SITELIBDIR%%/durus/storage_server.pyc
+%%PYTHON_SITELIBDIR%%/durus/run_durus.pyc
+%%PYTHON_SITELIBDIR%%/durus/client.pyc
+%%PYTHON_SITELIBDIR%%/durus/persistent_dict.pyc
+%%PYTHON_SITELIBDIR%%/durus/serialize.pyc
+%%PYTHON_SITELIBDIR%%/durus/pack_storage.pyc
+%%PYTHON_SITELIBDIR%%/durus/__init__.pyc
+%%PYTHON_SITELIBDIR%%/durus/persistent_list.pyc
+%%PYTHON_SITELIBDIR%%/durus/file_storage.pyc
+%%PYTHON_SITELIBDIR%%/durus/convert_file_storage.pyc
+%%PYTHON_SITELIBDIR%%/durus/utils.pyc
+%%PYTHON_SITELIBDIR%%/durus/_persistent.so
+%%PYTHON_SITELIBDIR%%/durus/error.pyo
+%%PYTHON_SITELIBDIR%%/durus/client_storage.pyo
+%%PYTHON_SITELIBDIR%%/durus/logger.pyo
+%%PYTHON_SITELIBDIR%%/durus/history.pyo
+%%PYTHON_SITELIBDIR%%/durus/persistent.pyo
+%%PYTHON_SITELIBDIR%%/durus/connection.pyo
+%%PYTHON_SITELIBDIR%%/durus/persistent_set.pyo
+%%PYTHON_SITELIBDIR%%/durus/storage.pyo
+%%PYTHON_SITELIBDIR%%/durus/btree.pyo
+%%PYTHON_SITELIBDIR%%/durus/storage_server.pyo
+%%PYTHON_SITELIBDIR%%/durus/run_durus.pyo
+%%PYTHON_SITELIBDIR%%/durus/client.pyo
+%%PYTHON_SITELIBDIR%%/durus/persistent_dict.pyo
+%%PYTHON_SITELIBDIR%%/durus/serialize.pyo
+%%PYTHON_SITELIBDIR%%/durus/pack_storage.pyo
+%%PYTHON_SITELIBDIR%%/durus/__init__.pyo
+%%PYTHON_SITELIBDIR%%/durus/persistent_list.pyo
+%%PYTHON_SITELIBDIR%%/durus/file_storage.pyo
+%%PYTHON_SITELIBDIR%%/durus/convert_file_storage.pyo
+%%PYTHON_SITELIBDIR%%/durus/utils.pyo
+%%PORTDOCS%%%%DOCSDIR%%/ACKS.txt
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/history.py
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.txt
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
+%%PORTDOCS%%%%DOCSDIR%%/README.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/durus