commit 2ec077b573099aa23cc6f1749b93c0dc0c18e108962074812f6157253ffaeac6 Author: Nico Krapp Date: Fri Jan 10 14:04:16 2025 +0000 - 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/package/show/devel:languages:python/python-python-whois?expand=0&rev=18 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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-python-whois.changes b/python-python-whois.changes new file mode 100644 index 0000000..1fa04f7 --- /dev/null +++ b/python-python-whois.changes @@ -0,0 +1,106 @@ +------------------------------------------------------------------- +Fri Jan 10 13:02:36 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + * Complete the regex for parsing the WHOIS response results for .jp domains. + * Bump ci actions + * Fix regex for parsing .pl nameservers + * Update and rename README.rst to README.md + * Update README.md + * Added support for markdown in setup and bumped version + * Fixed .ru used correct nic server +- Adjust upstream source name in spec file +- Rename README.rst to README.md in %files section + +------------------------------------------------------------------- +Sun Apr 21 08:12:51 UTC 2024 - Dirk Müller + +- update to 0.9.3: + * dateutil is required dependency + * remove futures reference + * remove support for python 2 + * adding default TZ as UTC if none specified + * fix parsing whois response for jp domains +- drop remove-future-requirement.patch (upstream) + +------------------------------------------------------------------- +Tue Sep 12 05:33:31 UTC 2023 - Steve Kowalik + +- Add patch remove-future-requirement.patch, remove future requirement +- Switch to autosetup and pyproject macros +- Stop using greedy globs in %files + +------------------------------------------------------------------- +Tue Aug 9 07:14:05 UTC 2022 - Sebastian Wagner + +- Update to 0.8.0: + - no changelog available +- disable failing Python2 build. + +------------------------------------------------------------------- +Tue Sep 10 11:00:32 UTC 2019 - Tomáš Chvátal + +- Update to 0.7.2: + * no changelog available + +------------------------------------------------------------------- +Fri May 3 18:03:51 UTC 2019 - Sebastian Wagner + +- update to version 0.7.1: + * no changelog available + +------------------------------------------------------------------- +Tue Dec 4 12:53:12 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Sun Apr 29 17:34:24 UTC 2018 - sebix+novell.com@sebix.at + +- update to version 0.7.0: + * support for .lu, cz + * fix for .eu + +------------------------------------------------------------------- +Wed Mar 21 19:34:15 UTC 2018 - sebix+novell.com@sebix.at + +- update typo version 0.6.9: + * fix .me +- update typo version 0.6.8: + * support for .cat, .ie, .space, .nz + * dealing with multiple dates improved + * fixes for Python 3 + +------------------------------------------------------------------- +Thu Dec 7 13:52:18 UTC 2017 - sebix+novell.com@sebix.at + +- initial package for version 0.6.7 diff --git a/python-python-whois.spec b/python-python-whois.spec new file mode 100644 index 0000000..8f7e6e1 --- /dev/null +++ b/python-python-whois.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-python-whois +# +# 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 +# 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/ +# + + +Name: python-python-whois +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 +BuildRequires: %{python_module pip} +BuildRequires: %{python_module python-dateutil} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module simplejson} +# /SECTION +BuildRequires: fdupes +Requires: python-python-dateutil +BuildArch: noarch +%python_subpackages + +%description +A simple importable Python module which will produce parsed WHOIS data for a given domain. +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} +# requires internet connection: +rm test/test_query.py + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# test_ipv4 test_ipv6 - online check +# test_il_parse - online check +# test_choose_server - online check +%pytest -k 'not (test_ipv4 or test_ipv6 or test_il_parse or test_choose_server)' + +%files %{python_files} +%doc README.md +%{python_sitelib}/whois +%{python_sitelib}/python_whois-%{version}.dist-info + +%changelog diff --git a/python-whois-0.9.3.tar.gz b/python-whois-0.9.3.tar.gz new file mode 100644 index 0000000..644d909 --- /dev/null +++ b/python-whois-0.9.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8dda2c70c0f89f0f8fc48a42370789332bfff679b5fa462048884151d26ca3ce +size 110577 diff --git a/python_whois-0.9.5.tar.gz b/python_whois-0.9.5.tar.gz new file mode 100644 index 0000000..d3878c3 --- /dev/null +++ b/python_whois-0.9.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18968c21484752fcc4b9a5f0af477ef6b8dc2e8bb7f1bd5c33831499c0dd41ca +size 111201