[Checkins] SVN: zope.app.keyreference/trunk/ Fix up the meta-data, so that the 3.5 releases will be good too.

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Oct 24 20:46:21 EDT 2007


Log message for revision 81079:
  Fix up the meta-data, so that the 3.5 releases will be good too.
  

Changed:
  A   zope.app.keyreference/trunk/CHANGES.txt
  U   zope.app.keyreference/trunk/README.txt
  U   zope.app.keyreference/trunk/buildout.cfg
  U   zope.app.keyreference/trunk/setup.py
  D   zope.app.keyreference/trunk/src/zope/app/keyreference/CHANGES.txt
  U   zope.app.keyreference/trunk/src/zope/app/keyreference/persistent.txt

-=-
Added: zope.app.keyreference/trunk/CHANGES.txt
===================================================================
--- zope.app.keyreference/trunk/CHANGES.txt	                        (rev 0)
+++ zope.app.keyreference/trunk/CHANGES.txt	2007-10-25 00:46:20 UTC (rev 81079)
@@ -0,0 +1,16 @@
+=======
+CHANGES
+=======
+
+3.5.0 (unreleased)
+------------------
+
+- Added support for new `ZODB.ConflictResolution.PersistentReference` behavior
+  to persistent key references so that they can now, in many cases, allow
+  conflict resolution when they are used as keys or set members in ZODB
+  `BTrees` data structures.
+
+3.4.0 (2007-10-24)
+------------------
+
+- Initial release independent of the main Zope tree.


Property changes on: zope.app.keyreference/trunk/CHANGES.txt
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: zope.app.keyreference/trunk/README.txt
===================================================================
--- zope.app.keyreference/trunk/README.txt	2007-10-25 00:05:55 UTC (rev 81078)
+++ zope.app.keyreference/trunk/README.txt	2007-10-25 00:46:20 UTC (rev 81079)
@@ -1,4 +1 @@
-zope.app.keyreference
-=====================
-
 Object references that support stable comparison and hashes.

Modified: zope.app.keyreference/trunk/buildout.cfg
===================================================================
--- zope.app.keyreference/trunk/buildout.cfg	2007-10-25 00:05:55 UTC (rev 81078)
+++ zope.app.keyreference/trunk/buildout.cfg	2007-10-25 00:46:20 UTC (rev 81079)
@@ -1,7 +1,6 @@
 [buildout]
 develop = .
 parts = test py
-find-links = http://download.zope.org/distribution/
 
 [test]
 recipe = zc.recipe.testrunner

Modified: zope.app.keyreference/trunk/setup.py
===================================================================
--- zope.app.keyreference/trunk/setup.py	2007-10-25 00:05:55 UTC (rev 81078)
+++ zope.app.keyreference/trunk/setup.py	2007-10-25 00:46:20 UTC (rev 81079)
@@ -15,26 +15,45 @@
 
 $Id$
 """
-
 import os
-
 from setuptools import setup, find_packages
 
+def read(*rnames):
+    return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
+
 setup(name = 'zope.app.keyreference',
-      version = '3.5.0b1',
-      url = 'http://svn.zope.org/zope.app.keyreference',
-      license = 'ZPL 2.1',
-      description = 'Zope app.keyreference',
-      author = 'Zope Corporation and Contributors',
-      author_email = 'zope3-dev at zope.org',
-      long_description = '',
-
-      packages = find_packages('src'),
+      version = '3.5.0b2',
+      author='Zope Corporation and Contributors',
+      author_email='zope3-dev at zope.org',
+      description='Key References',
+      long_description=(
+          read('README.txt')
+          + '\n\n' +
+          'Detailed Dcoumentation\n' +
+          '----------------------\n'
+          + '\n\n' +
+          read('src', 'zope', 'app', 'keyreference', 'persistent.txt')
+          + '\n\n' +
+          read('CHANGES.txt')
+          ),
+      keywords = "zope3 key reference persistent",
+      classifiers = [
+          'Development Status :: 5 - Production/Stable',
+          'Environment :: Web Environment',
+          'Intended Audience :: Developers',
+          'License :: OSI Approved :: Zope Public License',
+          'Programming Language :: Python',
+          'Natural Language :: English',
+          'Operating System :: OS Independent',
+          'Topic :: Internet :: WWW/HTTP',
+          'Framework :: Zope3'],
+      url='http://cheeseshop.python.org/pypi/zope.app.persistent',
+      license='ZPL 2.1',
+      packages=find_packages('src'),
       package_dir = {'': 'src'},
-
-      namespace_packages = ['zope', 'zope.app'],
+      namespace_packages=['zope', 'zope.app'],
       install_requires = ['setuptools',
-                          'ZODB3 >=3.8.0b3',
+                          'ZODB3',
                           'zope.component',
                           'zope.i18nmessageid',
                           'zope.interface',

Deleted: zope.app.keyreference/trunk/src/zope/app/keyreference/CHANGES.txt
===================================================================
--- zope.app.keyreference/trunk/src/zope/app/keyreference/CHANGES.txt	2007-10-25 00:05:55 UTC (rev 81078)
+++ zope.app.keyreference/trunk/src/zope/app/keyreference/CHANGES.txt	2007-10-25 00:46:20 UTC (rev 81079)
@@ -1,6 +0,0 @@
-3.5.0 (unreleased)
-
-- Added support for new ZODB.ConflictResolution.PersistentReference behavior
-  to persistent key references so that they can now, in many cases, allow
-  conflict resolution when they are used as keys or set members in ZODB
-  `BTrees` data structures.

Modified: zope.app.keyreference/trunk/src/zope/app/keyreference/persistent.txt
===================================================================
--- zope.app.keyreference/trunk/src/zope/app/keyreference/persistent.txt	2007-10-25 00:05:55 UTC (rev 81078)
+++ zope.app.keyreference/trunk/src/zope/app/keyreference/persistent.txt	2007-10-25 00:46:20 UTC (rev 81079)
@@ -1,3 +1,4 @@
+=====================================
 Key References for Persistent Objects
 =====================================
 
@@ -3,5 +4,5 @@
 `zope.keyreference.persistent.KeyReferenceToPersistent` provides an
 `zope.app.keyreference.interfaces.IReference` reference for persistent
-objects.  
+objects.
 
 Let's look at an example. First, we'll create some persistent objects
@@ -32,7 +33,7 @@
 
     >>> key1() is root['ob1'], key2() is root['ob2']
     (True, True)
-    
+
 New keys to the same objects are equal to the old:
 
     >>> KeyReferenceToPersistent(root['ob1']) == key1
@@ -67,7 +68,7 @@
     >>> keys = [key1, dummy_key1, dummy_key2, key2, dummy_key3]
     >>> keys.sort()
     >>> key_type_ids = [key.key_type_id for key in keys]
-    >>> key_type_ids[0:3].count('zope.app.keyreference.object') 
+    >>> key_type_ids[0:3].count('zope.app.keyreference.object')
     3
     >>> key_type_ids[3:].count('zope.app.keyreference.persistent')
     2
@@ -81,7 +82,7 @@
 
     >>> root[key1] = root['ob1']
     >>> root[key2] = root['ob2']
-    
+
     >>> transaction.commit()
 
 Now we'll open another connection:
@@ -169,7 +170,7 @@
     Traceback (most recent call last):
     ...
     ValueError: database name unavailable at this time
-    
+
     >>> bool(hash(factory(PersistentReference(
     ...     ['m', ('a database', 'an oid', 'class metadata')])))) # multidatabase
     True



More information about the Checkins mailing list