From f8fae017ef26c9115d02b952014809233400dc86b24a58d050b5cb570c8deb44 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 16 Sep 2022 18:25:11 +0000 Subject: [PATCH 1/2] - 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/package/show/devel:languages:python/python-idna?expand=0&rev=27 --- idna-3.3.tar.gz | 3 --- idna-3.4.tar.gz | 3 +++ python-idna.changes | 11 +++++++++++ python-idna.spec | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) delete mode 100644 idna-3.3.tar.gz create mode 100644 idna-3.4.tar.gz diff --git a/idna-3.3.tar.gz b/idna-3.3.tar.gz deleted file mode 100644 index 45e4a3b..0000000 --- a/idna-3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d643ff0a55b762d5cdb124b8eaa99c66322e2157b69160bc32796e824360e6d -size 286689 diff --git a/idna-3.4.tar.gz b/idna-3.4.tar.gz new file mode 100644 index 0000000..70cddf2 --- /dev/null +++ b/idna-3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4 +size 183077 diff --git a/python-idna.changes b/python-idna.changes index 313309d..5b6c264 100644 --- a/python-idna.changes +++ b/python-idna.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Sep 16 18:24:43 UTC 2022 - Dirk Müller + +- 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 diff --git a/python-idna.spec b/python-idna.spec index 4a3fa9e..8ea6a9f 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -19,7 +19,7 @@ %{?!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 From 81d9830448a9965f2fa01aa31eb592e964724da15f0def3f62952bca63dc42cc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 17 Sep 2022 07:15:16 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-idna?expand=0&rev=28 --- python-idna.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-idna.spec b/python-idna.spec index 8ea6a9f..0a70056 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -26,7 +26,10 @@ 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