New Upstream Snapshot - python-biplist

Ready changes

Summary

Merged new upstream version: 1.0.3+git20180224.1.4c3d0c9 (was: 1.0.3).

Resulting package

Built on 2022-12-18T10:59 (took 3m57s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-snapshots python3-biplist

Lintian Result

Diff

diff --git a/PKG-INFO b/PKG-INFO
index 95ff1fd..bdfb605 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,20 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: biplist
 Version: 1.0.3
 Summary: biplist is a library for reading/writing binary plists.
 Home-page: https://bitbucket.org/wooster/biplist
+Download-URL: https://bitbucket.org/wooster/biplist/downloads/biplist-1.0.3.tar.gz
 Author: Andrew Wooster
 Author-email: andrew@planetaryscale.com
 License: BSD
-Download-URL: https://bitbucket.org/wooster/biplist/downloads/biplist-1.0.3.tar.gz
-Description: `biplist` is a binary plist parser/generator for Python.
-        
-        Binary Property List (plist) files provide a faster and smaller serialization
-        format for property lists on OS X. This is a library for generating binary
-        plists which can be read by OS X, iOS, or other clients.
-        
-        This module requires Python 2.6 or higher or Python 3.4 or higher.
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
@@ -22,3 +14,13 @@ Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Text Processing :: Markup
+License-File: LICENSE
+License-File: AUTHORS
+
+`biplist` is a binary plist parser/generator for Python.
+
+Binary Property List (plist) files provide a faster and smaller serialization
+format for property lists on OS X. This is a library for generating binary
+plists which can be read by OS X, iOS, or other clients.
+
+This module requires Python 2.6 or higher or Python 3.4 or higher.
diff --git a/biplist.egg-info/PKG-INFO b/biplist.egg-info/PKG-INFO
index 95ff1fd..bdfb605 100644
--- a/biplist.egg-info/PKG-INFO
+++ b/biplist.egg-info/PKG-INFO
@@ -1,20 +1,12 @@
-Metadata-Version: 1.1
+Metadata-Version: 2.1
 Name: biplist
 Version: 1.0.3
 Summary: biplist is a library for reading/writing binary plists.
 Home-page: https://bitbucket.org/wooster/biplist
+Download-URL: https://bitbucket.org/wooster/biplist/downloads/biplist-1.0.3.tar.gz
 Author: Andrew Wooster
 Author-email: andrew@planetaryscale.com
 License: BSD
-Download-URL: https://bitbucket.org/wooster/biplist/downloads/biplist-1.0.3.tar.gz
-Description: `biplist` is a binary plist parser/generator for Python.
-        
-        Binary Property List (plist) files provide a faster and smaller serialization
-        format for property lists on OS X. This is a library for generating binary
-        plists which can be read by OS X, iOS, or other clients.
-        
-        This module requires Python 2.6 or higher or Python 3.4 or higher.
-Platform: UNKNOWN
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
@@ -22,3 +14,13 @@ Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: Text Processing :: Markup
+License-File: LICENSE
+License-File: AUTHORS
+
+`biplist` is a binary plist parser/generator for Python.
+
+Binary Property List (plist) files provide a faster and smaller serialization
+format for property lists on OS X. This is a library for generating binary
+plists which can be read by OS X, iOS, or other clients.
+
+This module requires Python 2.6 or higher or Python 3.4 or higher.
diff --git a/biplist.egg-info/SOURCES.txt b/biplist.egg-info/SOURCES.txt
index 03c0584..97bb4db 100644
--- a/biplist.egg-info/SOURCES.txt
+++ b/biplist.egg-info/SOURCES.txt
@@ -27,6 +27,7 @@ tests/data/nskeyedarchiver_example.plist
 tests/data/simple_binary.plist
 tests/data/small_date.plist
 tests/data/small_real.plist
+tests/data/sorted.plist
 tests/data/unicode_empty.plist
 tests/data/unicode_root.plist
 tests/fuzz_data/array_invalid_count.plist
diff --git a/debian/changelog b/debian/changelog
index 0e83e6f..7d9d4e8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-biplist (1.0.3+git20180224.1.4c3d0c9-1) UNRELEASED; urgency=low
+
+  * New upstream snapshot.
+
+ -- Debian Janitor <janitor@jelmer.uk>  Sun, 18 Dec 2022 10:57:18 -0000
+
 python-biplist (1.0.3-5) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/fix-tests-on-32-bit-860656.patch b/debian/patches/fix-tests-on-32-bit-860656.patch
index db55da2..8bbf8ba 100644
--- a/debian/patches/fix-tests-on-32-bit-860656.patch
+++ b/debian/patches/fix-tests-on-32-bit-860656.patch
@@ -8,10 +8,10 @@ value provided, it does not care what type it was.
  tests/test_write.py | 9 ++++++++-
  1 file changed, 8 insertions(+), 1 deletion(-)
 
-diff --git a/tests/test_write.py b/tests/test_write.py
-index 253552c..7ac87e3 100644
---- a/tests/test_write.py
-+++ b/tests/test_write.py
+Index: python-biplist.git/tests/test_write.py
+===================================================================
+--- python-biplist.git.orig/tests/test_write.py
++++ python-biplist.git/tests/test_write.py
 @@ -17,6 +17,7 @@ try:
      unicodeStr = lambda x: x.decode('utf-8')
      toUnicode = lambda x: x.decode('unicode-escape')
diff --git a/debian/patches/python3.9.patch b/debian/patches/python3.9.patch
index d16ac80..f4152c5 100644
--- a/debian/patches/python3.9.patch
+++ b/debian/patches/python3.9.patch
@@ -11,10 +11,10 @@ Bug-Upstream: https://bitbucket.org/wooster/biplist/issues/12/python-39-compatib
  biplist/__init__.py | 9 +--------
  1 file changed, 1 insertion(+), 8 deletions(-)
 
-diff --git a/biplist/__init__.py b/biplist/__init__.py
-index f9d5836..4a40602 100644
---- a/biplist/__init__.py
-+++ b/biplist/__init__.py
+Index: python-biplist.git/biplist/__init__.py
+===================================================================
+--- python-biplist.git.orig/biplist/__init__.py
++++ python-biplist.git/biplist/__init__.py
 @@ -147,14 +147,7 @@ def readPlist(pathOrFile):
      return result
  
diff --git a/setup.cfg b/setup.cfg
index 861a9f5..8bfd5a1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff --git a/tests/data/sorted.plist b/tests/data/sorted.plist
new file mode 100644
index 0000000..90960bc
Binary files /dev/null and b/tests/data/sorted.plist differ
diff --git a/tests/test_write.py b/tests/test_write.py
index 253552c..6db8eaa 100644
--- a/tests/test_write.py
+++ b/tests/test_write.py
@@ -38,7 +38,7 @@ class TestWritePlist(unittest.TestCase):
         self.assertTrue(len(plist) > 0)
         
         # confirm that lint is happy with the result
-        self.lintPlist(plist)        
+        self.lintPlist(plist)
         
         # convert back
         readResult = readPlistFromString(plist)
@@ -353,6 +353,16 @@ class TestWritePlist(unittest.TestCase):
             pass
         except:
             self.fail("Should get an invalid plist exception for recursive containers.")
+    
+    def testSortedWrite(self):
+        # Ensure we're generating reproducible output.
+        header = PlistWriter.header
+        PlistWriter.header = b'bplist00'
+        root = [set(['b', 'c', 'a']), {"a":1, "b":2, "c":3}]
+        binplist = writePlistToString(root)
+        PlistWriter.header = header
+        expected = open(data_path('sorted.plist'), 'rb').read()
+        self.assertEqual(binplist, expected)
 
 if __name__ == '__main__':
     unittest.main()

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details