Hello community, here is the log from the commit of package python3-pybeam for openSUSE:Factory checked in at 2014-06-04 18:39:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-pybeam (Old) and /work/SRC/openSUSE:Factory/.python3-pybeam.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python3-pybeam" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-pybeam/python3-pybeam.changes 2014-04-02 17:25:21.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-pybeam.new/python3-pybeam.changes 2014-06-04 18:39:36.000000000 +0200 @@ -1,0 +2,6 @@ +Sat May 31 11:27:58 UTC 2014 - matwey.kornilov@gmail.com + +- Version 0.3.2: + - add support for Erlang 17.0 (maps) + +------------------------------------------------------------------- Old: ---- pybeam-0.3.1.tar.gz New: ---- pybeam-0.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-pybeam.spec ++++++ --- /var/tmp/diff_new_pack.OVVAbT/_old 2014-06-04 18:39:40.000000000 +0200 +++ /var/tmp/diff_new_pack.OVVAbT/_new 2014-06-04 18:39:40.000000000 +0200 @@ -17,7 +17,7 @@ Name: python3-pybeam -Version: 0.3.1 +Version: 0.3.2 Release: 0 Summary: Python module to parse Erlang BEAM files License: MIT ++++++ pybeam-0.3.1.tar.gz -> pybeam-0.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybeam-0.3.1/PKG-INFO new/pybeam-0.3.2/PKG-INFO --- old/pybeam-0.3.1/PKG-INFO 2014-03-29 14:00:16.000000000 +0100 +++ new/pybeam-0.3.2/PKG-INFO 2014-05-31 13:26:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: pybeam -Version: 0.3.1 +Version: 0.3.2 Summary: Python module to parse Erlang BEAM files Home-page: http://github.com/matwey/pybeam Author: Matwey V. Kornilov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybeam-0.3.1/pybeam/eetf_construct.py new/pybeam-0.3.2/pybeam/eetf_construct.py --- old/pybeam-0.3.1/pybeam/eetf_construct.py 2014-03-29 13:39:02.000000000 +0100 +++ new/pybeam-0.3.2/pybeam/eetf_construct.py 2014-05-31 13:20:34.000000000 +0200 @@ -45,6 +45,12 @@ def _encode(self, obj, ctx): return (len(obj), obj, []) +class MapAdapter(Adapter): + def _decode(self, obj, ctx): + return dict(obj) + def _encode(self, obj, ctx): + return list(obj.items()) + def BigInteger(subconname, length_field = UBInt8("length")): def decode_big(obj,ctx): (length, isNegative, value) = obj @@ -88,6 +94,7 @@ long : 111, Fun : 112, MFA : 113, + map : 116, BitBinary : 77, } if obj == []: @@ -183,6 +190,13 @@ new_float = BFloat64("new_float") atom_utf8 = PascalString("atom_utf8", length_field = UBInt16("length"), encoding="utf8") small_atom_utf8 = PascalString("small_atom_utf8", encoding="utf8") +key_value = ExprAdapter(Sequence("key_value", + LazyBound("key", lambda : term), + LazyBound("value", lambda : term)), + encoder = lambda obj,ctx: obj, + decoder = lambda obj,ctx: tuple(obj) + ) +map = MapAdapter(PrefixedArray(key_value, length_field = UBInt32("arity"))) term = ExprAdapter(Sequence("term", UBInt8("tag"), @@ -206,6 +220,7 @@ 111: large_big, 114: new_reference, 115: small_atom, + 116: map, 117: fun, 112: new_fun, 113: export, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybeam-0.3.1/pybeam.egg-info/PKG-INFO new/pybeam-0.3.2/pybeam.egg-info/PKG-INFO --- old/pybeam-0.3.1/pybeam.egg-info/PKG-INFO 2014-03-29 14:00:16.000000000 +0100 +++ new/pybeam-0.3.2/pybeam.egg-info/PKG-INFO 2014-05-31 13:26:29.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: pybeam -Version: 0.3.1 +Version: 0.3.2 Summary: Python module to parse Erlang BEAM files Home-page: http://github.com/matwey/pybeam Author: Matwey V. Kornilov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pybeam-0.3.1/setup.py new/pybeam-0.3.2/setup.py --- old/pybeam-0.3.1/setup.py 2014-03-29 13:48:42.000000000 +0100 +++ new/pybeam-0.3.2/setup.py 2014-05-31 13:24:53.000000000 +0200 @@ -1,7 +1,7 @@ from setuptools import setup setup(name='pybeam', - version='0.3.1', + version='0.3.2', description='Python module to parse Erlang BEAM files', url='http://github.com/matwey/pybeam', author='Matwey V. Kornilov', -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org