From a56bbe86a5918ba91722f5c46f83f2fb23343ffd9bb85a161f2998162e65260d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 14 Feb 2020 13:02:44 +0000 Subject: [PATCH] Accepting request 774338 from home:matwey:construct:2.10 Version 0.6 OBS-URL: https://build.opensuse.org/request/show/774338 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pybeam?expand=0&rev=32 --- make_sphinx_optional.patch | 6 +++--- pybeam-0.5.tar.gz | 3 --- pybeam-0.6.tar.gz | 3 +++ python-pybeam.changes | 5 +++++ python-pybeam.spec | 6 +++--- 5 files changed, 14 insertions(+), 9 deletions(-) delete mode 100644 pybeam-0.5.tar.gz create mode 100644 pybeam-0.6.tar.gz diff --git a/make_sphinx_optional.patch b/make_sphinx_optional.patch index f7dc3f6..ca847be 100644 --- a/make_sphinx_optional.patch +++ b/make_sphinx_optional.patch @@ -20,7 +20,7 @@ index 2057839..04a5917 100644 +from setuptools import find_packages, setup, Command name="pybeam" - version="0.5" + version="0.6" test_suite="test" +class BuildSphinx(Command): @@ -48,7 +48,7 @@ index 2057839..04a5917 100644 license='MIT', packages=find_packages(exclude=(test_suite,)), test_suite=test_suite, -- install_requires=['construct>=2.9,<2.10', 'six', 'sphinx'], +- install_requires=['construct>=2.9,<2.11', 'six', 'sphinx'], - command_options={ - 'build_sphinx': { - 'project': ('setup.py', name), @@ -57,7 +57,7 @@ index 2057839..04a5917 100644 - 'source_dir': ('setup.py', 'doc') - } - }, -+ install_requires=['construct>=2.9,<2.10', 'six'], ++ install_requires=['construct>=2.9,<2.11', 'six'], + cmdclass = {'build_sphinx': BuildSphinx}, zip_safe=False) -- diff --git a/pybeam-0.5.tar.gz b/pybeam-0.5.tar.gz deleted file mode 100644 index ba90785..0000000 --- a/pybeam-0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d622e94e5ca56d7345beccdb620b1f7a42600393ddc432a7772e4fbe654eff9 -size 11369 diff --git a/pybeam-0.6.tar.gz b/pybeam-0.6.tar.gz new file mode 100644 index 0000000..42de075 --- /dev/null +++ b/pybeam-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbbc2ca76308f5dd502938c029ad1bf6b968f177c262e4881c32d820640ead6a +size 11363 diff --git a/python-pybeam.changes b/python-pybeam.changes index 7b0fcb1..a9c9882 100644 --- a/python-pybeam.changes +++ b/python-pybeam.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 14 09:50:49 UTC 2020 - Matwey Kornilov + +- Version 0.6 + ------------------------------------------------------------------- Wed Feb 12 16:47:55 UTC 2020 - Tomáš Chvátal diff --git a/python-pybeam.spec b/python-pybeam.spec index 1840b1b..1a21e28 100644 --- a/python-pybeam.spec +++ b/python-pybeam.spec @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-pybeam%{?psuffix} -Version: 0.5 +Version: 0.6 Release: 0 Summary: Python module to parse Erlang BEAM files License: MIT @@ -37,10 +37,12 @@ Patch0: make_sphinx_optional.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-construct < 2.11 Requires: python-construct >= 2.9 Requires: python-six >= 1.4.0 BuildArch: noarch %if %{with test} +BuildRequires: %{python_module construct < 2.11} BuildRequires: %{python_module construct >= 2.9} BuildRequires: %{python_module six} %endif @@ -63,8 +65,6 @@ chunks in pretty python format. %prep %setup -q -n pybeam-%{version} %patch0 -p1 -# do not block the new python-construct -sed -i -e 's:,<2.10::' setup.py %build %if %{without test}