forked from pool/python-email-validator
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-email-validator?expand=0&rev=22
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 23 01:30:08 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jun 29 16:02:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Sat Jun 29 16:02:19 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-email-validator
|
# spec file for package python-email-validator
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -30,13 +30,14 @@ Patch0: ignore-urllib3-pyopenssl-warning.patch
|
|||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module dnspython >= 1.15.0}
|
BuildRequires: %{python_module dnspython >= 1.15.0}
|
||||||
BuildRequires: %{python_module idna >= 2.0.0}
|
BuildRequires: %{python_module idna >= 2.0.0}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest >= 5.0}
|
BuildRequires: %{python_module pytest >= 5.0}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-dnspython >= 1.15.0
|
Requires: python-dnspython >= 1.15.0
|
||||||
Requires: python-idna >= 2.0.0
|
Requires: python-idna >= 2.0.0
|
||||||
Requires: python-setuptools
|
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
Provides: python-email_validator = %{version}-%{release}
|
Provides: python-email_validator = %{version}-%{release}
|
||||||
@@ -63,10 +64,10 @@ Key features:
|
|||||||
%autosetup -p1 -n python-email-validator-%{version}
|
%autosetup -p1 -n python-email-validator-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/email_validator
|
%python_clone -a %{buildroot}%{_bindir}/email_validator
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@@ -88,6 +89,6 @@ donttest="test_caching_dns_resolver"
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%python_alternative %{_bindir}/email_validator
|
%python_alternative %{_bindir}/email_validator
|
||||||
%{python_sitelib}/email_validator
|
%{python_sitelib}/email_validator
|
||||||
%{python_sitelib}/email_validator-%{version}*-info
|
%{python_sitelib}/email_validator-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user