Accepting request 662304 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/662304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pybeam?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2019-01-28 19:45:19 +00:00 committed by Git OBS Bridge
commit e91ee3111d
5 changed files with 21 additions and 32 deletions

22
LICENSE
View File

@ -1,22 +0,0 @@
The MIT License (MIT)
Copyright (c) 2013 Matwey V. Kornilov <matwey.kornilov@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f34e336f8a8f5d09553e15c55d9843754ed83f5382823dfb6844a13f12e41e2
size 5282

3
pybeam-0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d622e94e5ca56d7345beccdb620b1f7a42600393ddc432a7772e4fbe654eff9
size 11369

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 26 12:45:48 UTC 2018 - matwey.kornilov@gmail.com
- Version 0.5
- ported to construct 2.9.x
-------------------------------------------------------------------
Tue Dec 4 12:51:57 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -12,26 +12,28 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pybeam
Version: 0.4.1
Version: 0.5
Release: 0
Summary: Python module to parse Erlang BEAM files
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
Source1: LICENSE
BuildRequires: %{python_module construct < 2.9}
BuildRequires: %{python_module construct >= 2.8}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module construct < 2.10}
BuildRequires: %{python_module construct >= 2.9}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-construct
Requires: python-construct < 2.10
Requires: python-construct >= 2.9
Requires: python-six >= 1.4.0
BuildArch: noarch
%python_subpackages
@ -43,13 +45,16 @@ chunks in pretty python format.
%prep
%setup -q -n pybeam-%{version}
cp %{SOURCE1} .
%build
%python_build
%install
%python_install
%fdupes %{buildroot}/%{_prefix}
%check
%python_exec setup.py test
%files %{python_files}
%license LICENSE