From 8b9751909fae9935417ca3221801289aa391b400a82e706c3ee92c5770c2e887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 6 Sep 2024 15:29:37 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-aiohappyeyeballs revision 0f0f9d0034372b60cf087260964a5c42 --- .gitattributes | 23 ++++++++++++ aiohappyeyeballs-2.3.7.tar.gz | 3 ++ python-aiohappyeyeballs.changes | 9 +++++ python-aiohappyeyeballs.spec | 65 +++++++++++++++++++++++++++++++++ 4 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 aiohappyeyeballs-2.3.7.tar.gz create mode 100644 python-aiohappyeyeballs.changes create mode 100644 python-aiohappyeyeballs.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/aiohappyeyeballs-2.3.7.tar.gz b/aiohappyeyeballs-2.3.7.tar.gz new file mode 100644 index 0000000..47aee0a --- /dev/null +++ b/aiohappyeyeballs-2.3.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e794cd29ba6a14078092984e43688212a19081de3a73b6796c2fdeb3706dd6ce +size 16788 diff --git a/python-aiohappyeyeballs.changes b/python-aiohappyeyeballs.changes new file mode 100644 index 0000000..6b0a2d6 --- /dev/null +++ b/python-aiohappyeyeballs.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sat Aug 31 00:49:09 UTC 2024 - Guang Yee + +- Enable sle15_python_module_pythons. + +------------------------------------------------------------------- +Mon Aug 19 06:05:58 UTC 2024 - Steve Kowalik + +- Initial release of 2.3.7. diff --git a/python-aiohappyeyeballs.spec b/python-aiohappyeyeballs.spec new file mode 100644 index 0000000..924ed40 --- /dev/null +++ b/python-aiohappyeyeballs.spec @@ -0,0 +1,65 @@ +# +# spec file for package python-aiohappyeyeballs +# +# Copyright (c) 2024 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-aiohappyeyeballs +Version: 2.3.7 +Release: 0 +Summary: Happy Eyeballs for asyncio +License: Python-2.0 +URL: https://github.com/aio-libs/aiohappyeyeballs +Source: https://files.pythonhosted.org/packages/source/a/aiohappyeyeballs/aiohappyeyeballs-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module poetry-core >= 1.0.0} +BuildRequires: %{python_module pytest-asyncio} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +This library exists to allow connecting with Happy Eyeballs (RFC 8305) when +you already have a list of addrinfo and not a DNS name. + +The stdlib version of `loop.create_connection()` +will only work when you pass in an unresolved name which +is not a good fit when using DNS caching or resolving +names via another method such was `zeroconf`. + +%prep +%autosetup -p1 -n aiohappyeyeballs-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/aiohappyeyeballs +%{python_sitelib}/aiohappyeyeballs-%{version}.dist-info + +%changelog