Accepting request 1004262 from devel:languages:python

- update to 3.4:
  * Update to Unicode 15.0.0
  * Migrate to pyproject.toml for build information (PEP 621)
  * Correct another instance where generic exception was raised instead of
    IDNAError for malformed input
  * Source distribution uses zeroized file ownership for improved
    reproducibility

OBS-URL: https://build.opensuse.org/request/show/1004262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-idna?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2022-09-18 15:32:11 +00:00 committed by Git OBS Bridge
commit b75611366f
4 changed files with 20 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d
size 286689

BIN
idna-3.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Sep 16 18:24:43 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 3.4:
* Update to Unicode 15.0.0
* Migrate to pyproject.toml for build information (PEP 621)
* Correct another instance where generic exception was raised instead of
IDNAError for malformed input
* Source distribution uses zeroized file ownership for improved
reproducibility
-------------------------------------------------------------------
Thu Jun 30 19:18:55 UTC 2022 - Johannes Kastl <kastl@b1-systems.de>

View File

@ -19,14 +19,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python2 1
Name: python-idna
Version: 3.3
Version: 3.4
Release: 0
Summary: Internationalized Domain Names in Applications (IDNA)
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/kjd/idna
Source0: https://files.pythonhosted.org/packages/source/i/idna/idna-%{version}.tar.gz
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20220106.80d3756
BuildArch: noarch
@ -47,10 +50,10 @@ library but currently only supports the older 2003 specification.
%setup -q -n idna-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check