- Update to 3.1.6:
* Fixed immutability bug. Bug 176. * Fixed failure of `__contains__` in some circumstances. Bug 180. * Better handling of open files. Bug 186. * Better Python 2/3 check. * Making unit tests easier to run. * Allowing length of 1 to be specified for bools. (Thanks to LemonPi) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bitstring?expand=0&rev=15
This commit is contained in:
committed by
Git OBS Bridge
parent
2a1245ebc7
commit
47d629cbaa
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c163a86fcef377c314690051885d86b47419e3e1770990c212e16723c1c08faa
|
||||
size 624428
|
||||
3
bitstring-3.1.6.tar.gz
Normal file
3
bitstring-3.1.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41fbc1d71b871f985dfe00d2e74e17add8b47e51e1a9e0634ae4c18ea7181418
|
||||
size 751557
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 11:15:20 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 3.1.6:
|
||||
* Fixed immutability bug. Bug 176.
|
||||
* Fixed failure of `__contains__` in some circumstances. Bug 180.
|
||||
* Better handling of open files. Bug 186.
|
||||
* Better Python 2/3 check.
|
||||
* Making unit tests easier to run.
|
||||
* Allowing length of 1 to be specified for bools. (Thanks to LemonPi)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 5 01:59:04 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-bitstring
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,24 +17,20 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Test files missing
|
||||
%bcond_with test
|
||||
Name: python-bitstring
|
||||
Version: 3.1.5
|
||||
Version: 3.1.6
|
||||
Release: 0
|
||||
Summary: Python module for the construction, analysis and modification of binary data
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/scott-griffiths/bitstring
|
||||
Source: https://files.pythonhosted.org/packages/source/b/bitstring/bitstring-%{version}.zip
|
||||
Source: https://github.com/scott-griffiths/bitstring/archive/bitstring-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -48,8 +44,8 @@ They can also be read from, searched and replaced, and navigated in,
|
||||
similar to a file or stream.
|
||||
|
||||
%prep
|
||||
%setup -q -n bitstring-%{version}
|
||||
sed -i 's/\r$//' README.rst
|
||||
%setup -q -n bitstring-bitstring-%{version}
|
||||
dos2unix README.rst
|
||||
sed -i '1{\@^#!%{_bindir}/env python@d}' bitstring.py
|
||||
|
||||
%build
|
||||
@@ -59,12 +55,9 @@ sed -i '1{\@^#!%{_bindir}/env python@d}' bitstring.py
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
%endif
|
||||
cd test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user