17
0

Compare commits

6 Commits

Author SHA256 Message Date
29eee96d36 Accepting request 1291264 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-confusable-homoglyphs?expand=0&rev=9
2025-07-09 15:27:16 +00:00
7c57967463 Accepting request 1291201 from home:mcalabkova:branches:devel:languages:python
fixing build

OBS-URL: https://build.opensuse.org/request/show/1291201
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confusable-homoglyphs?expand=0&rev=20
2025-07-08 12:39:46 +00:00
465725d88c - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confusable-homoglyphs?expand=0&rev=19
2025-07-07 09:33:17 +00:00
b9f4576d0d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confusable-homoglyphs?expand=0&rev=18 2025-07-07 09:24:02 +00:00
7690ffe696 Accepting request 1202066 from devel:languages:python
- Update URL to correct location.

OBS-URL: https://build.opensuse.org/request/show/1202066
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-confusable-homoglyphs?expand=0&rev=8
2024-09-20 15:11:46 +00:00
727fea6570 - Update URL to correct location.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-confusable-homoglyphs?expand=0&rev=16
2024-09-20 04:00:29 +00:00
2 changed files with 20 additions and 11 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jul 7 09:32:49 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Fri Sep 20 04:00:09 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update URL to correct location.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 13 13:47:18 UTC 2024 - Matej Cepl <mcepl@cepl.eu> Wed Mar 13 13:47:18 UTC 2024 - Matej Cepl <mcepl@cepl.eu>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-confusable-homoglyphs # spec file for package python-confusable-homoglyphs
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,24 @@
# #
%bcond_without libalternatives
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-confusable-homoglyphs Name: python-confusable-homoglyphs
Version: 3.3.1 Version: 3.3.1
Release: 0 Release: 0
Summary: Detector for confusable use of Unicode homoglyphs Summary: Detector for confusable use of Unicode homoglyphs
License: MIT License: MIT
Group: Development/Languages/Python URL: https://sr.ht/~valhalla/confusable_homoglyphs/
URL: https://github.com/vhf/confusable_homoglyphs
Source: https://files.pythonhosted.org/packages/source/c/confusable_homoglyphs/confusable_homoglyphs-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/c/confusable_homoglyphs/confusable_homoglyphs-%{version}.tar.gz
BuildRequires: %{python_module click} BuildRequires: %{python_module click}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: alts
Requires: python-click Requires: python-click
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@@ -55,19 +55,18 @@ CAPITAL LETTER A ('A') vs. U+0391 GREEK CAPITAL LETTER ALPHA, 'Α'.
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
# temporarily disable CLI tests, broken with (exactly) click 8.2.1 https://github.com/pallets/click/issues/2939
rm tests/test_cli.py
%pyunittest discover -v tests/ %pyunittest discover -v tests/
%post %pre
%python_install_alternative confusable_homoglyphs %python_libalternatives_reset_alternative confusable_homoglyphs
%postun
%python_uninstall_alternative confusable_homoglyphs
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/confusable_homoglyphs %{python_sitelib}/confusable_homoglyphs
%{python_sitelib}/confusable_homoglyphs-%{version}*-info %{python_sitelib}/confusable_homoglyphs-%{version}.dist-info
%python_alternative %{_bindir}/confusable_homoglyphs %python_alternative %{_bindir}/confusable_homoglyphs
%changelog %changelog