Accepting request 519963 from devel:languages:python:singlespec-staging

- singlespec auto-conversion
- Version 0.4:
  - ported to construct 2.8.x
- Update Source url
- Only consruct 2.5.x is supported by pybeam 0.3.x 
- Version 0.3.2:
  - add support for Erlang 17.0 (maps)
- Verision 0.3.1:
  - fix parsing lists with not-null tail
  - fix parsing strings ( six > 1.4.0 is required to support both
    python 2 and python 3 )
- Version 0.3:
  - python 3.3 support
  - minor fixes and add more unit-tests
  - Code LitT FunT chunk now understood
- Version 0.2:
  - fixed floating point parsing
  - fixed Atom lists indexation
- Initial version

OBS-URL: https://build.opensuse.org/request/show/519963
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybeam?expand=0&rev=15
This commit is contained in:
Matwey Kornilov 2017-09-02 09:46:56 +00:00 committed by Git OBS Bridge
parent 1bc100cf67
commit 523fc8b3c0
2 changed files with 18 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 24 13:50:13 UTC 2017 - jmatejek@suse.com
- singlespec auto-conversion
-------------------------------------------------------------------
Fri Jan 20 19:35:02 UTC 2017 - matwey.kornilov@gmail.com
@ -48,3 +53,4 @@ Wed May 1 15:57:09 UTC 2013 - matwey.kornilov@gmail.com
- Initial version

View File

@ -16,6 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pybeam
Version: 0.4
Release: 0
@ -24,31 +25,31 @@ License: MIT
Group: Development/Languages/Python
Url: http://github.com/matwey/pybeam
Source: https://files.pythonhosted.org/packages/source/p/pybeam/pybeam-%{version}.tar.gz
BuildRequires: python-construct >= 2.8
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: %{python_module construct >= 2.8}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-construct
Requires: python-six >= 1.4.0
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
Python module to parse Erlang BEAM files, now it is able to read imports, exports, atoms, as well as compile info and attribute chunks in pretty python format.
Python module to parse Erlang BEAM files, now it is able to read
imports, exports, atoms, as well as compile info and attribute
chunks in pretty python format.
%prep
%setup -q -n pybeam-%{version}
%build
python setup.py build
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%{python_sitelib}/*