14
0
forked from pool/python-pybeam

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
This commit is contained in:
2020-02-14 13:02:44 +00:00
committed by Git OBS Bridge
parent 1fa04d96e9
commit a56bbe86a5
5 changed files with 14 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ index 2057839..04a5917 100644
+from setuptools import find_packages, setup, Command +from setuptools import find_packages, setup, Command
name="pybeam" name="pybeam"
version="0.5" version="0.6"
test_suite="test" test_suite="test"
+class BuildSphinx(Command): +class BuildSphinx(Command):
@@ -48,7 +48,7 @@ index 2057839..04a5917 100644
license='MIT', license='MIT',
packages=find_packages(exclude=(test_suite,)), packages=find_packages(exclude=(test_suite,)),
test_suite=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={ - command_options={
- 'build_sphinx': { - 'build_sphinx': {
- 'project': ('setup.py', name), - 'project': ('setup.py', name),
@@ -57,7 +57,7 @@ index 2057839..04a5917 100644
- 'source_dir': ('setup.py', 'doc') - '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}, + cmdclass = {'build_sphinx': BuildSphinx},
zip_safe=False) zip_safe=False)
-- --

View File

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

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

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

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 14 09:50:49 UTC 2020 - Matwey Kornilov <matwey.kornilov@gmail.com>
- Version 0.6
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 12 16:47:55 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> Wed Feb 12 16:47:55 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -26,7 +26,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-pybeam%{?psuffix} Name: python-pybeam%{?psuffix}
Version: 0.5 Version: 0.6
Release: 0 Release: 0
Summary: Python module to parse Erlang BEAM files Summary: Python module to parse Erlang BEAM files
License: MIT License: MIT
@@ -37,10 +37,12 @@ Patch0: make_sphinx_optional.patch
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-construct < 2.11
Requires: python-construct >= 2.9 Requires: python-construct >= 2.9
Requires: python-six >= 1.4.0 Requires: python-six >= 1.4.0
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module construct < 2.11}
BuildRequires: %{python_module construct >= 2.9} BuildRequires: %{python_module construct >= 2.9}
BuildRequires: %{python_module six} BuildRequires: %{python_module six}
%endif %endif
@@ -63,8 +65,6 @@ chunks in pretty python format.
%prep %prep
%setup -q -n pybeam-%{version} %setup -q -n pybeam-%{version}
%patch0 -p1 %patch0 -p1
# do not block the new python-construct
sed -i -e 's:,<2.10::' setup.py
%build %build
%if %{without test} %if %{without test}