Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dbf for openSUSE:Factory checked in at 2022-10-12 18:25:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dbf (Old) and /work/SRC/openSUSE:Factory/.python-dbf.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dbf" Wed Oct 12 18:25:54 2022 rev:8 rq:1010151 version:0.99.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dbf/python-dbf.changes 2021-10-16 22:47:54.540705508 +0200 +++ /work/SRC/openSUSE:Factory/.python-dbf.new.2275/python-dbf.changes 2022-10-12 18:27:38.246078963 +0200 @@ -1,0 +2,6 @@ +Wed Oct 12 03:00:08 UTC 2022 - Yogalakshmi Arunachalam <[email protected]> + +- Update to version 0.99.2 + no upstream changelog + +------------------------------------------------------------------- Old: ---- dbf-0.99.1.tar.gz New: ---- dbf-0.99.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dbf.spec ++++++ --- /var/tmp/diff_new_pack.gnz79Q/_old 2022-10-12 18:27:38.614079774 +0200 +++ /var/tmp/diff_new_pack.gnz79Q/_new 2022-10-12 18:27:38.622079791 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-dbf # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dbf -Version: 0.99.1 +Version: 0.99.2 Release: 0 Summary: Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf License: BSD-3-Clause ++++++ dbf-0.99.1.tar.gz -> dbf-0.99.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbf-0.99.1/PKG-INFO new/dbf-0.99.2/PKG-INFO --- old/dbf-0.99.1/PKG-INFO 2021-03-03 16:35:11.956314000 +0100 +++ new/dbf-0.99.2/PKG-INFO 2022-05-09 21:04:40.991866000 +0200 @@ -1,18 +1,11 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: dbf -Version: 0.99.1 +Version: 0.99.2 Summary: Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files (including memos) Home-page: https://github.com/ethanfurman/dbf Author: Ethan Furman Author-email: [email protected] License: BSD License -Description: - Currently supports dBase III, Clipper, FoxPro, and Visual FoxPro tables. Text is returned as unicode, and codepage settings in tables are honored. Memos and Null fields are supported. Documentation needs work, but author is very responsive to e-mails. - - Not supported: index files (but can create tempory non-file indexes), auto-incrementing fields, and Varchar fields. - - Installation: `pip install dbf` - Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers @@ -28,3 +21,12 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Provides: dbf + + +Currently supports dBase III, Clipper, FoxPro, and Visual FoxPro tables. Text is returned as unicode, and codepage settings in tables are honored. Memos and Null fields are supported. Documentation needs work, but author is very responsive to e-mails. + +Not supported: index files (but can create tempory non-file indexes), auto-incrementing fields, and Varchar fields. + +Installation: `pip install dbf` + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbf-0.99.1/dbf/README.md new/dbf-0.99.2/dbf/README.md --- old/dbf-0.99.1/dbf/README.md 2021-03-03 16:35:10.000000000 +0100 +++ new/dbf-0.99.2/dbf/README.md 2022-05-09 20:49:00.000000000 +0200 @@ -92,12 +92,12 @@ field_specs='name C(25); age N(3,0); birth D; qualified L', on_disk=False, ) - table.open() + table.open(dbf.READ_WRITE) # add some records to it for datum in ( ('Spanky', 7, dbf.Date.fromymd('20010315'), False), - ('Spunky', 23, dbf.Date(1989, 07, 23), True), + ('Spunky', 23, dbf.Date(1989, 7, 23), True), ('Sparky', 99, dbf.Date(), dbf.Unknown), ): table.append(datum) @@ -112,7 +112,7 @@ # make a copy of the test table (structure, not data) custom = table.new( - filename='test_on_disk', + filename='test_on_disk.dbf', default_data_types=dict(C=dbf.Char, D=dbf.Date, L=dbf.Logical), ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbf-0.99.1/dbf/__init__.py new/dbf-0.99.2/dbf/__init__.py --- old/dbf-0.99.1/dbf/__init__.py 2021-03-03 16:35:11.000000000 +0100 +++ new/dbf-0.99.2/dbf/__init__.py 2022-05-09 20:49:00.000000000 +0200 @@ -75,7 +75,7 @@ xrange = range import collections.abc as collections_abc -version = 0, 99, 1 +version = 0, 99, 2 NoneType = type(None) @@ -350,7 +350,7 @@ SPACE = ASTERISK = TYPE = CR = NULL = None START = LENGTH = END = DECIMALS = FLAGS = CLASS = EMPTY = NUL = None IN_MEMORY = ON_DISK = CLOSED = READ_ONLY = READ_WRITE = None -_NULLFLAG = CHAR = CURRENCY = DATE = DATETIME = DOUBLE = FLOAT = None +_NULLFLAG = CHAR = CURRENCY = DATE = DATETIME = DOUBLE = FLOAT = TIMESTAMP = None GENERAL = INTEGER = LOGICAL = MEMO = NUMERIC = PICTURE = None class HexEnum(IntEnum): @@ -2745,7 +2745,7 @@ new_things.append(thing) item = new_things except TypeError: - raise TypeError('%r cannot be a field name' % (things, )) + raise TypeError('%r cannot be a field name' % (thing, )) else: item = ensure_unicode(item) if not isinstance(item, unicode): @@ -4562,8 +4562,8 @@ flag = 0 for f in format[1:]: flag |= FieldFlag.lookup(f) - if not 0 < length < 20: - raise FieldSpecError("Numeric fields must be between 1 and 19 digits, not %d" % length) + if not 0 < length <= 20: + raise FieldSpecError("Numeric fields must be between 1 and 20 digits, not %d" % length) if decimals and not 0 < decimals <= length - 2: raise FieldSpecError("Decimals must be between 0 and Length-2 (Length: %d, Decimals: %d)" % (length, decimals)) return length, decimals, flag @@ -5708,13 +5708,13 @@ str = """ Table: %s Type: %s - Codepage: %s + Codepage: %s [%s] Status: %s Last updated: %s Record count: %d Field count: %d - Record length: %d """ % (self.filename, version - , self.codepage, status, + Record length: %d """ % (self.filename, version, + self.codepage, encoder, status, self.last_update, len(self), self.field_count, self.record_length) str += "\n --Fields--\n" for i in range(len(self.field_names)): @@ -8353,6 +8353,7 @@ 0x7c : ('cp874', 'Thai Windows'), 0x7d : ('cp1255', 'Hebrew Windows'), 0x7e : ('cp1256', 'Arabic Windows'), + 0x87 : ('cp852', 'Slovenian OEM'), 0xc8 : ('cp1250', 'Eastern European Windows'), 0xc9 : ('cp1251', 'Russian Windows'), 0xca : ('cp1254', 'Turkish Windows'), @@ -8734,7 +8735,6 @@ format = 'txt' if encoding is None: encoding = table._meta.codepage - encoder = codecs.getencoder(encoding) header_names = field_names base, ext = os.path.splitext(filename) if ext.lower() in ('', '.dbf'): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbf-0.99.1/dbf.egg-info/PKG-INFO new/dbf-0.99.2/dbf.egg-info/PKG-INFO --- old/dbf-0.99.1/dbf.egg-info/PKG-INFO 2021-03-03 16:35:11.000000000 +0100 +++ new/dbf-0.99.2/dbf.egg-info/PKG-INFO 2022-05-09 21:04:40.000000000 +0200 @@ -1,18 +1,11 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: dbf -Version: 0.99.1 +Version: 0.99.2 Summary: Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files (including memos) Home-page: https://github.com/ethanfurman/dbf Author: Ethan Furman Author-email: [email protected] License: BSD License -Description: - Currently supports dBase III, Clipper, FoxPro, and Visual FoxPro tables. Text is returned as unicode, and codepage settings in tables are honored. Memos and Null fields are supported. Documentation needs work, but author is very responsive to e-mails. - - Not supported: index files (but can create tempory non-file indexes), auto-incrementing fields, and Varchar fields. - - Installation: `pip install dbf` - Platform: UNKNOWN Classifier: Development Status :: 4 - Beta Classifier: Intended Audience :: Developers @@ -28,3 +21,12 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Provides: dbf + + +Currently supports dBase III, Clipper, FoxPro, and Visual FoxPro tables. Text is returned as unicode, and codepage settings in tables are honored. Memos and Null fields are supported. Documentation needs work, but author is very responsive to e-mails. + +Not supported: index files (but can create tempory non-file indexes), auto-incrementing fields, and Varchar fields. + +Installation: `pip install dbf` + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dbf-0.99.1/setup.py new/dbf-0.99.2/setup.py --- old/dbf-0.99.1/setup.py 2021-03-03 16:35:11.000000000 +0100 +++ new/dbf-0.99.2/setup.py 2022-05-09 20:49:00.000000000 +0200 @@ -21,7 +21,7 @@ data = dict( name='dbf', - version='0.99.1', + version='0.99.2', license='BSD License', description='Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files (including memos)', long_description=long_desc,
