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:
@@ -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)
|
||||
--
|
||||
|
@@ -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
3
pybeam-0.6.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbbc2ca76308f5dd502938c029ad1bf6b968f177c262e4881c32d820640ead6a
|
||||
size 11363
|
@@ -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>
|
||||
|
||||
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user