15
0
forked from pool/python-pmw
David Hall
2017-05-07 20:07:34 +00:00
committed by Git OBS Bridge
parent 6924b132f7
commit aafa0e72d0
3 changed files with 68 additions and 0 deletions

View File

@@ -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