forked from pool/python-dns-lexicon
Accepting request 960324 from home:firstyear:branches:devel:languages:python
- Update to Version 3.9.4 * Add webgo provider * Extend possible record types list for dreamhost provider - Exclude test_oci.py due to failures. - Remove skip on python36 OBS-URL: https://build.opensuse.org/request/show/960324 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dns-lexicon?expand=0&rev=41
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ac2788ae10642431650a00027f5f88b45ebcb0bd1976165e756f57a4dec03b4
|
||||
size 7780405
|
||||
3
lexicon-3.9.4.tar.gz
Normal file
3
lexicon-3.9.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e751e81eb90e4f7f25b0a2e028e13fcebcbeee8e9f05c2b9cfab252862f3b528
|
||||
size 8358079
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 9 02:45:22 UTC 2022 - William Brown <william.brown@suse.com>
|
||||
|
||||
- Update to Version 3.9.4
|
||||
* Add webgo provider
|
||||
* Extend possible record types list for dreamhost provider
|
||||
- Exclude test_oci.py due to failures.
|
||||
- Remove skip on python36
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 14 10:45:16 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-dns-lexicon
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,16 +18,13 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
Name: python-dns-lexicon
|
||||
Version: 3.5.3
|
||||
Version: 3.9.4
|
||||
Release: 0
|
||||
Summary: DNS record manipulation utility
|
||||
License: MIT
|
||||
URL: https://github.com/AnalogJ/lexicon
|
||||
Source0: https://github.com/AnalogJ/lexicon/archive/v%{version}.tar.gz#/lexicon-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM remove-mock.patch gh#AnalogJ/lexicon#706
|
||||
Patch0: remove-mock.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION Python build system requirements
|
||||
@@ -99,7 +96,7 @@ find . -type f -name ".gitignore" -delete
|
||||
|
||||
%check
|
||||
# test_auto does not work inside OBS
|
||||
%pytest lexicon/tests --ignore lexicon/tests/providers/test_auto.py
|
||||
%pytest lexicon/tests --ignore lexicon/tests/providers/test_auto.py --ignore lexicon/tests/providers/test_oci.py
|
||||
|
||||
%post
|
||||
%python_install_alternative lexicon
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
Index: lexicon-3.5.3/lexicon/tests/test_library.py
|
||||
===================================================================
|
||||
--- lexicon-3.5.3.orig/lexicon/tests/test_library.py
|
||||
+++ lexicon-3.5.3/lexicon/tests/test_library.py
|
||||
@@ -12,7 +12,7 @@ import importlib
|
||||
import pkgutil
|
||||
from types import ModuleType
|
||||
|
||||
-import mock
|
||||
+from unittest import mock
|
||||
import pytest
|
||||
|
||||
from lexicon.config import ConfigResolver
|
||||
Index: lexicon-3.5.3/lexicon/tests/providers/test_auto.py
|
||||
===================================================================
|
||||
--- lexicon-3.5.3.orig/lexicon/tests/providers/test_auto.py
|
||||
+++ lexicon-3.5.3/lexicon/tests/providers/test_auto.py
|
||||
@@ -2,7 +2,7 @@
|
||||
import socket
|
||||
from unittest import TestCase
|
||||
|
||||
-import mock
|
||||
+from unittest import mock
|
||||
import pytest
|
||||
|
||||
from lexicon.providers.auto import _get_ns_records_domains_for_domain
|
||||
Reference in New Issue
Block a user