Hello community,
here is the log from the commit of package python-bitstring for
openSUSE:Factory checked in at 2019-09-27 14:47:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bitstring (Old)
and /work/SRC/openSUSE:Factory/.python-bitstring.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bitstring"
Fri Sep 27 14:47:22 2019 rev:3 rq:730685 version:3.1.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bitstring/python-bitstring.changes
2018-12-13 19:46:53.704821395 +0100
+++
/work/SRC/openSUSE:Factory/.python-bitstring.new.2352/python-bitstring.changes
2019-09-27 14:47:25.396924707 +0200
@@ -1,0 +2,11 @@
+Fri Sep 13 11:15:20 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- 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)
+
+-------------------------------------------------------------------
Old:
----
bitstring-3.1.5.zip
New:
----
bitstring-3.1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-bitstring.spec ++++++
--- /var/tmp/diff_new_pack.RtnEeq/_old 2019-09-27 14:47:26.528921764 +0200
+++ /var/tmp/diff_new_pack.RtnEeq/_new 2019-09-27 14:47:26.528921764 +0200
@@ -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 @@
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 @@
%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