14
0
forked from pool/python-tld

25 Commits

Author SHA256 Message Date
cb82de79db - Update to 0.13.0:
* Drop Python 2.7, 3.5 and 3.6 support. Minimum required version now is
    Python 3.7.
- Switch to autosetup and pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=44
2024-03-05 01:58:19 +00:00
a5741777a8 Accepting request 1029559 from home:pgajdos:python
- python-six is not required

OBS-URL: https://build.opensuse.org/request/show/1029559
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=42
2022-10-18 12:11:24 +00:00
Sebastian Wagner
8295a77aa5 - update to version 0.12.6:
- Move Registry class from tld.registry to tld.base.
 - Reformat code using black.
 - Log information on updated resources of the update_tld_names.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=41
2021-06-21 06:20:22 +00:00
Sebastian Wagner
8e92254001 - Update to version 0.12.5:
Release dedicated to defenders of Armenia and Artsakh (Nagorno Karabakh)
      and all the victims of Turkish and Azerbaijani aggression.
  - Fixed lower-cased `parsed_url` attributes (`SplitResult`) when getting
    tld as object (`as_object=True`).
- Update to version 0.12.4:
  - Tested against Python 3.9.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=39
2021-05-19 07:42:21 +00:00
Sebastian Wagner
7396558820 - Update to version 0.12.3
- Separate parsers for (a) public and private and (b) public only domains. This
    fixes a bug. If you want an old behaviour:
    The following code would raise exception in past.
    .. code-block:: python
      from tld import get_tld
      get_tld(
          'http://silly.cc.ua',
          search_private=False
      )
    Now it would return `ua`.
    .. code-block:: python
      get_tld(
          'http://silly.cc.ua',
          search_private=False
      )
    If you want old behavior, do as follows:
    .. code-block:: python
      from tld.utils import MozillaTLDSourceParser
      get_tld(
          'http://silly.cc.ua',
          search_private=False,
          parser_class=MozillaTLDSourceParser
      )
    Same goes for ``get_fld``, ``process_url``, ``parse_tld`` and ``is_tld``
    functions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=37
2020-12-20 16:18:03 +00:00
Sebastian Wagner
317286f987 - Update to version 0.12.2:
- Add mozilla license to dist.
  - Fix MyPy issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=35
2020-05-21 11:38:28 +00:00
Tomáš Chvátal
738e375000 Accepting request 806912 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/806912
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=33
2020-05-18 13:02:02 +00:00
Sebastian Wagner
836c036437 - update to version 2.4.125:
- New
   - Extended option on get event. [Raphaël Vinot]
     Related to #567
 - Changes
   - Bump objects, deps. [Raphaël Vinot]
   - Bump dependencies. [Raphaël Vinot]
   - Remove old suricata script, keep reference to old code. [Raphaël
     Vinot]
 - Fix
   - Enable autoalert on admin user. [Raphaël Vinot]
   - [abstract] Forces file to be read with utf8 encoding. [mokaddem]
   - Properly handle timezone in tests. [Raphaël Vinot]
 - Other
   - Update up.py. [Raphaël Vinot]
     Fix #563
   - Fixed __query_virustotal return type. [DocArmoryTech]
     __query_virustotal returned a Response object and not the json expected; modified so that report_json is returned instead of report.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=31
2020-05-03 13:20:51 +00:00
Sebastian Wagner
850cafbe5d - update to version 0.12:
- Use Public Suffix list instead of deprecated Mozilla's MXR.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=29
2020-04-22 19:06:53 +00:00
Tomáš Chvátal
1bf604dc17 Accepting request 788501 from home:pgajdos:python
- version update to 0.11.11
  * - Minor speed-ups, reduce memory usage.

OBS-URL: https://build.opensuse.org/request/show/788501
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=27
2020-03-26 11:20:06 +00:00
Sebastian Wagner
82f47df528 - update to version 0.11.10:
- Python 2.7 and 3.5 fixes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=25
2020-02-06 21:20:59 +00:00
Tomáš Chvátal
46d97d5e42 - Do not use setup.py test but call pytest directly
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=23
2020-01-02 10:14:57 +00:00
Sebastian Wagner
36209017e0 - update to version 0.11.9:
- Adding test TLDs list to the package.
- switch back to pypi file.

- Switch to github tarball because of missing test files.

- update to version 0.11.8:
 - Minor fixes in setup.py.
- update to version 0.11.7
 - There have been no code changes since 0.11.2. The only change is that
   support for Python 2.7 and 3.5 has been added.
 - Added support for Python 2.7.
- update to version 0.11.6:
 - Targeted releases for all supported Python versions.
- update to version 0.11.5:
 - Targeted releases for all supported Python versions.
- update to version 0.11.4:
 - Changed order of the releases (Python 3.6 and up come first, then Python 3.5).
 - Make all distributions except Python 3.5 universal.
- update to version 0.11.3:
 - Added missing resources to the Python 3.5 release.
- update to version 0.11.2:
 - Bring back Python 3.5 support.
- update to version 0.11.1:
 - Minor speed ups.
 - More on adding typing.
- update to version 0.11:
 - Since introduction of parser classes, usage of
   ``NAMES_SOURCE_URL`` and ``NAMES_LOCAL_PATH`` of the ``tld.conf``
   module is deprecated. Also, ``tld_names_local_path``

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=21
2019-12-24 10:27:37 +00:00
Sebastian Wagner
96d1b1bf2b - update to version 0.9.8:
- Fix for occasional issue when some domains are not correctly recognised.
- update to version 0.9.7:
 - Handling urls that are only a TLD.
 - Accepts already splitted URLs.
 - Tested against Python 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=19
2019-11-26 14:05:08 +00:00
Tomáš Chvátal
847c173db2 - Update to 0.9.6:
* Fix for update-tld-names returns a non-zero exit code on success
  * Minor tests improvements.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=17
2019-09-16 13:22:48 +00:00
Sebastian Wagner
ef1ed8e356 - update to version 0.9.5:
- Tests improvements.
- update to version 0.9.4:
  - Optimisations in setup.py, tests and console scripts.
  - Skip testing the update-tld-names functionality if no internet is available.
- add skip_internet_tests.patch
- remove remove-download-test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=16
2019-09-14 20:24:33 +00:00
Sebastian Wagner
fc3156eb91 - update to version 0.9.3:
- Added `is_tld` function.
 - Docs updated.
 - Upgrade test suite.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=14
2019-04-07 11:35:20 +00:00
Tomáš Chvátal
d2980ecfc4 Accepting request 668199 from home:jengelh:branches:devel:languages:python
- Use noun phrase.

OBS-URL: https://build.opensuse.org/request/show/668199
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=12
2019-01-24 07:17:16 +00:00
Sebastian Wagner
d757ac1a72 - Update to version 0.9.2:
* Fix an issue causing certain punycode TLDs to be deemed invalid.
 * Tested against Python 3.7.
 * Added tests for commands.
 * Dropped Python 2.6 support.
 * TLD source updated to the latest version.
- Update and extend remove-download-test.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=11
2019-01-15 20:52:43 +00:00
c1745d5c8b Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=9
2018-12-04 14:10:10 +00:00
Sebastian Wagner
892cde046a - remove fix-setup-test.patch, merged upstream
- update to version 0.9.1:
  * Correctly handling nested TLDs.
- update to version 0.9:
 * This release contains backward incompatible changes. You should update your code.
 * The active_only option has been removed from get_tld, get_fld and parse_url functions. Update your code accordingly.
 * Removed active_only option from get_tld, get_fld and parse_url functions.
 * Correctly handling exceptions (!) in the original TLD list.
 * Fixes in documentation.
 * Added parse_tld function.
 * Fixes the python setup.py test command.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=7
2018-07-09 20:33:11 +00:00
Sebastian Wagner
eee0e82ae7 - add remove-download-test.patch to remove download test requiring internet
- update to version 0.8:
 - This release contains backward incompatible changes. You should update
   your code.
   Old `get_tld` functionality remain is moved to `get_fld` (first-level
   domain definition). The `as_object` argument (False by default) has been
   deprecated for `get_fld`.
   Have a look at the packages' documentation and changelog for details and examples.
 - Move to a Trie to match TLDs. This brings a speed up of 15-20%.
 - It's now possible to search in public, private or all suffixes (old
   behaviour). Use `search_public` and `search_private` arguments accordingly.
   By default (to support old behavior), both are set to True.
 - Correct TLD definitions.
 - Domains like `*****.xn--fiqs8s` are now recognized as well.
 - Due to usage of `urlsplit` instead of `urlparse`, the initial list of TLDs
   is assembled quicker (a speed-up of 15-20%).
 - Docs/ directory is included in source distribution tarball.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=6
2018-07-07 08:33:43 +00:00
Sebastian Wagner
cbd014554d fix docs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=4
2018-04-07 20:46:18 +00:00
Sebastian Wagner
2ba92d60d7 - update to version 0.7.10:
* more documentation files included
 * included license file
 * update tld data

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=3
2018-04-07 19:19:39 +00:00
Tomáš Chvátal
e6219d10e5 Accepting request 556067 from home:sebix
now with removed test condition

OBS-URL: https://build.opensuse.org/request/show/556067
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tld?expand=0&rev=1
2017-12-12 08:28:51 +00:00