Accepting request 819687 from home:buschmann23:branches:devel:languages:python

Sorry, the last SR had an error. I forgot to apply the patch and than noticed that the patch was not applicable. This fixes it.

- fix python-aiodns-2.0.0-fix-typing-dependency.patch and really
  apply it

OBS-URL: https://build.opensuse.org/request/show/819687
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal 2020-07-09 08:02:49 +00:00 committed by Git OBS Bridge
parent 61f322bf18
commit 8b1245ca5f
3 changed files with 12 additions and 7 deletions

View File

@ -5,17 +5,15 @@ Subject: [PATCH] setup: typing exists since Python 3.5
Fix #71. Fix #71.
--- ---
setup.py | 2 +- setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py --- a/setup.py 2019-03-02 13:01:34.000000000 +0100
index 415a2af..bcf54ce 100644 +++ b/setup.py 2020-07-09 09:44:16.606974490 +0200
--- a/setup.py @@ -18,7 +18,7 @@
+++ b/setup.py url = "http://github.com/saghul/aiodns",
@@ -19,7 +19,7 @@ def get_version():
description = "Simple DNS resolver for asyncio", description = "Simple DNS resolver for asyncio",
long_description = codecs.open("README.rst", encoding="utf-8").read(), long_description = codecs.open("README.rst", encoding="utf-8").read(),
long_description_content_type = "text/x-rst",
- install_requires = ['pycares>=3.0.0', 'typing; python_version<"3.7"'], - install_requires = ['pycares>=3.0.0', 'typing; python_version<"3.7"'],
+ install_requires = ['pycares>=3.0.0', 'typing; python_version<"3.5"'], + install_requires = ['pycares>=3.0.0', 'typing; python_version<"3.5"'],
packages = ['aiodns'], packages = ['aiodns'],

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 9 07:47:23 UTC 2020 - Matthias Fehring <buschmann23@opensuse.org>
- fix python-aiodns-2.0.0-fix-typing-dependency.patch and really
apply it
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jul 9 05:55:21 UTC 2020 - Matthias Fehring <buschmann23@opensuse.org> Thu Jul 9 05:55:21 UTC 2020 - Matthias Fehring <buschmann23@opensuse.org>

View File

@ -48,6 +48,7 @@ Simple DNS resolver for asyncio module.
%prep %prep
%setup -q -n aiodns-aiodns-%{version} %setup -q -n aiodns-aiodns-%{version}
%patch0 -p1
%build %build
%python_build %python_build