Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-idna revision dc8488d5aea5bb92b41b1c68c36af1a9

This commit is contained in:
Adrian Schröter 2024-07-12 12:19:33 +02:00
commit a0dd4da4cb
4 changed files with 214 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

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

Binary file not shown.

113
saltbundlepy-idna.changes Normal file
View File

@ -0,0 +1,113 @@
-------------------------------------------------------------------
Fri Dec 15 11:51:43 UTC 2023 - Victor Zhestkov <vzhestkov@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
- 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 <victor.zhestkov@suse.com>
- 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

75
saltbundlepy-idna.spec Normal file
View File

@ -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