forked from pool/python-python-whois
Accepting request 1236863 from home:glaubitz:branches:devel:languages:python
- Update to 0.9.5 * Add studio host * Case-insensitively avoid duplicate attribute values * Updated test expected values * Add registrar_url for base entry * Update expected samples * This addresses #223 while trying to be backwards compatible with the old format just in case ... * Enhancements for .jp domains * Fix exception * Fix datetime.UTC, which doesn't work on all versions of Py3 * Update WhoisSg to address #222 * Adding a quick timeout option to whois.whois() * Handle "before YYYY" entries to fix #228 * Standardize test assertions for sample files * Create test case sample for .sg domain * Update WhoisSG parser to grab status, updated_date, dnssec and ns * Add .live domain server config and sample * Move socket creation to external func, to reuse it in findwhois_iana with proxy * Add parsing for .lv domains * Added the "Reseller" field to the parser. * tr domains not support idna encoded decoded whois requests * Set request for tr domains without idna * Quick fix for tr domain * Add convert_punycode flag * Remove .DS_Store * Quick-fix * Fix tests * Update parser.py with created for .de - from version 0.9.4 OBS-URL: https://build.opensuse.org/request/show/1236863 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-whois?expand=0&rev=18
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-python-whois
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,12 +17,12 @@
|
||||
|
||||
|
||||
Name: python-python-whois
|
||||
Version: 0.9.3
|
||||
Version: 0.9.5
|
||||
Release: 0
|
||||
Summary: Whois querying and parsing of domain registration information
|
||||
License: MIT
|
||||
URL: https://github.com/richardpenman/whois
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-whois/python-whois-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python_whois/python_whois-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module python-dateutil}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@@ -43,7 +43,7 @@ Able to extract data for all the popular TLDs (com, org, net, ...)
|
||||
Query a WHOIS server directly instead of going through an intermediate web service like many others do.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n python-whois-%{version}
|
||||
%autosetup -p1 -n python_whois-%{version}
|
||||
# requires internet connection:
|
||||
rm test/test_query.py
|
||||
|
||||
@@ -61,7 +61,7 @@ rm test/test_query.py
|
||||
%pytest -k 'not (test_ipv4 or test_ipv6 or test_il_parse or test_choose_server)'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc README.md
|
||||
%{python_sitelib}/whois
|
||||
%{python_sitelib}/python_whois-%{version}.dist-info
|
||||
|
||||
|
Reference in New Issue
Block a user