forked from pool/python-pmw
fix Leap 16 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pmw?expand=0&rev=25
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
Pmw-2.1.1.tar.gz
Normal file
3
Pmw-2.1.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:948412457cfccf0c775dd08e0913fb00f90896a33c79737d571c7312aeaf55c6
|
||||
size 1077119
|
||||
77
python-pmw.changes
Normal file
77
python-pmw.changes
Normal file
@@ -0,0 +1,77 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 29 09:57:13 UTC 2025 - Max Lin <mlin@suse.com>
|
||||
|
||||
- Fix Leap 16 build with the different filename naming
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 14:49:00 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Clean up the SPEC file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 13:36:18 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
|
||||
|
||||
- drop python2 remnants, add sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 9 21:26:14 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 2.1.1:
|
||||
* merge some bugfixes and mods for Python 3 support
|
||||
- drop py36.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 7 11:47:08 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Make sure to run %fdupes correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 21:32:37 UTC 2017 - dhall@wustl.edu
|
||||
|
||||
- obsolete python-pmw
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 7 20:06:55 UTC 2017 - dhall@wustl.edu
|
||||
|
||||
- Add py36.patch: Fix for python3.6
|
||||
* https://sourceforge.net/p/pmw/patches/7/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 6 23:47:52 UTC 2017 - dhall@wustl.edu
|
||||
|
||||
- update to Pmw 2.0.1
|
||||
- add python3 compatibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 21:01:05 UTC 2014 - dhall@wustl.edu
|
||||
|
||||
- update to Pmw 1.3.3b
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 15 02:49:50 UTC 2012 - dhall@wustl.edu
|
||||
|
||||
- update to Pmw 1.3.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 25 02:24:02 UTC 2012 - dhall@wustl.edu
|
||||
|
||||
- require python-tk
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 16 09:51:31 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Spec file cleanup:
|
||||
* Package documentation
|
||||
* Version-checks around SUSE-specific macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 10 19:00:49 UTC 2011 - dhall@wustl.edu
|
||||
|
||||
- add executable bits
|
||||
- patch out test backup file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 10 18:41:49 UTC 2011 - dhall@wustl.edu
|
||||
|
||||
-Pmw import
|
||||
|
||||
59
python-pmw.spec
Normal file
59
python-pmw.spec
Normal file
@@ -0,0 +1,59 @@
|
||||
#
|
||||
# spec file for package python-pmw
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pmw
|
||||
Version: 2.1.1
|
||||
Release: 0
|
||||
Summary: High-level compound widgets in Python using the Tkinter module
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://pmw.sourceforge.net/
|
||||
Source: https://files.pythonhosted.org/packages/source/P/Pmw/Pmw-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-tk
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A toolkit for building high-level compound widgets in Python using the Tkinter
|
||||
module. It contains a set of flexible and extensible megawidgets, including
|
||||
notebooks, comboboxes, selection widgets, paned widgets, scrolled widgets and
|
||||
dialog windows.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n Pmw-%{version}
|
||||
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_1_1/{demos/All,bin/bundlepmw,tests/All,tests/ManualTests}.py # Fix non-executable scripts
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/[pP]mw
|
||||
%{python_sitelib}/[pP]mw-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user