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.000000000 +0200 @@ -0,0 +1,24 @@ +------------------------------------------------------------------- +Mon Jul 8 13:57:11 UTC 2013 - [email protected] + +- 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 - [email protected] + +- 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 - [email protected] + +- Package LICENSE and README.rst + +------------------------------------------------------------------- +Mon Apr 29 15:27:04 UTC 2013 - [email protected] + +- 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 [email protected] -- 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', 'EmbeddedBitStruct', + 'ConstError', 'Construct', 'ConstructError', 'Container', 'Embedded', 'EmbeddedBitStruct', 'Enum', 'ExprAdapter', 'Field', 'FieldError', 'Flag', 'FlagsAdapter', 'FlagsContainer', 'FlagsEnum', 'FormatField', 'GreedyRange', 'HexDumpAdapter', 'HexString', 'If', 'IfThenElse', 'IndexingAdapter', 'LFloat32', 'LFloat64', 'LazyBound', 'LazyContainer', 'LengthValueAdapter', 'ListContainer', 'Magic', 'MappingAdapter', 'MappingError', 'MetaArray', 'MetaField', 'NFloat32', 'NFloat64', 'Nibble', 'NoneOf', 'Octet', 'OnDemand', 'OnDemandPointer', 'OneOf', 'OpenRange', 'Optional', 'OptionalGreedyRange', 'OverwriteError', 'Packer', 'PaddedStringAdapter', 'Padding', 'PaddingAdapter', 'PaddingError', - 'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Probe', 'Range', 'RangeError', 'Reconfig', + 'PascalString', 'Pass', 'Peek', 'Pointer', 'PrefixedArray', 'Range', 'RangeError', 'Reconfig', 'Rename', 'RepeatUntil', 'Restream', 'SBInt16', 'SBInt32', 'SBInt64', 'SBInt8', 'SLInt16', 'SLInt32', 'SLInt64', 'SLInt8', 'SNInt16', 'SNInt32', 'SNInt64', 'SNInt8', 'Select', 'SelectError', 'SeqOfOne', 'Sequence', 'SizeofError', 'SlicingAdapter', 'StaticField', 'String', 'StringAdapter', 'Struct', @@ -77,3 +76,10 @@ __all__ = [ 'ULInt8', 'UNInt16', 'UNInt32', 'UNInt64', 'UNInt8', 'Union', 'ValidationError', 'Validator', 'Value', 'this', 'Bits', 'Byte', 'Bytes', 'Const', 'Tunnel', 'Embed', ] + +try: + from construct.debug import Probe, Debugger + __all__ = __all__ + ['Debugger', 'Probe'] +except ImportError: + pass + -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
