Import py-pickleshare.

OK rpointel@, daniel@
This commit is contained in:
edd 2015-08-16 19:37:17 +00:00
parent 2e5ebe24c9
commit 6bb8d01616
4 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2015/08/16 19:37:17 edd Exp $
COMMENT = tiny 'shelve'-like database with concurrency support
MODPY_EGG_VERSION = 0.5
DISTNAME = pickleshare-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = databases devel
HOMEPAGE = https://github.com/pickleshare/pickleshare
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
NO_TEST = Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (pickleshare-0.5.tar.gz) = wL5XRQNdQ32/ValvYLdxI0WxJCP30JUb19jcIUHKkoY=
SIZE (pickleshare-0.5.tar.gz) = 4441

View File

@ -0,0 +1,8 @@
Like shelve, a PickleShareDB object acts like a normal dictionary.
Unlike shelve, many processes can access the database simultaneously.
Changing a value in database is immediately visible to other processes
accessing the same database.
Concurrency is possible because the values are stored in separate files.
Hence the "database" is a directory where all files are governed by
PickleShare.

View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/08/16 19:37:17 edd Exp $
lib/python${MODPY_VERSION}/site-packages/pickleshare-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/pickleshare-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/pickleshare-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/pickleshare-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/pickleshare-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
lib/python${MODPY_VERSION}/site-packages/pickleshare-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/pickleshare.py
lib/python${MODPY_VERSION}/site-packages/pickleshare.pyc