forked from pool/python-confusable-homoglyphs
Compare commits
6 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ddc7a06149 | |||
| dcf92aaef5 | |||
| 9db18b613e | |||
| 03030337b7 | |||
| 81507c119b | |||
| 63d8f7f36e |
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user