commit 4317990d3d53e6383006cd0f9d7d70e7a4bcd68501c2dbc86eb5d3842e7bb355 Author: Steve Kowalik Date: Wed Jun 4 06:18:58 2025 +0000 - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tkreadonly?expand=0&rev=5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-tkreadonly.changes b/python-tkreadonly.changes new file mode 100644 index 0000000..5542e1b --- /dev/null +++ b/python-tkreadonly.changes @@ -0,0 +1,16 @@ +------------------------------------------------------------------- +Wed Jun 4 06:12:29 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + +------------------------------------------------------------------- +Wed Jan 13 14:35:09 UTC 2021 - pgajdos@suse.com + +- run spec cleaner +- use %pytest macro + +------------------------------------------------------------------- +Sun Apr 14 09:56:25 AM UTC 2019 - John Vandenberg + +- Initial spec for v0.6.1 diff --git a/python-tkreadonly.spec b/python-tkreadonly.spec new file mode 100644 index 0000000..cfb730e --- /dev/null +++ b/python-tkreadonly.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-tkreadonly +# +# 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/ +# + + +Name: python-tkreadonly +Version: 0.6.1 +Release: 0 +Summary: A set of Tkinter widgets to display readonly text and code +License: BSD-3-Clause +URL: http://github.org/pybee/tkreadonly +Source: https://files.pythonhosted.org/packages/source/t/tkreadonly/tkreadonly-%{version}.tar.gz +BuildRequires: %{python_module idle} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module tk} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-Pygments >= 1.5 +Requires: python-idle +Requires: python-tk +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Pygments >= 1.5} +BuildRequires: %{python_module pytest} +# /SECTION +%python_subpackages + +%description +A set of Tkinter widgets to display readonly text and code. + +%prep +%setup -q -n tkreadonly-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest tests.py + +%files %{python_files} +%doc README.rst +%license LICENSE +%{python_sitelib}/tkreadonly.py +%pycache_only %{python_sitelib}/__pycache__/tkreadonly.*.pyc +%{python_sitelib}/tkreadonly-%{version}.dist-info + +%changelog diff --git a/tkreadonly-0.6.1.tar.gz b/tkreadonly-0.6.1.tar.gz new file mode 100644 index 0000000..297049b --- /dev/null +++ b/tkreadonly-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c952a4e4c8ebea2d44573b5ec3319222d0464fdb203a6495874a4d2fa22ab669 +size 8030