From 0264959b9ae25d29b8e559348e1e0fac01653972 Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Thu, 20 Jan 2011 21:28:38 -0800
Subject: [PATCH] setup: upgrade bundled version of darcsver from 1.7.1 to
 1.7.2 to support the new bbfreeze feature (by, strangely, having darcsver
 write out unix newlines regardless of what the underlying platform prefers)

---
 {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/PKG-INFO    | 2 +-
 {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/SOURCES.txt | 1 -
 .../EGG-INFO/dependency_links.txt                               | 0
 .../EGG-INFO/entry_points.txt                                   | 0
 .../EGG-INFO/not-zip-safe                                       | 0
 .../EGG-INFO/top_level.txt                                      | 0
 {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/darcsver/__init__.py | 0
 {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/darcsver/_version.py | 2 +-
 .../darcsver/darcsvermodule.py                                  | 2 +-
 .../darcsver/setuptools_command.py                              | 0
 {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/scripts/__init__.py  | 0
 .../scripts/darcsverscript.py                                   | 0
 .../share/doc/python-darcsver/README.txt                        | 0
 13 files changed, 3 insertions(+), 4 deletions(-)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/PKG-INFO (99%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/SOURCES.txt (98%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/dependency_links.txt (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/entry_points.txt (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/not-zip-safe (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/EGG-INFO/top_level.txt (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/darcsver/__init__.py (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/darcsver/_version.py (98%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/darcsver/darcsvermodule.py (99%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/darcsver/setuptools_command.py (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/scripts/__init__.py (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/scripts/darcsverscript.py (100%)
 rename {darcsver-1.7.1.egg => darcsver-1.7.2.egg}/share/doc/python-darcsver/README.txt (100%)

diff --git a/darcsver-1.7.1.egg/EGG-INFO/PKG-INFO b/darcsver-1.7.2.egg/EGG-INFO/PKG-INFO
similarity index 99%
rename from darcsver-1.7.1.egg/EGG-INFO/PKG-INFO
rename to darcsver-1.7.2.egg/EGG-INFO/PKG-INFO
index 5823eb46..b59e3084 100644
--- a/darcsver-1.7.1.egg/EGG-INFO/PKG-INFO
+++ b/darcsver-1.7.2.egg/EGG-INFO/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: darcsver
-Version: 1.7.1
+Version: 1.7.2
 Summary: generate a version number from darcs history
 Home-page: http://tahoe-lafs.org/trac/darcsver
 Author: Zooko O'Whielacronx
diff --git a/darcsver-1.7.1.egg/EGG-INFO/SOURCES.txt b/darcsver-1.7.2.egg/EGG-INFO/SOURCES.txt
similarity index 98%
rename from darcsver-1.7.1.egg/EGG-INFO/SOURCES.txt
rename to darcsver-1.7.2.egg/EGG-INFO/SOURCES.txt
index 38380a44..7ae9be9a 100644
--- a/darcsver-1.7.1.egg/EGG-INFO/SOURCES.txt
+++ b/darcsver-1.7.2.egg/EGG-INFO/SOURCES.txt
@@ -1,5 +1,4 @@
 README.txt
-TODO
 setup.py
 darcsver/__init__.py
 darcsver/_version.py
diff --git a/darcsver-1.7.1.egg/EGG-INFO/dependency_links.txt b/darcsver-1.7.2.egg/EGG-INFO/dependency_links.txt
similarity index 100%
rename from darcsver-1.7.1.egg/EGG-INFO/dependency_links.txt
rename to darcsver-1.7.2.egg/EGG-INFO/dependency_links.txt
diff --git a/darcsver-1.7.1.egg/EGG-INFO/entry_points.txt b/darcsver-1.7.2.egg/EGG-INFO/entry_points.txt
similarity index 100%
rename from darcsver-1.7.1.egg/EGG-INFO/entry_points.txt
rename to darcsver-1.7.2.egg/EGG-INFO/entry_points.txt
diff --git a/darcsver-1.7.1.egg/EGG-INFO/not-zip-safe b/darcsver-1.7.2.egg/EGG-INFO/not-zip-safe
similarity index 100%
rename from darcsver-1.7.1.egg/EGG-INFO/not-zip-safe
rename to darcsver-1.7.2.egg/EGG-INFO/not-zip-safe
diff --git a/darcsver-1.7.1.egg/EGG-INFO/top_level.txt b/darcsver-1.7.2.egg/EGG-INFO/top_level.txt
similarity index 100%
rename from darcsver-1.7.1.egg/EGG-INFO/top_level.txt
rename to darcsver-1.7.2.egg/EGG-INFO/top_level.txt
diff --git a/darcsver-1.7.1.egg/darcsver/__init__.py b/darcsver-1.7.2.egg/darcsver/__init__.py
similarity index 100%
rename from darcsver-1.7.1.egg/darcsver/__init__.py
rename to darcsver-1.7.2.egg/darcsver/__init__.py
diff --git a/darcsver-1.7.1.egg/darcsver/_version.py b/darcsver-1.7.2.egg/darcsver/_version.py
similarity index 98%
rename from darcsver-1.7.1.egg/darcsver/_version.py
rename to darcsver-1.7.2.egg/darcsver/_version.py
index 24c0e0cc..fa9c1060 100644
--- a/darcsver-1.7.1.egg/darcsver/_version.py
+++ b/darcsver-1.7.2.egg/darcsver/_version.py
@@ -6,7 +6,7 @@
 # pyutil.version_class for a description of what the different fields mean.
 
 __pkgname__ = "darcsver"
-verstr = "1.7.1"
+verstr = "1.7.2"
 try:
     from pyutil.version_class import Version as pyutil_Version
     __version__ = pyutil_Version(verstr)
diff --git a/darcsver-1.7.1.egg/darcsver/darcsvermodule.py b/darcsver-1.7.2.egg/darcsver/darcsvermodule.py
similarity index 99%
rename from darcsver-1.7.1.egg/darcsver/darcsvermodule.py
rename to darcsver-1.7.2.egg/darcsver/darcsvermodule.py
index 8f00205b..aabd1c9e 100644
--- a/darcsver-1.7.1.egg/darcsver/darcsvermodule.py
+++ b/darcsver-1.7.2.egg/darcsver/darcsvermodule.py
@@ -47,7 +47,7 @@ except (ImportError, ValueError):
 '''
 
 def write_version_py(verstr, outfname, EXE_NAME, version_body, pkgname):
-    f = open(outfname, "wt+")
+    f = open(outfname, "wb+")
     f.write(version_body % {
             'versiontool': EXE_NAME,
             'pkgversion': verstr,
diff --git a/darcsver-1.7.1.egg/darcsver/setuptools_command.py b/darcsver-1.7.2.egg/darcsver/setuptools_command.py
similarity index 100%
rename from darcsver-1.7.1.egg/darcsver/setuptools_command.py
rename to darcsver-1.7.2.egg/darcsver/setuptools_command.py
diff --git a/darcsver-1.7.1.egg/scripts/__init__.py b/darcsver-1.7.2.egg/scripts/__init__.py
similarity index 100%
rename from darcsver-1.7.1.egg/scripts/__init__.py
rename to darcsver-1.7.2.egg/scripts/__init__.py
diff --git a/darcsver-1.7.1.egg/scripts/darcsverscript.py b/darcsver-1.7.2.egg/scripts/darcsverscript.py
similarity index 100%
rename from darcsver-1.7.1.egg/scripts/darcsverscript.py
rename to darcsver-1.7.2.egg/scripts/darcsverscript.py
diff --git a/darcsver-1.7.1.egg/share/doc/python-darcsver/README.txt b/darcsver-1.7.2.egg/share/doc/python-darcsver/README.txt
similarity index 100%
rename from darcsver-1.7.1.egg/share/doc/python-darcsver/README.txt
rename to darcsver-1.7.2.egg/share/doc/python-darcsver/README.txt
-- 
2.45.2