Accepting request 680482 from devel:languages:python

- update to 1.2.0
- Fix dependencies
 * Add support for Python 3.7
 * Fix CNAME test
 * Add examples with `async` and `await`
 * Fix Python version check
 * Add gethostbyaddr

OBS-URL: https://build.opensuse.org/request/show/680482
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiodns?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-03-05 11:19:32 +00:00 committed by Git OBS Bridge
commit 5b9e32c89e
4 changed files with 24 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a91cd89880a163005da698da5f1779ebe0ba752a927d4244c0dd99c34320fb7d
size 5711

3
aiodns-1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10fbdd52ba0e5523e12fb863f892fc8ea7c6da2fa42f12c748e3b704464c6824
size 6173

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Mar 1 09:30:55 UTC 2019 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 1.2.0
- Fix dependencies
* Add support for Python 3.7
* Fix CNAME test
* Add examples with `async` and `await`
* Fix Python version check
* Add gethostbyaddr
-------------------------------------------------------------------
Fri May 11 21:52:30 UTC 2018 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-aiodns
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -21,7 +21,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-aiodns
Version: 1.1.1
Version: 1.2.0
Release: 0
Summary: Simple DNS resolver for asyncio
License: MIT
@ -29,11 +29,16 @@ Group: Development/Libraries/Python
Url: https://github.com/saghul/aiodns/releases
Source0: https://github.com/saghul/aiodns/archive/aiodns-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
Requires: python-pycares >= 3.0.0
%ifpython2
Requires: python-typing
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with tests}
BuildRequires: python-pycares
BuildRequires: python-trollius
BuildRequires: %{python_module pycares}
BuildRequires: %{python_module trollius}
BuildRequires: python-typing
%endif
BuildArch: noarch