From 54e2de3281713320b2d4c7fb90596c3752e60bb688e6741467ee7f1592c9fca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 1 Jan 2019 15:13:38 +0000 Subject: [PATCH] Accepting request 661730 from home:matwey:construct:2.9 - Version 0.5 - ported to construct 2.9.x OBS-URL: https://build.opensuse.org/request/show/661730 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybeam?expand=0&rev=24 --- LICENSE | 22 ---------------------- pybeam-0.4.1.tar.gz | 3 --- pybeam-0.5.tar.gz | 3 +++ python-pybeam.changes | 6 ++++++ python-pybeam.spec | 19 ++++++++++++------- 5 files changed, 21 insertions(+), 32 deletions(-) delete mode 100644 LICENSE delete mode 100644 pybeam-0.4.1.tar.gz create mode 100644 pybeam-0.5.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 16abb06..0000000 --- a/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2013 Matwey V. Kornilov - -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. - diff --git a/pybeam-0.4.1.tar.gz b/pybeam-0.4.1.tar.gz deleted file mode 100644 index 9e335bc..0000000 --- a/pybeam-0.4.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f34e336f8a8f5d09553e15c55d9843754ed83f5382823dfb6844a13f12e41e2 -size 5282 diff --git a/pybeam-0.5.tar.gz b/pybeam-0.5.tar.gz new file mode 100644 index 0000000..ba90785 --- /dev/null +++ b/pybeam-0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d622e94e5ca56d7345beccdb620b1f7a42600393ddc432a7772e4fbe654eff9 +size 11369 diff --git a/python-pybeam.changes b/python-pybeam.changes index acc7d41..82c5e2a 100644 --- a/python-pybeam.changes +++ b/python-pybeam.changes @@ -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 diff --git a/python-pybeam.spec b/python-pybeam.spec index a92564e..662e39f 100644 --- a/python-pybeam.spec +++ b/python-pybeam.spec @@ -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