forked from pool/python-pmw
- add patch for python3.6
* https://sourceforge.net/p/pmw/patches/7/ OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pmw?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
6924b132f7
commit
aafa0e72d0
@@ -25,6 +25,8 @@ Url: http://pmw.sourceforge.net/
|
||||
Summary: High-level compound widgets in Python using the Tkinter module
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
# py36.patch Patch to work with python 3.6 https://sourceforge.net/p/pmw/patches/7/
|
||||
Patch: py36.patch
|
||||
Source: https://pypi.python.org/packages/e7/20/8d0c4ba96a5fe62e1bcf2b8a212ccfecd67ad951e8f3e89cf147d63952aa/Pmw-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: %{python_module base}
|
||||
@@ -43,6 +45,7 @@ dialog windows.
|
||||
|
||||
%prep
|
||||
%setup -q -n Pmw-%{version}
|
||||
%patch
|
||||
sed -i '1d' Pmw/Pmw_1_3_3/{demos/All,bin/bundlepmw,tests/All,tests/ManualTests}.py # Fix non-executable scripts
|
||||
sed -i '1d' Pmw/Pmw_2_0_1/{demos/All,bin/bundlepmw,tests/All,tests/ManualTests}.py # Fix non-executable scripts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user