rpms/python-shove/devel import.log, NONE, 1.1 python-shove-0.1.3-setup.patch, NONE, 1.1 python-shove.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Luke Macken
lmacken at fedoraproject.org
Thu Feb 12 03:03:41 UTC 2009
- Previous message (by thread): rpms/perl-XML-Generator/EL-5 import.log, NONE, 1.1 perl-XML-Generator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): status-report-scripts pyGetReviewByFlags,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lmacken
Update of /cvs/pkgs/rpms/python-shove/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22268/devel
Modified Files:
.cvsignore sources
Added Files:
import.log python-shove-0.1.3-setup.patch python-shove.spec
Log Message:
Initial import of the python-shove module into Fedora
--- NEW FILE import.log ---
python-shove-0_1_3-2_fc10:HEAD:python-shove-0.1.3-2.fc10.src.rpm:1234407646
python-shove-0.1.3-setup.patch:
--- NEW FILE python-shove-0.1.3-setup.patch ---
--- setup.py.orig 2008-12-16 20:20:19.000000000 -0500
+++ setup.py 2008-12-16 20:20:29.000000000 -0500
@@ -1,140 +1,137 @@
-# Copyright (c) 2006-2008 L. C. Rees. All rights reserved.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions are met:
-#
-# 1. Redistributions of source code must retain the above copyright notice,
-# this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. Neither the name of the Portable Site Information Project nor the names
-# of its contributors may be used to endorse or promote products derived from
-# this software without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-
-'''setup - setuptools based setup for shove.'''
-
-import ez_setup
-ez_setup.use_setuptools()
-
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
-
-setup(
- name='shove',
- version='0.1.3',
- description='''Common object storage frontend.''',
- long_description='''Common object storage frontend that supports dictionary-style access, object serialization and compression, and multiple storage and caching backends.
-
-Currently supported storage backends are:
-
- * Amazon S3 Web Service
- * Berkeley Source Database
- * Filesystem
- * Firebird
- * FTP
- * DBM
- * Durus
- * Memory
- * Microsoft SQL Server
- * MySQL
- * Oracle
- * PostgreSQL
- * SQLite
- * Subversion
- * Zope Object Database (ZODB)
-
-Currently supported caching backends are:
-
- * Filesystem
- * Firebird
- * memcached
- * Memory
- * Microsoft SQL Server
- * MySQL
- * Oracle
- * PostgreSQL
- * SQLite
-
-The simplest shove use case is:
-
-from shove import Shove
-
-store = Shove()
-
-which creates an in-memory store and cache.
-
-To use another backend for storage or caching, a configuration URI or an existing store or cache instance is passed to shove using the form:
-
-from shove import Shove
-
-<storename> = Shove(<store_uri>, <cache_uri>)
-
-The URI format for a backend is documented in its module. The URI form is the same as SQLAlchemy's:
-
-http://www.sqlalchemy.org/docs/04/dbengine.html#dbengine_establishing
-
-shove implements the Python dictionary/mapping API:
-
-http://docs.python.org/lib/typesmapping.html''',
- author='L. C. Rees',
- author_email='lcrees at gmail.com',
- url='http://pypi.python.org/pypi/shove/',
- license='BSD',
- packages = ['shove', 'shove.cache', 'shove.store', 'shove.tests'],
- test_suite='shove.tests',
- zip_safe = False,
- keywords='object storage persistence database shelve',
- classifiers=['Development Status :: 4 - Beta',
- 'Environment :: Web Environment',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python',
- 'Topic :: Database :: Front-Ends'],
- install_requires = ['SQLAlchemy >=0.4', 'boto'],
+# Copyright (c) 2006-2008 L. C. Rees. All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+# 3. Neither the name of the Portable Site Information Project nor the names
+# of its contributors may be used to endorse or promote products derived from
+# this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+
+'''setup - setuptools based setup for shove.'''
+
+try:
+ from setuptools import setup
+except ImportError:
+ from distutils.core import setup
+
+setup(
+ name='shove',
+ version='0.1.3',
+ description='''Common object storage frontend.''',
+ long_description='''Common object storage frontend that supports dictionary-style access, object serialization and compression, and multiple storage and caching backends.
+
+Currently supported storage backends are:
+
+ * Amazon S3 Web Service
+ * Berkeley Source Database
+ * Filesystem
+ * Firebird
+ * FTP
+ * DBM
+ * Durus
+ * Memory
+ * Microsoft SQL Server
+ * MySQL
+ * Oracle
+ * PostgreSQL
+ * SQLite
+ * Subversion
+ * Zope Object Database (ZODB)
+
+Currently supported caching backends are:
+
+ * Filesystem
+ * Firebird
+ * memcached
+ * Memory
+ * Microsoft SQL Server
+ * MySQL
+ * Oracle
+ * PostgreSQL
+ * SQLite
+
+The simplest shove use case is:
+
+from shove import Shove
+
+store = Shove()
+
+which creates an in-memory store and cache.
+
+To use another backend for storage or caching, a configuration URI or an existing store or cache instance is passed to shove using the form:
+
+from shove import Shove
+
+<storename> = Shove(<store_uri>, <cache_uri>)
+
+The URI format for a backend is documented in its module. The URI form is the same as SQLAlchemy's:
+
+http://www.sqlalchemy.org/docs/04/dbengine.html#dbengine_establishing
+
+shove implements the Python dictionary/mapping API:
+
+http://docs.python.org/lib/typesmapping.html''',
+ author='L. C. Rees',
+ author_email='lcrees at gmail.com',
+ url='http://pypi.python.org/pypi/shove/',
+ license='BSD',
+ packages = ['shove', 'shove.cache', 'shove.store', 'shove.tests'],
+ test_suite='shove.tests',
+ zip_safe = False,
+ keywords='object storage persistence database shelve',
+ classifiers=['Development Status :: 4 - Beta',
+ 'Environment :: Web Environment',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Topic :: Database :: Front-Ends'],
+ install_requires = ['SQLAlchemy >=0.4', 'boto'],
entry_points = '''
- [shove.stores]
- bsddb=shove.store.bsdb:BsdStore
- dbm=shove.store.dbm:DbmStore
- durus=shove.store.durusdb:DurusStore
- file=shove.store.file:FileStore
- firebird=shove.store.db:DbStore
- ftp=shove.store.ftp:FtpStore
- memory=shove.store.memory:MemoryStore
- mssql=shove.store.db:DbStore
- mysql=shove.store.db:DbStore
- oracle=shove.store.db:DbStore
- postgres=shove.store.db:DbStore
- simple=shove.store.simple:SimpleStore
- sqlite=shove.store.db:DbStore
- s3=shove.store.s3:S3Store
- svn=shove.store.svn:SvnStore
- zodb=shove.store.zodb:ZodbStore
- [shove.caches]
- bsddb=shove.cache.bsdb:BsdCache
- file=shove.cache.file:FileCache
- firebird=shove.cache.db:DbCache
- memcache=shove.cache.memcached:MemCached
- memory=shove.cache.memory:MemoryCache
- mssql=shove.cache.db:DbCache
- mysql=shove.cache.db:DbCache
- oracle=shove.cache.db:DbCache
- postgres=shove.cache.db:DbCache
- simple=shove.cache.simple:SimpleCache
- sqlite=shove.cache.db:DbCache
- '''
-)
\ No newline at end of file
+ [shove.stores]
+ bsddb=shove.store.bsdb:BsdStore
+ dbm=shove.store.dbm:DbmStore
+ durus=shove.store.durusdb:DurusStore
+ file=shove.store.file:FileStore
+ firebird=shove.store.db:DbStore
+ ftp=shove.store.ftp:FtpStore
+ memory=shove.store.memory:MemoryStore
+ mssql=shove.store.db:DbStore
+ mysql=shove.store.db:DbStore
+ oracle=shove.store.db:DbStore
+ postgres=shove.store.db:DbStore
+ simple=shove.store.simple:SimpleStore
+ sqlite=shove.store.db:DbStore
+ s3=shove.store.s3:S3Store
+ svn=shove.store.svn:SvnStore
+ zodb=shove.store.zodb:ZodbStore
+ [shove.caches]
+ bsddb=shove.cache.bsdb:BsdCache
+ file=shove.cache.file:FileCache
+ firebird=shove.cache.db:DbCache
+ memcache=shove.cache.memcached:MemCached
+ memory=shove.cache.memory:MemoryCache
+ mssql=shove.cache.db:DbCache
+ mysql=shove.cache.db:DbCache
+ oracle=shove.cache.db:DbCache
+ postgres=shove.cache.db:DbCache
+ simple=shove.cache.simple:SimpleCache
+ sqlite=shove.cache.db:DbCache
+ '''
+)
--- NEW FILE python-shove.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define module shove
Name: python-shove
Version: 0.1.3
Release: 2%{?dist}
Summary: Common object storage frontend
Group: Development/Languages
License: BSD
URL: http://pypi.python.org/pypi/shove/
Source0: http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Patch to remove ez_install insanity
Patch0: %{name}-%{version}-setup.patch
BuildRequires: python-devel
Requires: python-boto
Requires: python-sqlalchemy
%description
Common object storage frontend that supports dictionary-style access, object
serialization and compression, and multiple storage and caching backends.
Currently supported storage backends are:
* Amazon S3 Web Service
* Berkeley Source Database
* Filesystem
* Firebird
* FTP
* DBM
* Durus
* Memory
* Microsoft SQL Server
* MySQL
* Oracle
* PostgreSQL
* SQLite
* Subversion
* Zope Object Database (ZODB)
Currently supported caching backends are:
* Filesystem
* Firebird
* memcached
* Memory
* Microsoft SQL Server
* MySQL
* Oracle
* PostgreSQL
* SQLite
%prep
%setup -q -n %{module}-%{version}
%patch0 -b .setup
%build
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README
%{python_sitelib}/*
%changelog
* Tue Jan 06 2009 Luke Macken <lmacken at redhat.com> 0.1.3-2
- Use consistent macros
- Add comment about patch
- Make rpmlint happy
* Tue Dec 16 2008 Luke Macken <lmacken at redhat.com> 0.1.3-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-shove/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 10 Feb 2009 22:13:52 -0000 1.1
+++ .cvsignore 12 Feb 2009 03:03:09 -0000 1.2
@@ -0,0 +1 @@
+shove-0.1.3.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-shove/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Feb 2009 22:13:52 -0000 1.1
+++ sources 12 Feb 2009 03:03:09 -0000 1.2
@@ -0,0 +1 @@
+69176d93e5159afcf65145c025881132 shove-0.1.3.tar.bz2
- Previous message (by thread): rpms/perl-XML-Generator/EL-5 import.log, NONE, 1.1 perl-XML-Generator.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): status-report-scripts pyGetReviewByFlags,1.17,1.18
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list