commit python-bitarray for openSUSE:Factory

2020-11-08 Thread root
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2020-11-08 20:59:10

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.11331 (New)


Package is "python-bitarray"

Sun Nov  8 20:59:10 2020 rev:6 rq:846885 version:1.6.1

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2020-09-30 19:54:40.516799937 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.11331/python-bitarray.changes   
2020-11-08 20:59:16.604292769 +0100
@@ -1,0 +2,18 @@
+Fri Nov  6 10:48:49 UTC 2020 - Martin Hauke 
+
+- Update to 1.6.1
+  * use PyType_Ready for all types: bitarray, bitarrayiterator,
+decodeiterator, decodetree, searchiterator.
+- Update to 1.6.0
+  * add `decodetree` object, for speeding up consecutive calls
+to `.decode()` and `.iterdecode()`, in particular when dealing
+with large prefix codes.
+  * add optional parameter to `.tolist()` which changes the items
+in the returned list to integers (0 or 1), as opposed to
+Booleans.
+  * remove deprecated `bitdiff()`, which has been deprecated since
+version 1.2.0, use `bitarray.util.count_xor()` instead
+  * drop Python 2.6 support.
+  * update license file.
+
+---

Old:

  bitarray-1.5.3.tar.gz

New:

  bitarray-1.6.1.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.D5uV1m/_old  2020-11-08 20:59:17.512291007 +0100
+++ /var/tmp/diff_new_pack.D5uV1m/_new  2020-11-08 20:59:17.516290999 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.5.3
+Version:1.6.1
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0
@@ -56,6 +56,7 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
+rm examples/growth/.gitignore
 
 %check
 # tests don't run from within the source directory

++ bitarray-1.5.3.tar.gz -> bitarray-1.6.1.tar.gz ++
 1823 lines of diff (skipped)




commit python-bitarray for openSUSE:Factory

2020-09-30 Thread root
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2020-09-30 19:54:21

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.4249 (New)


Package is "python-bitarray"

Wed Sep 30 19:54:21 2020 rev:5 rq:838633 version:1.5.3

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2020-08-31 16:51:12.696382388 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.4249/python-bitarray.changes
2020-09-30 19:54:40.516799937 +0200
@@ -1,0 +2,7 @@
+Wed Sep 30 04:35:36 UTC 2020 - Steve Kowalik 
+
+- Update to 1.5.3:
+  * add optional index parameter to `.index()` to invert single bit
+  * fix `sys.getsizeof(bitarray)` by adding `.__sizeof__()`, see issue #100 
+
+---

Old:

  bitarray-1.5.2.tar.gz

New:

  bitarray-1.5.3.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.byfWWI/_old  2020-09-30 19:54:41.096800456 +0200
+++ /var/tmp/diff_new_pack.byfWWI/_new  2020-09-30 19:54:41.100800459 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.5.2
+Version:1.5.3
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-1.5.2.tar.gz -> bitarray-1.5.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-1.5.2/CHANGE_LOG 
new/bitarray-1.5.3/CHANGE_LOG
--- old/bitarray-1.5.2/CHANGE_LOG   2020-08-16 23:16:22.0 +0200
+++ new/bitarray-1.5.3/CHANGE_LOG   2020-08-24 21:14:16.0 +0200
@@ -1,3 +1,9 @@
+2020-08-24   1.5.3:
+---
+  * add optional index parameter to `.index()` to invert single bit
+  * fix `sys.getsizeof(bitarray)` by adding `.__sizeof__()`, see issue #100
+
+
 2020-08-16   1.5.2:
 ---
   * add PyType_Ready usage, issue #66
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-1.5.2/README.md new/bitarray-1.5.3/README.md
--- old/bitarray-1.5.2/README.md2020-08-16 23:16:22.0 +0200
+++ new/bitarray-1.5.3/README.md2020-08-24 21:14:16.0 +0200
@@ -35,23 +35,33 @@
 
 Bitarray can be installed from source:
 
-$ tar xzf bitarray-1.5.2.tar.gz
-$ cd bitarray-1.5.2
+$ tar xzf bitarray-1.5.3.tar.gz
+$ cd bitarray-1.5.3
 $ python setup.py install
 
 On Unix systems, the latter command may have to be executed with root
-privileges.  You can also pip install bitarray.
+privileges.  You can also pip install bitarray.  Please note that you need
+a working C compiler to run the `python setup.py install` command.
+If you rather want to use precompiled binaries, you can:
+
+* `pip install bitarray-hardbyte` (this PyPI package contains Python
+  wheels for Linux, MaxOSX and Windows and all common Python versions)
+* `conda install bitarray` (both the default Anaconda repository as well
+  as conda-forge support bitarray)
+* download Windows wheels from
+  [Chris Gohlke](https://www.lfd.uci.edu/~gohlke/pythonlibs/#bitarray)
+
 Once you have installed the package, you may want to test it:
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /usr/local/lib/python2.7/site-packages/bitarray
-bitarray version: 1.5.2
+bitarray version: 1.5.3
 3.7.4 (r271:86832, Dec 29 2018) [GCC 4.2.1 (SUSE Linux)]
 .
 .
 ..
 --
-Ran 230 tests in 0.889s
+Ran 250 tests in 0.921s
 
 OK
 
@@ -420,10 +430,10 @@
 Insert `bool(value)` into the bitarray before index.
 
 
-`invert()`
+`invert(index=)`
 
-Invert all bits in the array (in-place),
-i.e. convert each 1-bit into a 0-bit and vice versa.
+Invert all bits in the array (in-place).
+When the optional `index` is given, only invert the single bit at index.
 
 
 `iterdecode(code, /)` -> iterator
@@ -674,6 +684,12 @@
 Change log
 --
 
+*1.5.3* (2020-08-24):
+
+  * add optional index parameter to `.index()` to invert single bit
+  * fix `sys.getsizeof(bitarray)` by adding `.__sizeof__()`, see issue #100
+
+
 *1.5.2* (2020-08-16):
 
   * add PyType_Ready usage, issue #66
@@ -705,44 +721,4 @@
 in 2013).  We do NOT plan to stop support for Python 2.7 anytime soon.
 
 
-*1.4.2* (2020-07-15):
-
-  * add more tests
-  * 

commit python-bitarray for openSUSE:Factory

2020-08-31 Thread root
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2020-08-31 16:50:50

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.3399 (New)


Package is "python-bitarray"

Mon Aug 31 16:50:50 2020 rev:4 rq:830624 version:1.5.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2020-08-05 20:28:31.211071095 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.3399/python-bitarray.changes
2020-08-31 16:51:12.696382388 +0200
@@ -1,0 +2,24 @@
+Mon Aug 31 04:58:58 UTC 2020 - Steve Kowalik 
+
+- Update to 1.5.2: 
+  * add PyType_Ready usage, issue #66
+  * speedup search() for bitarrays with length 1 in sparse bitarrays,
+see issue #67
+  * add tests
+  * support signed integers in `util.ba2int()` and `util.int2ba()`,
+see issue #85
+  * deprecate `.length()` in favor of `len()`
+  * Use `Py_ssize_t` for bitarray index.  This means that on 32bit
+systems, the maximun number of elements in a bitarray is 2 GBits.
+We used to have a special 64bit index type for all architectures, but
+this prevented us from using Python's sequence, mapping and number
+methods, and made those method lookups slow.
+  * speedup slice operations when step size = 1 (if alignment allows
+copying whole bytes)
+  * Require equal endianness for operations: `&`, `|`, `^`, `&=`, `|=`, `^=`.
+This should have always been the case but was overlooked in the past.
+  * raise TypeError when tring to create bitarray from boolean
+  * This will be last release to still support Python 2.6 (which was retired
+in 2013).  We do NOT plan to stop support for Python 2.7 anytime soon.
+
+---

Old:

  bitarray-1.4.2.tar.gz

New:

  bitarray-1.5.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.GAFfim/_old  2020-08-31 16:51:14.808383411 +0200
+++ /var/tmp/diff_new_pack.GAFfim/_new  2020-08-31 16:51:14.812383413 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.4.2
+Version:1.5.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-1.4.2.tar.gz -> bitarray-1.5.2.tar.gz ++
 4413 lines of diff (skipped)




commit python-bitarray for openSUSE:Factory

2020-08-05 Thread root
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2020-08-05 20:28:21

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.3592 (New)


Package is "python-bitarray"

Wed Aug  5 20:28:21 2020 rev:3 rq:824394 version:1.4.2

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2020-07-08 19:13:14.523160390 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.3592/python-bitarray.changes
2020-08-05 20:28:31.211071095 +0200
@@ -1,0 +2,31 @@
+Wed Aug  5 00:59:24 UTC 2020 - Steve Kowalik 
+
+- Update to 1.4.2:
+  * C-level:
+  - simplify pack/unpack code
+  - fix memory leak in `~` operation (bitarray_cpinvert)
+  * add official Python 3.9 support
+  * improve many docstrings
+  * add DeprecationWarning for `bitdiff()`
+  * add DeprecationWarning when trying to extend bitarrays
+from bytes on Python 3 (`bitarrays(b'011')` and `.extend(b'110')`)
+  * C-level:
+  - rewrote `.fromfile()` and `.tofile()` implementation,
+such that now the same code is used for Python 2 and 3.
+The new implementation is more memoery efficient on
+Python 3.
+  - use memcmp() in richcompare to shortcut EQ/NE, when
+comparing two very large bitarrays for equality the
+speedup can easily be 100x
+  - simplify how unpacking is handled
+  * add more tests
+  * add `.clear()` method (Python 3.3 added this method to lists)
+  * avoid overallocation when bitarray objects are initially created
+  * raise BufferError when resizing bitarrays which is exporting buffers
+  * add example to study the resize() function
+  * improve some error messages
+  * raise `NotImplementedError` with (useful message) when trying to call
+the `.fromstring()` or `.tostring()` methods, which have been removed
+in the last release
+
+---

Old:

  bitarray-1.3.0.tar.gz

New:

  bitarray-1.4.2.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.lESsru/_old  2020-08-05 20:28:31.955071483 +0200
+++ /var/tmp/diff_new_pack.lESsru/_new  2020-08-05 20:28:31.959071485 +0200
@@ -18,11 +18,10 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.3.0
+Version:1.4.2
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0
-Group:  Development/Languages/Python
 URL:https://github.com/ilanschnell/bitarray
 Source: 
https://github.com/ilanschnell/bitarray/archive/%{version}.tar.gz#/bitarray-%{version}.tar.gz
 BuildRequires:  %{python_module devel}

++ bitarray-1.3.0.tar.gz -> bitarray-1.4.2.tar.gz ++
 3799 lines of diff (skipped)




commit python-bitarray for openSUSE:Factory

2020-07-08 Thread root
Hello community,

here is the log from the commit of package python-bitarray for openSUSE:Factory 
checked in at 2020-07-08 19:12:54

Comparing /work/SRC/openSUSE:Factory/python-bitarray (Old)
 and  /work/SRC/openSUSE:Factory/.python-bitarray.new.3060 (New)


Package is "python-bitarray"

Wed Jul  8 19:12:54 2020 rev:2 rq:819132 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-bitarray/python-bitarray.changes  
2020-03-25 23:46:56.312065083 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-bitarray.new.3060/python-bitarray.changes
2020-07-08 19:13:14.523160390 +0200
@@ -1,0 +2,20 @@
+Mon Jul  6 18:40:25 UTC 2020 - Martin Hauke 
+
+- Update to version 1.3.0
+  * add `bitarray.util.make_endian()`
+  * `util.ba2hex()` and `util.hex2ba()` now also support
+little-endian
+  * add `bitarray.get_default_endian()`
+  * made first argument of initializer a positional-only parameter
+  * remove `.fromstring()` and `.tostring()` methods, these have
+been deprecated 8 years ago, since version 0.4.0
+  * add `__all__` in `bitarray/__init__.py`
+  * drop Python 3.3 and 3.4 support
+- Update to version 1.2.2
+  * `util.ba2hex` now always return a string object (instead of
+bytes object for Python 3), see issue #94
+  * `util.hex2ba` allows a unicode object as input on Python 2
+  * Determine 64-bitness of interpreter in a cross-platform
+fashion #91, in order to better support PyPy
+
+---

Old:

  bitarray-1.2.1.tar.gz

New:

  bitarray-1.3.0.tar.gz



Other differences:
--
++ python-bitarray.spec ++
--- /var/tmp/diff_new_pack.9hroe8/_old  2020-07-08 19:13:16.951168767 +0200
+++ /var/tmp/diff_new_pack.9hroe8/_new  2020-07-08 19:13:16.955168781 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-bitarray
-Version:1.2.1
+Version:1.3.0
 Release:0
 Summary:Efficient Arrays of Booleans
 License:Python-2.0

++ bitarray-1.2.1.tar.gz -> bitarray-1.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-1.2.1/CHANGE_LOG 
new/bitarray-1.3.0/CHANGE_LOG
--- old/bitarray-1.2.1/CHANGE_LOG   2020-01-06 21:09:39.0 +0100
+++ new/bitarray-1.3.0/CHANGE_LOG   2020-07-06 05:39:41.0 +0200
@@ -1,3 +1,24 @@
+2020-07-06   1.3.0:
+---
+  * add `bitarray.util.make_endian()`
+  * `util.ba2hex()` and `util.hex2ba()` now also support little-endian
+  * add `bitarray.get_default_endian()`
+  * made first argument of initializer a positional-only parameter
+  * remove `.fromstring()` and `.tostring()` methods, these have been
+deprecated 8 years ago, since version 0.4.0
+  * add `__all__` in `bitarray/__init__.py`
+  * drop Python 3.3 and 3.4 support
+
+
+2020-05-18   1.2.2:
+---
+  * `util.ba2hex` now always return a string object (instead of bytes object
+for Python 3), see issue #94
+  * `util.hex2ba` allows a unicode object as input on Python 2
+  * Determine 64-bitness of interpreter in a cross-platform fashion #91,
+in order to better support PyPy
+
+
 2020-01-06   1.2.1:
 ---
   * simplify markdown of readme so PyPI renders better
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-1.2.1/Makefile new/bitarray-1.3.0/Makefile
--- old/bitarray-1.2.1/Makefile 2020-01-06 21:09:39.0 +0100
+++ new/bitarray-1.3.0/Makefile 2020-07-06 05:39:41.0 +0200
@@ -1,3 +1,5 @@
+PYTHON=python
+
 bitarray/_bitarray.so: bitarray/_bitarray.c
$(PYTHON) setup.py build_ext --inplace
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bitarray-1.2.1/README.md new/bitarray-1.3.0/README.md
--- old/bitarray-1.2.1/README.md2020-01-06 21:09:39.0 +0100
+++ new/bitarray-1.3.0/README.md2020-07-06 05:39:41.0 +0200
@@ -36,8 +36,8 @@
 
 Bitarray can be installed from source:
 
-$ tar xzf bitarray-1.2.1.tar.gz
-$ cd bitarray-1.2.1
+$ tar xzf bitarray-1.3.0.tar.gz
+$ cd bitarray-1.3.0
 $ python setup.py install
 
 On Unix systems, the latter command may have to be executed with root
@@ -46,7 +46,7 @@
 
 $ python -c 'import bitarray; bitarray.test()'
 bitarray is installed in: /usr/local/lib/python2.7/site-packages/bitarray
-bitarray version: 1.2.1
+bitarray version: 1.3.0
 3.7.4 (r271:86832, Dec 29 2018) [GCC 4.2.1 (SUSE Linux)]
 .
 .
@@