12
0

80 Commits

Author SHA256 Message Date
d356455389 Accepting request 1303573 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1303573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=40
2025-09-10 15:30:30 +00:00
a44986b8f4 - Update to 3.7.1
* fix type hinting for memoryviews, see #241
  * add [bit-endianness](endianness.rst) documentation
  * improve testing, including debug mode test for `digit_to_int()`
- from version 3.7.0
  * add `util.gen_primes()`, generate bitarrays in which active indices are
    prime numbers
  * improve `.buffer_info()` to return named tuple
  * add optional `mode` argument to `util.sum_indices()` to sum square of
    active indices
  * improve internal `_sysinfo()` to include `Py_DEBUG`
  * add [Dubner's conjecture](../examples/dubner.rst) (in memory of Harvey
    Dubner)
  * add [dynamically growing sieve](../examples/dyn_sieve.py)
- from version 3.6.1
  * add development files for statistical tests in `devel/random/`
  * optimize `util.sum_indices()`
  * fix RecursionError in `util.random_k()`, see #239
  * add `devel/test_sum_indices.py`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=78
2025-09-10 09:12:30 +00:00
0a695f4895 Accepting request 1300103 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1300103
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=39
2025-08-19 14:44:00 +00:00
6bfe3a7f20 - Update to 3.6.0
* add `util.random_k()`, see #237
  * add `util.sum_indices()`
  * optimize `util.xor_indices()`
  * move development files from `examples/` to `devel/`
- Adjust file paths for removing .gitignore files from source

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=76
2025-08-11 21:28:20 +00:00
c2b9d3c5a7 Accepting request 1296292 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1296292
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=38
2025-07-30 09:45:06 +00:00
cbefebef18 Accepting request 1292327 from devel:languages:python
- update to 3.5.0:
  * add util.random_p()
  * improve sparse compression testing

OBS-URL: https://build.opensuse.org/request/show/1292327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=37
2025-07-14 08:51:13 +00:00
e2b5a71db0 - update to 3.5.0:
* add util.random_p()
  * improve sparse compression testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=72
2025-07-12 11:38:45 +00:00
d9199dfe94 Accepting request 1290225 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1290225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=36
2025-07-06 15:07:44 +00:00
955952485e - Update to 3.4.3
* minor updates to documentation
  * C-level:
    - simplify and speedup `extend_unicode01()`
    - customize `resize_lite()` - avoid unused code
    - use `PyTypeObject` for bitarray type object in `_util.c` to
      be consistent with `_bitarray.c`
    - add and improve comments to implementation of sparse bitarray
      compression
    - simplify `sc_count()`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=70
2025-07-03 12:30:22 +00:00
e10f4a5cb4 Accepting request 1283506 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1283506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=35
2025-06-06 20:43:30 +00:00
0ec2f77b62 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=68
2025-06-06 05:39:39 +00:00
db4926b8df Accepting request 1281296 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1281296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=34
2025-05-30 12:39:22 +00:00
9a64816d18 - Update to 3.4.2
* extend documentation of
    [compression of sparse bitarrays](sparse_compression.rst)
  * `util.sc_decode()` and `util.vl_decode()` now raise `StopIteration`
    instead of `ValueError` when unexpected end of stream is encountered
  * add debug mode tests for `read_n()`, `write_n()` and `count_from_word()`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=66
2025-05-30 08:23:00 +00:00
ee0767129e Accepting request 1278335 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278335
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=33
2025-05-20 07:38:14 +00:00
99805b79f9 - Update to version 3.4.1
* add `pyproject.toml`, see #233
  * implement `bits2bytes()` in C.
  * optimize `delslice()` when `step` is larger than about 5.
  * consistently name `*_span()` and `*_range()` in C for
    invert, set and count.
  * organize and add tests.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=64
2025-05-19 07:49:03 +00:00
9d11ad39e6 Accepting request 1277385 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1277385
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=32
2025-05-14 15:02:00 +00:00
80822caf47 - Update to 3.4.0
* remove `.endian()` method in favor of data descriptor `.endian`
  * allow bitarray initializer `bytes` or `bytearray` to set buffer directly
  * allow calling `.extend()` with `bytes` object (although the only
    valid bytes are 0x00 and 0x01)
  * add `util.byteswap()`
  * add `util.correspond_all()`
  * fix `.reverse()` for imported buffer
  * drop Python 3.5 support
  * add tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=62
2025-05-14 10:17:20 +00:00
4ce36c7473 Accepting request 1274384 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1274384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=31
2025-05-05 20:28:37 +00:00
137bc87d17 - Update to 3.3.2
* fix off-by-one-error in check for length of count argument
    in `util.canonical_decode()`
  * simplify `util.int2ba()`
  * add tests
  * add [masked indexing example](../examples/masked.py)
  * add [tricks example](../examples/tricks.py)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=60
2025-05-05 09:12:31 +00:00
9a634f45ef Accepting request 1272311 from devel:languages:python
- update to 3.3.1:
  * remove License classifier in favor of a SPDX license
    expression, #231
  * reorganize and cleanup many tests
  * add optional group and sep arguments' to .to01(), #230 - as
    well as util.ba2hex() and util.ba2base()
  * ignore whitespace in util.base2ba() and util.hex2ba()
  * check for embedded nul characters when extending (and
    initializing) bitarray from string
  * improve testing
  * add double precision floating point number example

OBS-URL: https://build.opensuse.org/request/show/1272311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=30
2025-04-24 15:26:00 +00:00
3d35867c0e - update to 3.3.1:
* remove License classifier in favor of a SPDX license
    expression, #231
  * reorganize and cleanup many tests
  * add optional group and sep arguments' to .to01(), #230 - as
    well as util.ba2hex() and util.ba2base()
  * ignore whitespace in util.base2ba() and util.hex2ba()
  * check for embedded nul characters when extending (and
    initializing) bitarray from string
  * improve testing
  * add double precision floating point number example

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=58
2025-04-24 06:53:08 +00:00
50f2894b1b Accepting request 1255999 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1255999
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=29
2025-03-25 21:13:05 +00:00
83983118f1 - Update to 3.2.0
* add `util.xor_indices()`, #229
  * add Hamming code example
- Update to 3.1.1
  * updated `pythoncapi_compat.h` for pypy3.11 support, see #227
  * use `__builtin_parityll()` when available in `util.parity()`
  * add `parity_64()` to header
  * simplify some tests
  * add LFSR example
- Update to 3.1.0
  * allow mask assignment to bitarrays, see #225
  * add missing masked operations to pyi-file
  * refactor `resize()` and avoid overallocation when downsizing buffer
  * update `build_wheels.yml`
  * fix some typos
  * minor simplifications
  * rename `growth/` example to `resize/` and add tests for `resize()`
  * update gene example
  * add comments

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=56
2025-03-25 15:04:06 +00:00
7c1666c044 Accepting request 1218794 from devel:languages:python
- update to 3.0.0:
  * see Bitarray 3 transition
  * remove Python 2.7 support
  * .decode() now returns iterator (equivalent to past
    .iterdecode())
  * .search() now returns iterator (equivalent to past
    .itersearch())
  * remove .iterdecode() and .itersearch()
  * remove util.rindex(), use .index(..., right=1) instead,
    deprecated since 2.9
  * remove util.make_endian(), use bitarray(..., endian=...)
    instead, deprecated since 2.9
  * remove hackish support for bitarray() handling unpickling,
    see detailed explaination in #207 - closes #206
  * add official Python 3.13 support
  * update cibuildwheel to 2.21.3
  * minor simplifications
  * fix some typos

OBS-URL: https://build.opensuse.org/request/show/1218794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=28
2024-10-28 14:23:05 +00:00
47b4d4db80 - update to 3.0.0:
* see Bitarray 3 transition
  * remove Python 2.7 support
  * .decode() now returns iterator (equivalent to past
    .iterdecode())
  * .search() now returns iterator (equivalent to past
    .itersearch())
  * remove .iterdecode() and .itersearch()
  * remove util.rindex(), use .index(..., right=1) instead,
    deprecated since 2.9
  * remove util.make_endian(), use bitarray(..., endian=...)
    instead, deprecated since 2.9
  * remove hackish support for bitarray() handling unpickling,
    see detailed explaination in #207 - closes #206
  * add official Python 3.13 support
  * update cibuildwheel to 2.21.3
  * minor simplifications
  * fix some typos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=54
2024-10-28 11:36:24 +00:00
f402fddac8 Accepting request 1217238 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1217238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=27
2024-10-23 19:11:02 +00:00
6384fb15f2 package is required for SUSE AI project
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=52
2024-10-23 08:16:01 +00:00
afbafa38d1 Accepting request 1137632 from devel:languages:python
- update to 2.9.2:
  * optimize initialization from strings by not constantly
    resizing buffer
  * optimize util.hex2ba() and util.base2ba() by avoiding
    unnecessary copies
  * optimize util.base2ba() and util.ba2base() for n=16
    (hexadecimal)

OBS-URL: https://build.opensuse.org/request/show/1137632
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=26
2024-01-09 19:49:35 +00:00
16ca85d60a - update to 2.9.2:
* optimize initialization from strings by not constantly
    resizing buffer
  * optimize util.hex2ba() and util.base2ba() by avoiding
    unnecessary copies
  * optimize util.base2ba() and util.ba2base() for n=16
    (hexadecimal)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=50
2024-01-08 20:42:48 +00:00
f91cad9310 Accepting request 1135240 from devel:languages:python
- update to 2.9.1:
  * avoid buffer being unnecessarily initialized with 0s in
    several functions of the ``bitarray.util`` module
  * fix ``.count()`` type hint in pyi-file
  * improve testing
  * deprecate support for Python 2 - Python 2.7 support will be
    removed in bitarray version 3.0
  * ``bitarray(n)`` for integer initializer ``n`` will always
    return a bitarray of length ``n`` with all items initialized
    to ``0``
  * allow sub-bitarray in ``.count()``, `#212
  * add ``util.ones()`` ``.find()`` and ``.index()``:
    add keyword argument ``right`` for rightmost index
  * ``.itersearch()``: add start and stop argument, and keyword
  * argument ``right``
  * deprecate ``util.rindex()`` (will be removed in 3.0 release),
  * use ``.index(..., right=True)`` instead
  * deprecate ``util.make_endian()`` (will be removed in 3.0
    release),
  * use ``bitarray(..., endian=...)`` instead

OBS-URL: https://build.opensuse.org/request/show/1135240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=25
2023-12-28 22:01:04 +00:00
06e752e37d - update to 2.9.1:
* avoid buffer being unnecessarily initialized with 0s in
    several functions of the ``bitarray.util`` module
  * fix ``.count()`` type hint in pyi-file
  * improve testing
  * deprecate support for Python 2 - Python 2.7 support will be
    removed in bitarray version 3.0
  * ``bitarray(n)`` for integer initializer ``n`` will always
    return a bitarray of length ``n`` with all items initialized
    to ``0``
  * allow sub-bitarray in ``.count()``, `#212
  * add ``util.ones()`` ``.find()`` and ``.index()``:
    add keyword argument ``right`` for rightmost index
  * ``.itersearch()``: add start and stop argument, and keyword
  * argument ``right``
  * deprecate ``util.rindex()`` (will be removed in 3.0 release),
  * use ``.index(..., right=True)`` instead
  * deprecate ``util.make_endian()`` (will be removed in 3.0
    release),
  * use ``bitarray(..., endian=...)`` instead

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=48
2023-12-27 09:31:03 +00:00
98a78b2bf3 Accepting request 1133923 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1133923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=24
2023-12-19 22:15:52 +00:00
cc0ffcd814 - update to 2.8.5:
* speedup unaligned copies by always using word shifts (in
    combination with builtin byte swap 64 when available) when
    bit-endianness and machine byte-order are opposite
  * add ``HAVE_BUILTIN_BSWAP64`` to header
  * avoid misaligned pointers when casting to ``(uint64_t *)``
  * add tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=46
2023-12-11 22:14:33 +00:00
bf67d8c9ec Accepting request 1131186 from devel:languages:python
- update to 2.8.4:
  * simplify ``copy_n()`` (remove special cases)
  * add `word shift example C program
  * and simplify ``shift_r8()``
  * improve documentation and testing

OBS-URL: https://build.opensuse.org/request/show/1131186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=23
2023-12-06 22:47:57 +00:00
e775533eaa - update to 2.8.4:
* simplify ``copy_n()`` (remove special cases)
  * add `word shift example C program
  * and simplify ``shift_r8()``
  * improve documentation and testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=44
2023-12-05 17:42:37 +00:00
160662bd7c Accepting request 1125860 from devel:languages:python
- update to 2.8.3:
  * ensure readonly attribute is set correctly when creating new
    objects
  * optimize sparse bitarray compression for raw block type
  * improve hash functions in Bloom filter example

OBS-URL: https://build.opensuse.org/request/show/1125860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=22
2023-11-14 20:43:32 +00:00
8065822b6e - update to 2.8.3:
* ensure readonly attribute is set correctly when creating new
    objects
  * optimize sparse bitarray compression for raw block type
  * improve hash functions in Bloom filter example

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=42
2023-11-14 12:07:11 +00:00
a578ced37b Accepting request 1115784 from devel:languages:python
- update to 2.8.2:
  * improve error messages for masked assignment
  * simplify test collection
  * added ``pytest.ini`` to allow running pytest with no
    additional arguments
  * ``util.sc_encode()``: avoid writing empty blocks at end of
    compressed stream, ie. skip encoding when total population
    count is reached

  * optimize `richcompare()`
  * `.bytereverse()` no longer sets unused pad bits to zero
  * fix `sys.getsizeof(bitarray)` by adding `.__sizeof__()`, see issue #100
- Update to 1.5.2:

OBS-URL: https://build.opensuse.org/request/show/1115784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=21
2023-10-05 18:04:57 +00:00
6b6ced3745 - update to 2.8.2:
* improve error messages for masked assignment
  * simplify test collection
  * added ``pytest.ini`` to allow running pytest with no
    additional arguments
  * ``util.sc_encode()``: avoid writing empty blocks at end of
    compressed stream, ie. skip encoding when total population
    count is reached
  * optimize `richcompare()`
  * `.bytereverse()` no longer sets unused pad bits to zero
  * fix `sys.getsizeof(bitarray)` by adding `.__sizeof__()`, see issue #100
- Update to 1.5.2:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=40
2023-10-05 09:34:21 +00:00
035f41eb07 Accepting request 1103087 from devel:languages:python
- update to 2.8.1:
  * use reconstructor function for pickling
  * simplify implementation of ``.reverse()``
  * allow `integer sequence indexing <indexing.rst>`__ by list of
    indices,
  * add `masked indexing <indexing.rst>`__ by bitarray masks,
  * improve ``.bytereverse()`` docstring, see issue

OBS-URL: https://build.opensuse.org/request/show/1103087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=20
2023-08-09 15:26:10 +00:00
a977a5170d - update to 2.8.1:
* use reconstructor function for pickling
  * simplify implementation of ``.reverse()``
  * allow `integer sequence indexing <indexing.rst>`__ by list of
    indices,
  * add `masked indexing <indexing.rst>`__ by bitarray masks,
  * improve ``.bytereverse()`` docstring, see issue

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=38
2023-08-09 07:50:09 +00:00
f8d5260ccd Accepting request 1095233 from devel:languages:python
- update to 2.7.6:
  * remove caching hash value

OBS-URL: https://build.opensuse.org/request/show/1095233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=19
2023-06-26 16:15:40 +00:00
bce10caed1 - update to 2.7.6:
* remove caching hash value

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=36
2023-06-25 19:02:34 +00:00
637964b490 Accepting request 1092275 from devel:languages:python
- update to 2.7.5:
  * fix for pypy3.9-v7.3.11
  * register ``bitarray`` as ``abc.MutableSequence``
  * improve documentation regarding type when indexing single
  * bitarray items

OBS-URL: https://build.opensuse.org/request/show/1092275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=18
2023-06-12 13:25:58 +00:00
f9df6892e4 - update to 2.7.5:
* fix for pypy3.9-v7.3.11
  * register ``bitarray`` as ``abc.MutableSequence``
  * improve documentation regarding type when indexing single
  * bitarray items

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=34
2023-06-11 11:52:35 +00:00
73d43db263 Accepting request 1069754 from devel:languages:python
- update to 2.7.3:
  * allow running ``python setup.py test``
  * add official Python 3.12 support
  * simplify count functionality in util module
  * retire ``bitcount_lookup[256]`` table
  * improve ``util.count_n()`` error messages
  * avoid ``util`` module tests from being run more than once in
    each call to ``bitarray.test()`` when called multiple times in
    the same Python process
  * improve testing

OBS-URL: https://build.opensuse.org/request/show/1069754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=17
2023-03-07 15:50:06 +00:00
fa04ab8807 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=32 2023-03-06 21:25:06 +00:00
accc2f61a0 - update to 2.7.3:
* fix popcount64 name conflict on NetBSD
  * even though PyPy is not actively supported, allow running
    tests for PyPy 3.7 and 3.8
  * allow running ``python setup.py test``
  * add official Python 3.12 support
  * simplify count functionality in util module
  * retire ``bitcount_lookup[256]`` table
  * improve ``util.count_n()`` error messages
  * avoid ``util`` module tests from being run more than once in
    each call to ``bitarray.test()`` when called multiple times in
    the same Python process
  * improve testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=31
2023-03-06 21:24:53 +00:00
a54c9748d1 Accepting request 1065971 from devel:languages:python
- update to 2.7.2:
  * speedup all count functionality by using
    ``__builtin_popcountll`` when available
  * add ``popcount64()`` to ``bitarray.h`` - we assume now that
    ``uint64_t`` is always available
  * improve testing

OBS-URL: https://build.opensuse.org/request/show/1065971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=16
2023-02-16 15:55:44 +00:00
4c63298d18 - update to 2.7.2:
* speedup all count functionality by using
    ``__builtin_popcountll`` when available
  * add ``popcount64()`` to ``bitarray.h`` - we assume now that
    ``uint64_t`` is always available
  * improve testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=29
2023-02-15 14:00:02 +00:00
20d497f6e5 Accepting request 1064329 from devel:languages:python
- update to 2.7.1:
  * optimize ``util.sc_encode()``

OBS-URL: https://build.opensuse.org/request/show/1064329
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=15
2023-02-11 20:57:12 +00:00
3f7ecea352 - update to 2.7.1:
* optimize ``util.sc_encode()``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=27
2023-02-10 17:42:46 +00:00
2b61a521bd Accepting request 1064212 from devel:languages:python
- update to 2.7.0:
  * add util.sc_encode() and util.sc_decode() for
    compression of sparse bitarrays
  * add util.any_and()
  * add util.intervals()
  * move functionality of the following utility functions
    entirely to C:
    hex2ba(), base2ba(), deserialize(), vl_decode(), zeros()
  * improve error checking for unpickling
  * add distance metrics

OBS-URL: https://build.opensuse.org/request/show/1064212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=14
2023-02-10 13:36:03 +00:00
61a628a99f - update to 2.7.0:
* add util.sc_encode() and util.sc_decode() for
    compression of sparse bitarrays
  * add util.any_and()
  * add util.intervals()
  * move functionality of the following utility functions
    entirely to C:
    hex2ba(), base2ba(), deserialize(), vl_decode(), zeros()
  * improve error checking for unpickling
  * add distance metrics

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=25
2023-02-10 10:29:08 +00:00
6c8fee9600 Accepting request 1046261 from devel:languages:python
- update to 2.6.2:
  * optimize `richcompare()` for opposite endianness
  * improve some docstrings add tests
  * add documentation on shift operators, #181
  * fix typo in iterable initializer description, #179
  * optimize `richcompare()`

OBS-URL: https://build.opensuse.org/request/show/1046261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=13
2023-01-03 14:05:19 +00:00
742c87dafc - update to 2.6.2:
* optimize `richcompare()` for opposite endianness
  * improve some docstrings add tests
  * add documentation on shift operators, #181
  * fix typo in iterable initializer description, #179
  * optimize `richcompare()`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=23
2023-01-02 18:37:00 +00:00
5f6612b20e Accepting request 1005519 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1005519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=12
2022-09-23 12:15:21 +00:00
Martin Hauke
4252b1af67 Accepting request 1005512 from home:yarunachalam:branches:devel:languages:python
- Update to 2.6.0:
  * add data descriptions: `.nbytes`, `.padbits`, `.readonly`
  * allow optional `endian` argument to be `None` when creating bitarrays
  * fix type annotation for `canonical_decode()`, #178
  * frozenbitarray's padbits are now guaranteed to be zero
  * add tests
- Update to 2.5.1:
  * optimize `.reverse()`, see #177
  * allow negative (byte) indices in `.bytereverse()`
- Update to 2.5.0:
  * add calculating of canonical Huffman codes `util.canonical_huffman()`
    and decoding thereof `util.canonical_decode()`, see #173
  * allow creating "Huffman codes" from frequency maps with a single symbol
    in `util.huffman_code()` and `util.canonical_huffman()`, see #172
  * allow bytes-like argument in `.frombytes()` and `.pack()` - previously,
    the arguments were limited to the `bytes` object, see #174
  * allow bytes-like arguments in `util.deserialize()`
  * add official [pyodide](https://pyodide.org/) support
  * add [DEFLATE decompression](../examples/puff/) example
  * optimize `.bytereverse()`
  * optimize `delslice()` for cases like `del a[1:17:2]` when `a` is large
  * fix `examples/huffman/compress.py` to handle files with 0 or 1 characters,
    see also #172
  * add `skipIF` decorator for skipping tests
  * add tests
- Update to 2.4.1:
  * improve `resize()`, see #167
  * optimize `copy_n()` by avoiding loops, #171
  * `.bytereverse()` no longer sets unused pad bits to zero

OBS-URL: https://build.opensuse.org/request/show/1005512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=21
2022-09-23 05:23:53 +00:00
d2e956dcfc Accepting request 966668 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/966668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=11
2022-04-03 19:31:10 +00:00
0e56603e24 - update to 2.4.0:
* enable building wheels for multiple platforms and Python versions using
    pypa/cibuildwheel, see #165 and #170 (thanks Brian Thorne, @hardbyte)
  * use setuptools instead of distutils in `setup.py`, #168
  * add missing type hinting for `.count()` step argument

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=19
2022-03-27 14:19:08 +00:00
Richard Brown
a39b62c372 Accepting request 913269 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/913269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=10
2021-08-20 14:57:54 +00:00
07050c5702 Accepting request 913102 from home:glaubitz:branches:devel:languages:python
- Update to 2.3.0
  * add optional `buffer` argument to `bitarray()` to import the buffer of
    another object, #141, #146, see also: [buffer protocol](buffer.rst)
  * update `.buffer_info()` to include: a read-only flag, an imported buffer
    flag, and the number of buffer exports
  * add optional start and stop arguments to `util.rindex()`
  * add [memory-mapped file](../examples/mmapped-file.py) example
  * ignore underscore (`_`) in string input, e.g. `bitarray('1100_0111')`
  * add missing type hinting for new `.bytereverse()` arguments
  * fix `.extend()` type annotations, #145
  * avoid `.reverse()` using temporary memory
  * make `.unpack()`, `util.serialize()`, `util.vl_encode()`
    and `.__reduce__()` more memory efficient
  * add and improve tests
- from version 2.2.5
  * speedup `find_bit()` and `find_last()` using uint64 checking, this means
    a speedup for `.find()`, `.index()`, `.search()` and `util.rindex()`
  * add optional start and stop arguments to `.bytereverse()`
  * add example to illustrate how
    [unaligned copying](../examples/copy_n.py) works internally
  * add documentation
  * add tests
- from version 2.2.4
  * use shift operations to speedup all unaligned copy operations, #142
  * expose functionality to Python level only in debug mode for testing
  * add and improve tests
- from version 2.2.3
  * speedup `repeat()`, #136
  * speedup shift operations, #139
  * optimize slice assignment with negative step, e.g.: `a[::-1] = 1`

OBS-URL: https://build.opensuse.org/request/show/913102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=18
2021-08-20 07:27:59 +00:00
143beab906 Accepting request 907194 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/907194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=9
2021-07-20 13:39:31 +00:00
485558d18c Accepting request 906787 from home:mnhauke
- Update to 2.2.2
  * support type hinting for all Python 3 versions (that bitarray
    supports, 3.5 and higher currently).
  * add explicit endianness to two tests.

OBS-URL: https://build.opensuse.org/request/show/906787
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=17
2021-07-19 20:37:45 +00:00
3c30a4d8f4 Accepting request 899598 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/899598
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=8
2021-06-12 18:08:12 +00:00
75bf9a8394 Accepting request 899584 from home:mnhauke
- Update to 2.1.1
  * add type hinting (see PEP 484, 561) using stub (`.pyi`) files
- Update to 2.1.0
  * add `.find()` method, see #122
  * `.find()`, `.index()`, `.search()` and `.itersearch()` now all
    except both (sub-) bitarray as well as bool items to be
    searched for
  * improve encode/decode error messages
  * add [lexicographical permutations example](../examples/lexico.py)
- Update to 2.0.1
  * update documentation
  * improve some error messages
- Update to 2.0.0
  * require more specific objects, int (0 or 1) or bool
  * items are always returned as int 0 or 1
  * remove `.length()` method (deprecated since 1.5.1 - use `len()`)
  * in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff)
  * `.tolist()` now always returns a list of integers (0 or 1)
  * fix frozenbitarray hash function, see #121
  * fix frozenbitarray being mutable by `<<=` and `>>=`
  * support sequence protocol in `.extend()` (and bitarray creation)
  * improve OverflowError messages from `util.int2ba()`
  * add [hexadecimal example](../examples/hexadecimal.py)

OBS-URL: https://build.opensuse.org/request/show/899584
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=15
2021-06-12 10:05:57 +00:00
a4e15ba491 Accepting request 884519 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/884519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=7
2021-04-12 10:37:29 +00:00
a7e71e33ba Accepting request 884188 from home:mnhauke
- Update to 1.9.2
  * update pythoncapi_compat: Fix support with PyPy 3.7
- Update to 1.9.0
  * add shift operations (``<<``, ``>>``, ``<<=``, ``>>=``)
  * add ``bitarray.util.ba2base()`` and ``bitarray.util.base2ba()``,
- Update to 1.8.2
  * fix crash caused by unsupported types in binary operations,
  * speedup initializing or extending a bitarray from another
    with different bit endianness.
  * add formatting options to ``bitarray.util.pprint()``
  * add and improve tests (all 291 tests run in less than half
    a second on a modern machine)
- Update to 1.8.1
  * moved implementation of and ``hex2ba()`` and ``ba2hex()``
    to C-level
  * add ``bitarray.util.parity()``
- Update to 1.8.0
  * add ``bitarray.util.serialize()`` and
    ``bitarray.util.deserialize()``
  * allow whitespace (ignore space and ``\n\r\t\v``) in input
    strings; e.g. ``bitarray('01 11')`` or ``a += '10 00'``
  * add ``bitarray.util.pprint()``
  * When initializing a bitarray from another with different
    bit endianness, e.g. ``a = bitarray('110', 'little')``
    and ``b = bitarray(a, 'big')``, the buffer used to be
    simply copied, with consequence that ``a == b`` would
    result in ``False``.  This is fixed now, that is
    ``a == b`` will always evaluate to ``True``.
  * add test for loading existing pickle file (created using
    bitarray 1.5.0)

OBS-URL: https://build.opensuse.org/request/show/884188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=13
2021-04-11 21:49:21 +00:00
f3255a06da Accepting request 846885 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/846885
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=6
2020-11-08 19:59:10 +00:00
a1ac68fb14 Accepting request 846430 from home:mnhauke
- 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.

OBS-URL: https://build.opensuse.org/request/show/846430
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=11
2020-11-07 23:41:41 +00:00
18730d7a0d Accepting request 838633 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/838633
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=5
2020-09-30 17:54:21 +00:00
afc8f6e520 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=9
2020-09-30 04:37:27 +00:00
8bda65efda Accepting request 830624 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/830624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=4
2020-08-31 14:50:50 +00:00
584e1bd76e - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=7
2020-08-31 05:04:02 +00:00
247be5e887 Accepting request 824394 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/824394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=3
2020-08-05 18:28:21 +00:00
5541a4696c - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=5
2020-08-05 01:01:05 +00:00
c1aa3d5513 Accepting request 819132 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/819132
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=2
2020-07-08 17:12:54 +00:00
Tomáš Chvátal
354e0eddfc Accepting request 819060 from home:mnhauke
- 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

OBS-URL: https://build.opensuse.org/request/show/819060
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=3
2020-07-07 07:41:08 +00:00
c94ba99df0 Accepting request 788099 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788099
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-bitarray?expand=0&rev=1
2020-03-25 22:46:15 +00:00
Tomáš Chvátal
22c80627ff Accepting request 788090 from home:mnhauke
resurrect package python-bitarray

OBS-URL: https://build.opensuse.org/request/show/788090
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitarray?expand=0&rev=1
2020-03-25 09:11:50 +00:00
14 changed files with 38 additions and 35 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33c5ff01fa0241d34dcea34efc7bbb86ebcb3ad28946e23fc4970642f4554ac5
size 182432

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d10d1bd057428f4442da4a0724332e83f2fcaf33d01941b5c1a6b852339979d
size 177808

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b5c206dd7f8918f34d479800d4ad439b7859b021b19dfbc36382b0a0b56cb1a
size 190625

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3997d05edb177485eee4be516b0f122e8eda508e4e1d85124daea8ae8b4ad1e9
size 194582

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7700007acdd7fd7192897f1d46671cedb8fefb1c7e2a56d188ee430ecb84eea0
size 195557

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:38c3bb389ad3cee4d6466fefe4cff8671b2f9918bd47ad684b259bd1f8c71f3c
size 197913

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d7ee49b657c7945428e802ca949eb934d5449faabf05046945e9be0544e769e
size 201268

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a23013d4aacb27a73d66e08e9de84d2b051f6c7ff902b7afe2db2371c6885793
size 203403

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dbc33cdfddc9df3da346ed6fd2df03a8a723a7f7b06434b365062d8abebc245
size 204499

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4da4f8d0d3a7a78e6676ef29080530e87b21ac21725068c866f18e859303602
size 209963

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3a8bdf36e009a31568aab9fb49d195b3dc9dceba30ac9233fa1622641db84ae6
size 215732

3
bitarray-3.7.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70611d1d07747e3914df1ac952ecbb3c870430d07335bda241223ccd3d2eb263
size 235519

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Wed Sep 10 06:04:56 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.7.1
* fix type hinting for memoryviews, see #241
* add [bit-endianness](endianness.rst) documentation
* improve testing, including debug mode test for `digit_to_int()`
- from version 3.7.0
* add `util.gen_primes()`, generate bitarrays in which active indices are
prime numbers
* improve `.buffer_info()` to return named tuple
* add optional `mode` argument to `util.sum_indices()` to sum square of
active indices
* improve internal `_sysinfo()` to include `Py_DEBUG`
* add [Dubner's conjecture](../examples/dubner.rst) (in memory of Harvey
Dubner)
* add [dynamically growing sieve](../examples/dyn_sieve.py)
- from version 3.6.1
* add development files for statistical tests in `devel/random/`
* optimize `util.sum_indices()`
* fix RecursionError in `util.random_k()`, see #239
* add `devel/test_sum_indices.py`
-------------------------------------------------------------------
Mon Aug 11 14:06:41 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.6.0
* add `util.random_k()`, see #237
* add `util.sum_indices()`
* optimize `util.xor_indices()`
* move development files from `examples/` to `devel/`
- Adjust file paths for removing .gitignore files from source
-------------------------------------------------------------------
Tue Jul 22 09:53:19 UTC 2025 - Dirk Müller <dmueller@suse.com>

View File

@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-bitarray
Version: 3.5.2
Version: 3.7.1
Release: 0
Summary: Efficient Arrays of Booleans
License: Python-2.0
@@ -59,7 +59,7 @@ export CFLAGS="%{optflags}"
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
rm examples/resize/.gitignore examples/puff/.gitignore
rm devel/resize/.gitignore examples/puff/.gitignore
%check
# tests don't run from within the source directory