commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2020-06-26 21:43:47 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new.3060 (New) Package is "python-construct" Fri Jun 26 21:43:47 2020 rev:15 rq:816628 version:2.10.56 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2020-04-19 21:41:22.739106771 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new.3060/python-construct.changes 2020-06-26 21:43:50.969524964 +0200 @@ -1,0 +2,7 @@ +Tue Jun 23 14:27:05 UTC 2020 - Benjamin Greiner + +- Add source dir to PYTHONPATH just as upstream does. + Necessary due change in pytest macro gh#openSUSE/python-rpm-macros#48 +- don't benchmark, just run the tests once + +--- Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.eEUFU0/_old 2020-06-26 21:43:51.653527154 +0200 +++ /var/tmp/diff_new_pack.eEUFU0/_new 2020-06-26 21:43:51.653527154 +0200 @@ -78,7 +78,9 @@ %check %if %{with test} -%pytest +# local source dir is needed for tests +export PYTHONPATH=$(pwd) +%pytest --benchmark-disable %endif %if %{without test}
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2020-04-19 21:41:17 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new.2738 (New) Package is "python-construct" Sun Apr 19 21:41:17 2020 rev:14 rq:785568 version:2.10.56 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2019-12-25 10:54:34.773625129 +0100 +++ /work/SRC/openSUSE:Factory/.python-construct.new.2738/python-construct.changes 2020-04-19 21:41:22.739106771 +0200 @@ -1,0 +2,8 @@ +Wed Feb 12 11:59:37 UTC 2020 - Tomáš Chvátal + +- Update to 2.10.56: + * drop support for python2 + * no upstream changelog +- Rebase patch split_debug.patch + +--- Old: v2.9.45.tar.gz New: v2.10.56.tar.gz Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.dISsPG/_old 2020-04-19 21:41:23.971109243 +0200 +++ /var/tmp/diff_new_pack.dISsPG/_new 2020-04-19 21:41:23.979109259 +0200 @@ -1,7 +1,7 @@ # # spec file for package python # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "test" -%bcond_without test %define psuffix -test +%bcond_without test %else %bcond_with test %endif +%define skip_python2 1 Name: python-construct%{?psuffix} -Version:2.9.45 +Version:2.10.56 Release:0 Summary:A declarative parser/builder for binary data License:MIT @@ -35,18 +36,16 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-arrow +Recommends: python-numpy +Recommends: python-ruamel.yaml +BuildArch: noarch %if %{with test} BuildRequires: %{python_module arrow} +BuildRequires: %{python_module numpy} BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module six} -BuildRequires: python2-enum34 -%endif -Requires: python-arrow -Requires: python-six -BuildArch: noarch -%ifpython2 -Requires: python-enum34 +BuildRequires: %{python_module ruamel.yaml} %endif %python_subpackages ++ split_debug.patch ++ --- /var/tmp/diff_new_pack.dISsPG/_old 2020-04-19 21:41:24.019109339 +0200 +++ /var/tmp/diff_new_pack.dISsPG/_new 2020-04-19 21:41:24.019109339 +0200 @@ -1,7 +1,7 @@ -Index: construct-2.9.45/construct/__init__.py +Index: construct-2.10.56/construct/__init__.py === construct-2.9.45.orig/construct/__init__.py -+++ construct-2.9.45/construct/__init__.py +--- construct-2.10.56.orig/construct/__init__.py construct-2.10.56/construct/__init__.py @@ -21,7 +21,6 @@ Hands-on example: from construct.core import * @@ -17,8 +17,8 @@ -'Debugger', 'Default', 'Double', - 'Embedded', -@@ -144,7 +142,6 @@ __all__ = [ + 'Enum', +@@ -143,7 +141,6 @@ __all__ = [ 'possiblestringencodings', 'Prefixed', 'PrefixedArray', @@ -26,14 +26,13 @@ 'ProcessRotateLeft', 'ProcessXor', 'RangeError', -@@ -207,3 +204,10 @@ __all__ = [ +@@ -206,3 +203,9 @@ __all__ = [ ] __all__ += ["Int%s%s%s" % (n,us,bln) for n in (8,16,24,32,64) for us in "us" for bln in "bln"] - __all__ += ["Float%s%s" % (n,bln) for n in (32,64) for bln in "bln"] + __all__ += ["Float%s%s" % (n,bln) for n in (16,32,64) for bln in "bln"] + +try: +from construct.debug import * +__all__ += ['Debugger', 'Probe'] +except ImportError: +pass -+ ++ v2.9.45.tar.gz -> v2.10.56.tar.gz ++ 3227 lines of diff (skipped)
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2019-12-25 10:54:18 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new.6675 (New) Package is "python-construct" Wed Dec 25 10:54:18 2019 rev:13 rq:758775 version:2.9.45 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2019-11-04 17:10:17.404510070 +0100 +++ /work/SRC/openSUSE:Factory/.python-construct.new.6675/python-construct.changes 2019-12-25 10:54:34.773625129 +0100 @@ -1,0 +2,6 @@ +Sat Dec 14 22:15:42 UTC 2019 - Stefan Brüns + +- Use _multibuild for tests to reduce the build dependencies + and simplify bootstrap for e.g. rpmlint. + +--- New: _multibuild Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.jIdXJ2/_old 2019-12-25 10:54:35.233625274 +0100 +++ /var/tmp/diff_new_pack.jIdXJ2/_new 2019-12-25 10:54:35.237625275 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-construct +# spec file for package python # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -Name: python-construct +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%bcond_without test +%define psuffix -test +%else +%bcond_with test +%endif +Name: python-construct%{?psuffix} Version:2.9.45 Release:0 Summary:A declarative parser/builder for binary data @@ -25,14 +32,16 @@ URL:https://github.com/construct/construct Source: https://github.com/construct/construct/archive/v%{version}.tar.gz Patch0: split_debug.patch +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} BuildRequires: %{python_module arrow} BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: python2-enum34 +%endif Requires: python-arrow Requires: python-six BuildArch: noarch @@ -58,19 +67,27 @@ rm -rf tests/deprecated_gallery %build +%if %{without test} %python_build +%endif %install +%if %{without test} %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %check +%if %{with test} %pytest +%endif +%if %{without test} %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/construct %{python_sitelib}/construct-%{version}-py%{python_version}.egg-info +%endif %changelog ++ _multibuild ++ test
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2019-11-04 17:10:15 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new.2990 (New) Package is "python-construct" Mon Nov 4 17:10:15 2019 rev:12 rq:743979 version:2.9.45 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2019-01-28 20:45:40.346080210 +0100 +++ /work/SRC/openSUSE:Factory/.python-construct.new.2990/python-construct.changes 2019-11-04 17:10:17.404510070 +0100 @@ -1,0 +2,5 @@ +Mon Oct 14 11:40:28 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. + +--- Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.a9QXy8/_old 2019-11-04 17:10:18.740511497 +0100 +++ /var/tmp/diff_new_pack.a9QXy8/_new 2019-11-04 17:10:18.748511505 +0100 @@ -22,7 +22,6 @@ Release:0 Summary:A declarative parser/builder for binary data License:MIT -Group: Development/Languages/Python URL:https://github.com/construct/construct Source: https://github.com/construct/construct/archive/v%{version}.tar.gz Patch0: split_debug.patch @@ -31,15 +30,15 @@ BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -Requires: python-arrow BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-six BuildRequires: python2-enum34 +Requires: python-arrow +Requires: python-six +BuildArch: noarch %ifpython2 Requires: python-enum34 %endif -BuildArch: noarch %python_subpackages %description @@ -63,10 +62,10 @@ %install %python_install -%python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} +%pytest %files %{python_files} %license LICENSE
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2019-01-28 20:45:38 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new.28833 (New) Package is "python-construct" Mon Jan 28 20:45:38 2019 rev:11 rq:664590 version:2.9.45 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2018-12-06 12:14:28.309703226 +0100 +++ /work/SRC/openSUSE:Factory/.python-construct.new.28833/python-construct.changes 2019-01-28 20:45:40.346080210 +0100 @@ -1,0 +2,13 @@ +Mon Jan 7 11:37:34 UTC 2019 - Tomáš Chvátal + +- Reintroduce split_debug.patch for rpmlint[mini] mode + +--- +Wed Jan 2 09:36:53 UTC 2019 - Tomáš Chvátal + +- Version update to 2.9.45: + * No obvious changelog present +- Remove obsolete split_debug.patch +- Use github tarball in order to be able to run tests + +--- Old: construct-2.8.12.tar.gz New: v2.9.45.tar.gz Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.3CWvoX/_old 2019-01-28 20:45:41.390079112 +0100 +++ /var/tmp/diff_new_pack.3CWvoX/_new 2019-01-28 20:45:41.394079108 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-construct # -# 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 @@ -18,19 +18,27 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-construct -Version:2.8.12 +Version:2.9.45 Release:0 Summary:A declarative parser/builder for binary data License:MIT Group: Development/Languages/Python -URL:http://construct.readthedocs.org -Source: https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz -# PATCH-FEATURE-OPENSUSE split_debug.patch matwey.korni...@gmail.com -- make debug.py non-loadable +URL:https://github.com/construct/construct +Source: https://github.com/construct/construct/archive/v%{version}.tar.gz Patch0: split_debug.patch +BuildRequires: %{python_module arrow} +BuildRequires: %{python_module pytest-benchmark} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +Requires: python-arrow BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six +BuildRequires: python2-enum34 +%ifpython2 +Requires: python-enum34 +%endif BuildArch: noarch %python_subpackages @@ -46,6 +54,10 @@ %setup -q -n construct-%{version} %patch0 -p1 +# remove gallery tests that require in place stuff +rm -rf tests/gallery +rm -rf tests/deprecated_gallery + %build %python_build @@ -53,6 +65,9 @@ %python_install %python_expand %fdupes -s %{buildroot}%{$python_sitelib} +%check +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} + %files %{python_files} %license LICENSE %doc README.rst ++ split_debug.patch ++ --- /var/tmp/diff_new_pack.3CWvoX/_old 2019-01-28 20:45:41.418079082 +0100 +++ /var/tmp/diff_new_pack.3CWvoX/_new 2019-01-28 20:45:41.418079082 +0100 @@ -1,26 +1,39 @@ -Index: construct-2.8.11/construct/__init__.py +Index: construct-2.9.45/construct/__init__.py === construct-2.8.11.orig/construct/__init__.py -+++ construct-2.8.11/construct/__init__.py -@@ -21,7 +21,6 @@ +--- construct-2.9.45.orig/construct/__init__.py construct-2.9.45/construct/__init__.py +@@ -21,7 +21,6 @@ Hands-on example: from construct.core import * - from construct.expr import this, Path, Path2, PathFunc, len_, sum_, min_, max_, abs_, obj_ --from construct.debug import Probe, ProbeInto, Debugger - from construct.version import version, version_string, release_date + from construct.expr import * +-from construct.debug import * + from construct.version import * from construct import lib -@@ -40,6 +39,12 @@ - # exposed names - #=== - __all__ = [ --'AdaptationError', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 'ConstructError', 'Container', 'Debugger', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 'FieldError', 'Flag', 'FlagsContainer',
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2018-12-06 12:14:27 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new.19453 (New) Package is "python-construct" Thu Dec 6 12:14:27 2018 rev:10 rq:653989 version:2.8.12 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2017-09-04 12:25:24.559576230 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new.19453/python-construct.changes 2018-12-06 12:14:28.309703226 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:46:54 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.1aQBKn/_old 2018-12-06 12:14:28.765702736 +0100 +++ /var/tmp/diff_new_pack.1aQBKn/_new 2018-12-06 12:14:28.765702736 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-construct # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -23,16 +23,14 @@ Summary:A declarative parser/builder for binary data License:MIT Group: Development/Languages/Python -Url:http://construct.readthedocs.org +URL:http://construct.readthedocs.org Source: https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE split_debug.patch matwey.korni...@gmail.com -- make debug.py non-loadable Patch0: split_debug.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-six -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -56,8 +54,8 @@ %python_expand %fdupes -s %{buildroot}%{$python_sitelib} %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/construct %{python_sitelib}/construct-%{version}-py%{python_version}.egg-info
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2017-09-04 12:25:15 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new (New) Package is "python-construct" Mon Sep 4 12:25:15 2017 rev:9 rq:518920 version:2.8.12 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2017-05-09 17:59:45.557640890 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new/python-construct.changes 2017-09-04 12:25:24.559576230 +0200 @@ -1,0 +2,15 @@ +Sat Aug 26 16:52:44 UTC 2017 - jeng...@inai.de + +- Rewrite description for more neutrality. + +--- +Thu Aug 24 07:24:54 UTC 2017 - tbecht...@suse.com + +- update to 2.8.12: + * README and docs updated + * Version uped to 2.8.12 + * Union: fixed buildfrom (bug #348) + * Docs updated: API reference + * Prefixed instead of Array (#349) + +--- Old: construct-2.8.11.tar.gz New: construct-2.8.12.tar.gz Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.TXAJ3Q/_old 2017-09-04 12:25:26.715273157 +0200 +++ /var/tmp/diff_new_pack.TXAJ3Q/_new 2017-09-04 12:25:26.731270908 +0200 @@ -18,9 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-construct -Version:2.8.11 +Version:2.8.12 Release:0 -Summary:A powerful declarative parser/builder for binary data +Summary:A declarative parser/builder for binary data License:MIT Group: Development/Languages/Python Url:http://construct.readthedocs.org @@ -37,12 +37,12 @@ %python_subpackages %description -Construct is a powerful declarative parser (and builder) for binary data. +Construct is a declarative parser (and builder) for binary data. -Instead of writing imperative code to parse a piece of data, you declaratively -define a data structure that describes your data. As this data structure is not -code, you can use it in one direction to parse data into Pythonic objects, -and in the other direction, convert ("build") objects into binary data. +Instead of writing imperative code to parse a piece of data, a data +structure that describes the data is declared. As this data structure is not +code, it can be used in one direction to parse data into Pythonic objects, +and in the other direction to convert ("build") objects into binary data. %prep %setup -q -n construct-%{version} ++ construct-2.8.11.tar.gz -> construct-2.8.12.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/construct-2.8.11/README.rst new/construct-2.8.12/README.rst --- old/construct-2.8.11/README.rst 2017-04-05 23:02:36.0 +0200 +++ new/construct-2.8.12/README.rst 2017-04-25 00:35:54.0 +0200 @@ -3,7 +3,7 @@ Construct is a powerful **declarative** parser (and builder) for binary data. -Instead of writing *imperative code* to parse a piece of data, you declaratively define a *data structure* that describes your data. As this data structure is not code, you can use it in one direction to *parse* data into Pythonic objects, and in the other direction, build objects into binary data. +Instead of writing *imperative code* to parse a piece of data, you declaratively define a *data structure* that describes your data. As this data structure is not code, you can use it in one direction to *parse* data into Pythonic objects, and in the other direction, to *build* objects into binary data. The library provides both simple, atomic constructs (such as integers of various sizes), as well as composite ones which allow you form hierarchical and sequential structures of increasing complexity. Construct features **bit and byte granularity**, easy debugging and testing, an **easy-to-extend subclass system**, and lots of primitive constructs to make your work easier: @@ -47,7 +47,7 @@ Sticky -Version 2.5.5 is the previous stable release. If you are maintaining a project that depended on this framework for a long time, you should probably use this version. This branch is not actively maintained. Even bugfixes are not being added. +Version 2.5.5 is the previous stable release. If you are maintaining a project that depended on this framework for a long time, you should probably use this version. This branch is not actively maintained. Version 2.8 was released September, 2016. There are significant API and implementation changes. Fields are now name-less
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2017-05-09 17:59:44 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new (New) Package is "python-construct" Tue May 9 17:59:44 2017 rev:8 rq:493212 version:2.8.11 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2017-04-28 10:54:03.152600927 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new/python-construct.changes 2017-05-09 17:59:45.557640890 +0200 @@ -1,0 +2,5 @@ +Sat May 6 14:12:24 UTC 2017 - matwey.korni...@gmail.com + +- Recover split_debug.patch to fix rpmlint + +--- Other differences: -- ++ split_debug.patch ++ --- /var/tmp/diff_new_pack.y6el6T/_old 2017-05-09 17:59:46.353528423 +0200 +++ /var/tmp/diff_new_pack.y6el6T/_new 2017-05-09 17:59:46.353528423 +0200 @@ -2,7 +2,7 @@ === --- construct-2.8.11.orig/construct/__init__.py +++ construct-2.8.11/construct/__init__.py -@@ -21,7 +21,6 @@ Hands-on example: +@@ -21,7 +21,6 @@ from construct.core import * from construct.expr import this, Path, Path2, PathFunc, len_, sum_, min_, max_, abs_, obj_ @@ -10,3 +10,17 @@ from construct.version import version, version_string, release_date from construct import lib +@@ -40,6 +39,12 @@ + # exposed names + #=== + __all__ = [ +-'AdaptationError', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 'ConstructError', 'Container', 'Debugger', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 'FieldError', 'Flag', 'FlagsContainer', 'FlagsEnum', 'Bytes', 'FormatField', 'GreedyRange', 'HexDump', 'HexString', 'If', 'IfThenElse', 'Indexing', 'LazyBound', 'LazyContainer', 'ListContainer', 'Mapping', 'MappingError', 'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 'OneOf', 'Optional', 'OverwriteError', 'Packer', 'Padding', 'PaddingError', 'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Probe', 'Range', 'RangeError', 'Renamed', 'RepeatUntil', 'Select', 'SelectError', 'Sequence', 'SizeofError', 'Slicing', 'String', 'Struct', 'Subconstruct', 'Switch', 'SwitchError', 'SymmetricMapping', 'Terminated', 'TerminatedError', 'UnionError', 'Union', 'ValidationError', 'Validator', 'Computed', 'Bytes', 'Tunnel', 'Embedded', 'Const', 'ConstError', 'VarInt', 'StringError', 'Checksum', 'ByteSwapped', 'LazyStruct', 'Numpy', 'Adapter', 'SymmetricAdapter', 'Tunnel', 'Compressed', 'GreedyBytes', 'Prefixed', 'Padded', 'GreedyString', 'RawCopy', 'LazyRange', 'LazySequence', 'LazySequenceContainer', 'BitsInteger', 'BytesInteger', '__author__', '__version__', 'Restreamed', 'RestreamedBytesIO', 'Bytewise', 'LazyRangeContainer', 'BitsSwapped', 'RebufferedBytesIO', 'Rebuffered', 'version', 'version_string','lib','Seek','Tell','setglobalstringencoding','globalstringencoding','NamedTuple','ExprValidator','Filter','Hex','Error','ExplicitError','release_date','Rebuild','Check','len_','sum_','min_','max_','abs_','obj_','singleton','singletonfunction', 'this', 'Path','Path2','PathFunc','FocusedSeq','FocusedError','ExprSymmetricAdapter','ProbeInto','Default','ChecksumError','StopIf', 'setglobalfullprinting','getglobalfullprinting','Byte','Short','Int','Long', ++'AdaptationError', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 'ConstructError', 'Container', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 'FieldError', 'Flag', 'FlagsContainer', 'FlagsEnum', 'Bytes', 'FormatField', 'GreedyRange', 'HexDump', 'HexString', 'If', 'IfThenElse', 'Indexing', 'LazyBound', 'LazyContainer', 'ListContainer', 'Mapping', 'MappingError', 'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 'OneOf', 'Optional', 'OverwriteError', 'Packer', 'Padding', 'PaddingError', 'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Range', 'RangeError', 'Renamed', 'RepeatUntil', 'Select', 'SelectError', 'Sequence', 'SizeofError', 'Slicing', 'String', 'Struct', 'Subconstruct', 'Switch', 'SwitchError', 'SymmetricMapping', 'Terminated', 'TerminatedError', 'UnionError', 'Union', 'ValidationError', 'Validator', 'Computed', 'Bytes', 'Tunnel', 'Embedded', 'Const', 'ConstError', 'VarInt', 'StringError', 'Checksum', 'ByteSwapped', 'LazyStruct', 'Numpy', 'Adapter', 'SymmetricAdapter', 'Tunnel', 'Compressed', 'GreedyBytes', 'Prefixed', 'Padded', 'GreedyString', 'RawCopy', 'LazyRange', 'LazySequence',
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2017-04-28 10:53:59 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new (New) Package is "python-construct" Fri Apr 28 10:53:59 2017 rev:7 rq:491188 version:2.8.11 Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2017-02-03 18:57:18.298318093 +0100 +++ /work/SRC/openSUSE:Factory/.python-construct.new/python-construct.changes 2017-04-28 10:54:03.152600927 +0200 @@ -1,0 +2,8 @@ +Sat Apr 22 16:20:52 UTC 2017 - aloi...@gmx.com + +- Update to 2.8.11 +- Converted to single-spec +- Set proper source URL +- Refreshed split_debug.patch + +--- Old: construct-2.8.10.tar.gz New: construct-2.8.11.tar.gz Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.LnveyZ/_old 2017-04-28 10:54:04.292439833 +0200 +++ /var/tmp/diff_new_pack.LnveyZ/_new 2017-04-28 10:54:04.292439833 +0200 @@ -16,25 +16,25 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-construct -Version:2.8.10 +Version:2.8.11 Release:0 Summary:A powerful declarative parser/builder for binary data License:MIT Group: Development/Languages/Python Url:http://construct.readthedocs.org -Source: https://github.com/construct/construct/archive/v%{version}/construct-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/c/construct/construct-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE split_debug.patch matwey.korni...@gmail.com -- make debug.py non-loadable Patch0: split_debug.patch -BuildRequires: python-devel -BuildRequires: python-six +BuildRequires: %{python_module devel} +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else BuildArch: noarch -%endif +%python_subpackages %description Construct is a powerful declarative parser (and builder) for binary data. @@ -49,14 +49,16 @@ %patch0 -p1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst -%{python_sitelib}/* +%{python_sitelib}/construct +%{python_sitelib}/construct-%{version}-py%{python_version}.egg-info %changelog ++ construct-2.8.10.tar.gz -> construct-2.8.11.tar.gz ++ 2427 lines of diff (skipped) ++ split_debug.patch ++ --- /var/tmp/diff_new_pack.LnveyZ/_old 2017-04-28 10:54:04.496411006 +0200 +++ /var/tmp/diff_new_pack.LnveyZ/_new 2017-04-28 10:54:04.500410441 +0200 @@ -1,28 +1,12 @@ -Index: construct-2.8.10/construct/__init__.py +Index: construct-2.8.11/construct/__init__.py === construct-2.8.10.orig/construct/__init__.py -+++ construct-2.8.10/construct/__init__.py +--- construct-2.8.11.orig/construct/__init__.py construct-2.8.11/construct/__init__.py @@ -21,7 +21,6 @@ Hands-on example: from construct.core import * - from construct.expr import this, Path, Path2, PathFunc, len_, sum_, min_, max_, abs_, obj_, True_, False_ + from construct.expr import this, Path, Path2, PathFunc, len_, sum_, min_, max_, abs_, obj_ -from construct.debug import Probe, ProbeInto, Debugger from construct.version import version, version_string, release_date from construct import lib -@@ -40,8 +39,12 @@ __version__ = version_string - # exposed names - #=== - __all__ = [ --'AdaptationError', 'Alias', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 'ConstructError', 'Container', 'Debugger', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 'FieldError', 'Flag', 'FlagsContainer', 'FlagsEnum', 'Bytes', 'FormatField', 'GreedyRange', 'HexDump', 'HexString', 'If', 'IfThenElse', 'Indexing', 'LazyBound', 'LazyContainer', 'ListContainer', 'Mapping', 'MappingError', 'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 'OneOf', 'Optional', 'OverwriteError', 'Packer', 'Padding',
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2017-01-28 11:04:56 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new (New) Package is "python-construct" Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2016-10-14 09:05:23.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new/python-construct.changes 2017-02-03 18:57:18.298318093 +0100 @@ -1,0 +2,11 @@ +Thu Jan 26 09:26:29 UTC 2017 - matwey.korni...@gmail.com + +- correct download url + +--- +Wed Jan 18 09:42:16 UTC 2017 - matwey.korni...@gmail.com + +- Version 2.8.10: + - no changelog available + +--- Old: construct-2.5.5-reupload.tar.gz New: construct-2.8.10.tar.gz Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.aBvAbZ/_old 2017-02-03 18:57:18.774251254 +0100 +++ /var/tmp/diff_new_pack.aBvAbZ/_new 2017-02-03 18:57:18.778250692 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-construct # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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,13 +17,13 @@ Name: python-construct -Version:2.5.5 +Version:2.8.10 Release:0 Summary:A powerful declarative parser/builder for binary data License:MIT Group: Development/Languages/Python Url:http://construct.readthedocs.org -Source: https://pypi.io/packages/source/c/construct/construct-%{version}-reupload.tar.gz +Source: https://github.com/construct/construct/archive/v%{version}/construct-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE split_debug.patch matwey.korni...@gmail.com -- make debug.py non-loadable Patch0: split_debug.patch BuildRequires: python-devel ++ construct-2.5.5-reupload.tar.gz -> construct-2.8.10.tar.gz ++ 21693 lines of diff (skipped) ++ split_debug.patch ++ --- /var/tmp/diff_new_pack.aBvAbZ/_old 2017-02-03 18:57:18.930229349 +0100 +++ /var/tmp/diff_new_pack.aBvAbZ/_new 2017-02-03 18:57:18.934228787 +0100 @@ -1,40 +1,28 @@ -Index: construct-2.5.5/construct/__init__.py +Index: construct-2.8.10/construct/__init__.py === construct-2.5.5.orig/construct/__init__.py -+++ construct-2.5.5/construct/__init__.py -@@ -35,7 +35,6 @@ from construct.macros import (Alias, Ali - SNInt8, SeqOfOne, String, SymmetricMapping, UBInt16, UBInt32, UBInt64, UBInt8, ULInt16, ULInt32, ULInt64, - ULInt8, UNInt16, UNInt32, UNInt64, UNInt8, GreedyString) - from construct.lib.expr import this --from construct.debug import Probe, Debugger - from construct.version import version, version_string as __version__ +--- construct-2.8.10.orig/construct/__init__.py construct-2.8.10/construct/__init__.py +@@ -21,7 +21,6 @@ Hands-on example: + from construct.core import * + from construct.expr import this, Path, Path2, PathFunc, len_, sum_, min_, max_, abs_, obj_, True_, False_ +-from construct.debug import Probe, ProbeInto, Debugger + from construct.version import version, version_string, release_date + from construct import lib + +@@ -40,8 +39,12 @@ __version__ = version_string + # exposed names + #=== + __all__ = [ +-'AdaptationError', 'Alias', 'Aligned', 'AlignedStruct', 'Array', 'Bit', 'BitIntegerError', 'BitStruct', 'Bitwise', 'CString', 'Construct', 'ConstructError', 'Container', 'Debugger', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 'FieldError', 'Flag', 'FlagsContainer', 'FlagsEnum', 'Bytes', 'FormatField', 'GreedyRange', 'HexDump', 'HexString', 'If', 'IfThenElse', 'Indexing', 'LazyBound', 'LazyContainer', 'ListContainer', 'Mapping', 'MappingError', 'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 'OneOf', 'Optional', 'OverwriteError', 'Packer', 'Padding', 'PaddingError', 'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Probe', 'Range', 'RangeError', 'Renamed', 'RepeatUntil', 'Select', 'SelectError', 'Sequence', 'SizeofError', 'Slicing', 'String', 'Struct', 'Subconstruct', 'Switch', 'SwitchError', 'SymmetricMapping', 'Terminated', 'TerminatedError', 'UnionError', 'Union', 'ValidationError', 'Validator', 'Computed', 'Byte', 'Bytes', 'Tunnel', 'Embedded',
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2016-10-14 09:05:23 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new (New) Package is "python-construct" Changes: --- /work/SRC/openSUSE:Factory/python-construct/python-construct.changes 2014-05-10 08:32:40.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new/python-construct.changes 2016-10-14 09:05:23.0 +0200 @@ -1,0 +2,11 @@ +Mon Oct 10 12:45:01 UTC 2016 - dmuel...@suse.com + +- correct download url + +--- +Sat Oct 1 15:10:47 UTC 2016 - matwey.korni...@gmail.com + +- Version 2.5.5: + - Many minor fixups + +--- Old: construct-2.5.2.tar.gz New: construct-2.5.5-reupload.tar.gz Other differences: -- ++ python-construct.spec ++ --- /var/tmp/diff_new_pack.HPTEuY/_old 2016-10-14 09:05:25.0 +0200 +++ /var/tmp/diff_new_pack.HPTEuY/_new 2016-10-14 09:05:25.0 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-construct # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,13 +17,13 @@ Name: python-construct -Version:2.5.2 +Version:2.5.5 Release:0 Summary:A powerful declarative parser/builder for binary data License:MIT Group: Development/Languages/Python Url:http://construct.readthedocs.org -Source: http://pypi.python.org/packages/source/c/construct/construct-%{version}.tar.gz +Source: https://pypi.io/packages/source/c/construct/construct-%{version}-reupload.tar.gz # PATCH-FEATURE-OPENSUSE split_debug.patch matwey.korni...@gmail.com -- make debug.py non-loadable Patch0: split_debug.patch BuildRequires: python-devel ++ split_debug.patch ++ --- /var/tmp/diff_new_pack.HPTEuY/_old 2016-10-14 09:05:25.0 +0200 +++ /var/tmp/diff_new_pack.HPTEuY/_new 2016-10-14 09:05:25.0 +0200 @@ -1,10 +1,10 @@ -Index: construct-2.5.2/construct/__init__.py +Index: construct-2.5.5/construct/__init__.py === construct-2.5.2.orig/construct/__init__.py -+++ construct-2.5.2/construct/__init__.py +--- construct-2.5.5.orig/construct/__init__.py construct-2.5.5/construct/__init__.py @@ -35,7 +35,6 @@ from construct.macros import (Alias, Ali SNInt8, SeqOfOne, String, SymmetricMapping, UBInt16, UBInt32, UBInt64, UBInt8, ULInt16, ULInt32, ULInt64, - ULInt8, UNInt16, UNInt32, UNInt64, UNInt8) + ULInt8, UNInt16, UNInt32, UNInt64, UNInt8, GreedyString) from construct.lib.expr import this -from construct.debug import Probe, Debugger from construct.version import version, version_string as __version__
commit python-construct for openSUSE:Factory
Hello community, here is the log from the commit of package python-construct for openSUSE:Factory checked in at 2013-07-09 21:09:02 Comparing /work/SRC/openSUSE:Factory/python-construct (Old) and /work/SRC/openSUSE:Factory/.python-construct.new (New) Package is python-construct Changes: New Changes file: --- /dev/null 2013-07-02 09:26:14.908030755 +0200 +++ /work/SRC/openSUSE:Factory/.python-construct.new/python-construct.changes 2013-07-09 21:09:03.0 +0200 @@ -0,0 +1,24 @@ +--- +Mon Jul 8 13:57:11 UTC 2013 - matwey.korni...@gmail.com + +- Version 2.5.1: + - Misc fixes for python 3 + - Misc fixes in documentation + - Allow the Pointer to relocate relative to EOF + +--- +Wed May 8 07:40:30 UTC 2013 - matwey.korni...@gmail.com + +- Add split_debug.patch: reason why do we want to do so is to use + python-construct in embedded applications like rpmlint-mini + +--- +Tue Apr 30 11:30:15 UTC 2013 - speili...@suse.com + +- Package LICENSE and README.rst + +--- +Mon Apr 29 15:27:04 UTC 2013 - matwey.korni...@gmail.com + +- Initial version + New: construct-2.5.1.tar.gz python-construct.changes python-construct.spec split_debug.patch Other differences: -- ++ python-construct.spec ++ # # spec file for package python-construct # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An Open Source License is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ Name: python-construct Version:2.5.1 Release:0 License:MIT Summary:A powerful declarative parser/builder for binary data Url:http://construct.readthedocs.org Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/c/construct/construct-%{version}.tar.gz # PATCH-FEATURE-OPENSUSE split_debug.patch matwey.korni...@gmail.com -- make debug.py non-loadable Patch0: split_debug.patch BuildRequires: python-devel BuildRequires: python-six Requires: python-six BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} 0%{?suse_version} = 1110 %{!?python_sitelib: %global python_sitelib %(python -c from distutils.sysconfig import get_python_lib; print get_python_lib())} %else BuildArch: noarch %endif %description Construct is a powerful declarative parser (and builder) for binary data. Instead of writing imperative code to parse a piece of data, you declaratively define a data structure that describes your data. As this data structure is not code, you can use it in one direction to parse data into Pythonic objects, and in the other direction, convert (build) objects into binary data. %prep %setup -q -n construct-%{version} %patch0 -p1 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README.rst %{python_sitelib}/* ++ split_debug.patch ++ Index: construct-2.5.1/construct/__init__.py === --- construct-2.5.1.orig/construct/__init__.py +++ construct-2.5.1/construct/__init__.py @@ -35,7 +35,6 @@ from construct.macros import (Alias, Ali SNInt8, SeqOfOne, String, SymmetricMapping, UBInt16, UBInt32, UBInt64, UBInt8, ULInt16, ULInt32, ULInt64, ULInt8, UNInt16, UNInt32, UNInt64, UNInt8) from construct.lib.expr import this -from construct.debug import Probe, Debugger from construct.version import version, version_string as __version__ @@ -61,14 +60,14 @@ __all__ = [ 'AdaptationError', 'Adapter', 'Alias', 'Aligned', 'AlignedStruct', 'Anchor', 'Array', 'ArrayError', 'BFloat32', 'BFloat64', 'Bit', 'BitField', 'BitIntegerAdapter', 'BitIntegerError', 'BitStreamReader', 'BitStreamWriter', 'BitStruct', 'Bitwise', 'Buffered', 'CString', 'CStringAdapter', 'ConstAdapter', -'ConstError', 'Construct', 'ConstructError', 'Container', 'Debugger', 'Embedded',