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>
This commit is contained in:
parent
d69eda8038
commit
b037a62f9a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177318
@ -1686,6 +1686,7 @@
|
||||
SUBDIR += py-dateutil
|
||||
SUBDIR += py-dbus
|
||||
SUBDIR += py-dialog
|
||||
SUBDIR += py-durus
|
||||
SUBDIR += py-elementtree
|
||||
SUBDIR += py-epsilon
|
||||
SUBDIR += py-fam
|
||||
|
35
devel/py-durus/Makefile
Normal file
35
devel/py-durus/Makefile
Normal file
@ -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>
|
3
devel/py-durus/distinfo
Normal file
3
devel/py-durus/distinfo
Normal file
@ -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
|
19
devel/py-durus/files/patch-setup.py
Normal file
19
devel/py-durus/files/patch-setup.py
Normal file
@ -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
|
11
devel/py-durus/pkg-descr
Normal file
11
devel/py-durus/pkg-descr
Normal file
@ -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/
|
71
devel/py-durus/pkg-plist
Normal file
71
devel/py-durus/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user