14
0
forked from pool/python-tld

46 Commits

Author SHA256 Message Date
ad217dfbcd Accepting request 1154937 from devel:languages:python
- 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/request/show/1154937
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=21
2024-03-05 17:50:47 +00:00
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
96444de8a6 Accepting request 1029738 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1029738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=20
2022-10-19 11:17:33 +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
402d18f849 Accepting request 902717 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/902717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=19
2021-06-28 13:33:37 +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
7adae29273 Accepting request 895487 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/895487
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=18
2021-06-01 08:36:56 +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
8df86c1808 Accepting request 858871 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/858871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=17
2020-12-27 23:28:44 +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
e0361b07b4 Accepting request 809926 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/809926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=16
2020-07-07 10:57:49 +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
61a9c3b03f Accepting request 806968 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/806968
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=15
2020-05-19 12:48:46 +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
c4aebdbc32 Accepting request 802509 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/802509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=14
2020-05-11 11:42:29 +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
69554e040a Accepting request 797840 from devel:languages:python
- update to version 0.12:
 - Use Public Suffix list instead of deprecated Mozilla's MXR.

OBS-URL: https://build.opensuse.org/request/show/797840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=13
2020-04-27 21:36:53 +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
3618bcb37b Accepting request 788522 from devel:languages:python
- version update to 0.11.11
  * - Minor speed-ups, reduce memory usage.

pypi works again now (at least for me)

OBS-URL: https://build.opensuse.org/request/show/788522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=12
2020-03-26 22:34:32 +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
Oliver Kurz
a0ffb6e201 Accepting request 774244 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/774244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=11
2020-02-14 15:39:45 +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
5e4e2c8aa8 Accepting request 760391 from devel:languages:python
- Do not use setup.py test but call pytest directly

OBS-URL: https://build.opensuse.org/request/show/760391
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=10
2020-01-02 13:44:09 +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
653449367a Accepting request 760159 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/760159
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=9
2019-12-31 14:49:09 +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
b75d7043eb Accepting request 753264 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/753264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=8
2019-12-04 12:52:53 +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
4e9f82be82 Accepting request 731290 from devel:languages:python
- Update to 0.9.6:
  * Fix for update-tld-names returns a non-zero exit code on success
  * Minor tests improvements.

- 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/request/show/731290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=7
2019-09-27 12:48:44 +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
43f4017e53 Accepting request 695330 from devel:languages:python
- update to version 0.9.3:
 - Added `is_tld` function.
 - Docs updated.
 - Upgrade test suite.

OBS-URL: https://build.opensuse.org/request/show/695330
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=6
2019-04-18 07:57:18 +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
43d8aeba89 Accepting request 668244 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/668244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=5
2019-02-01 10:44:29 +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
e2324060a1 Accepting request 659720 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659720
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=4
2018-12-24 10:45:17 +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
35449b474e Accepting request 623183 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/623183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=3
2018-07-17 07:43:26 +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
67979a7823 Accepting request 603093 from devel:languages:python
- update to version 0.7.10:
 * more documentation files included
 * included license file
 * update tld data

OBS-URL: https://build.opensuse.org/request/show/603093
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=2
2018-05-08 11:36:38 +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
9b062c63d2 Accepting request 556403 from devel:languages:python
- initial package for version 0.7.9

OBS-URL: https://build.opensuse.org/request/show/556403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tld?expand=0&rev=1
2017-12-14 10:00:03 +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