From a0dd4da4cbd693d62156b9087140540420971a88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 12 Jul 2024 12:19:33 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-idna revision dc8488d5aea5bb92b41b1c68c36af1a9 --- .gitattributes | 23 ++++++++ idna-3.4.tar.gz | 3 + saltbundlepy-idna.changes | 113 ++++++++++++++++++++++++++++++++++++++ saltbundlepy-idna.spec | 75 +++++++++++++++++++++++++ 4 files changed, 214 insertions(+) create mode 100644 .gitattributes create mode 100644 idna-3.4.tar.gz create mode 100644 saltbundlepy-idna.changes create mode 100644 saltbundlepy-idna.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/idna-3.4.tar.gz b/idna-3.4.tar.gz new file mode 100644 index 0000000..0797d1a --- /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/saltbundlepy-idna.changes b/saltbundlepy-idna.changes new file mode 100644 index 0000000..c9afb56 --- /dev/null +++ b/saltbundlepy-idna.changes @@ -0,0 +1,113 @@ +------------------------------------------------------------------- +Fri Dec 15 11:51:43 UTC 2023 - Victor Zhestkov + +- 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 + +- Update to 3.3: + * Update to Unicode 14.0.0 + * Update to in-line type annotations + * Throw IDNAError exception correctly for some malformed input + * Advertise support for Python 3.10 + * Improve testing regime on Github + * Fix Russian typo in documentation + +- Update to 3.2: + * Add type hints (Thanks, Seth Michael Larson!) + * Remove support for Python 3.4 + +- Update to 3.1: + * Ensure license is included in package (Thanks, Julien Schueller) + * No longer mark wheel has universal (Thanks, Matthieu Darbois) + * Test on PowerPC using Travis CI + * Python 2 is no longer supported (the 2.x branch supports Python 2, + use "idna<3" in your requirements file if you need Python 2 support) + * Support for V2 UTS 46 test vectors. + +- Update to 2.10: + * Update to Unicode 13.0.0. + * Throws a more specific exception if "xn--" is provided as a label. + * This is expected to be the last version that supports Python 2. + +- Update to 2.9: + * Update to Unicode 12.1.0. + * Prohibit A-labels ending with a hyphen (Thanks, Julien Bernard!) + * Future-proofing: Test on Python 3.7 and 3.8, don't immediately + fail should Python 4 come along. +- Made BSD 3-clause license clearer + +- Update to 2.8 + * Update to Unicode 11.0.0. + * Provide more specific exceptions for some malformed labels. +- Add fdupes + +- Update to 2.7: + * Update to Unicode 10.0.0. + * No longer accepts dot-prefixed domains (e.g. ".example") as + valid. This is to be more conformant with the UTS 46 spec. Users + should strip dot prefixes from domains before processing. + +------------------------------------------------------------------- +Mon Apr 4 12:37:48 UTC 2022 - Victor Zhestkov + +- Strictly require Python 3.10 with saltbundlepy requrement + +------------------------------------------------------------------- +Thu Nov 9 18:53:55 UTC 2017 - arun@gmx.de + +- update to version 2.6: + * Allows generation of IDNA and UTS 46 table data for different + versions of Unicode, by deriving properties directly from Unicode + data. + * Ability to generate RFC 5892/IANA-style table data + * Diagnostic output of IDNA-related Unicode properties and derived + calculations for a given codepoint + * Support for idna.__version__ to report version + * Support for idna.idnadata.__version__ and + idna.uts46data.__version__ to report Unicode version of underlying + IDNA and UTS 46 data respectively. + +------------------------------------------------------------------- +Tue Mar 21 15:31:28 UTC 2017 - jmatejek@suse.com + +- point download url to PyPI +- drop %oname + +------------------------------------------------------------------- +Thu Mar 16 14:01:23 UTC 2017 - tbechtold@suse.com + +- update to version v2.5 + * only store scripts that are specifically referenced in logic + * Fix validation for U+30FB KATAKANA MIDDLE DOT code point (#47) + * range-based integer containment code + * Documentation Updates + * Make test runners Python 2.6 compatible (issue #20) + * remove DISALLOWED codepoints from datafile, since they're unread + * Avoid using bare 'except' (#39) + * Add Python 3.5 support + * Mark Python Wheels as universal (supports Python 2 and 3) + * Skip tests that won't work on Python 2.6 (fixes #20) + * Update Travis configuration to test against Python 2.6 and 3.6 + * Use relative imports (fixes #26) + * Documentation tidy up + * Revert to basing IDNAError on UnicodeError (issue #43) (#45) + * rebuild idnadata + * Update history with Java-related change + * ignore vim swapfiles + * Update Travis CI coverage to 3.6 and 3.7-dev + * Reduce memory usage even further. (#41) + * Update trove classifier for Python 3.6 + * Properly report label length exceptions (issue #36) + * Segment uts46data to avoid Jython limits (#28) +- Switch to singlespec approach + +------------------------------------------------------------------- +Fri Jul 17 13:39:56 UTC 2015 - nemysis@gmx.ch + +- Initial package creation + diff --git a/saltbundlepy-idna.spec b/saltbundlepy-idna.spec new file mode 100644 index 0000000..d94078d --- /dev/null +++ b/saltbundlepy-idna.spec @@ -0,0 +1,75 @@ +# +# spec file for package saltbundlepy-idna +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}} +%define pythons saltbundlepy + +# Disable python bytecompile for all distros +# It's called explicitly in the spec +%global __brp_python_bytecompile %{nil} + +Name: saltbundlepy-idna +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: %{saltbundlepy_module base >= 3.10} +BuildRequires: %{saltbundlepy_module flit-core} +BuildRequires: %{saltbundlepy_module pip} +BuildRequires: %{saltbundlepy_module setuptools} +BuildRequires: %{saltbundlepy_module wheel} +BuildRequires: fdupes +BuildRequires: saltbundlepy-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +Requires: saltbundlepy-base +%python_subpackages + +%description +A library to support the Internationalised Domain Names in +Applications (IDNA) protocol as specified in RFC 5891 +http://tools.ietf.org/html/rfc5891. This version of the protocol +is often referred to as “IDNA2008” and can produce different +results from the earlier standard from 2003. + +The library is also intended to act as a suitable drop-in replacement +for the “encodings.idna” module that comes with the Python standard +library but currently only supports the older 2003 specification. + +%prep +%setup -q -n idna-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest discover -v + +%files %{python_files} +%license LICENSE.md +%doc HISTORY.rst README.rst +%{python_sitelib}/* + +%changelog