14
0
forked from pool/python-tld
Files
python-tld/fix-setup-test.patch
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

23 lines
606 B
Diff

From f34261e913c15391e8f48f90938a5164b69537b9 Mon Sep 17 00:00:00 2001
From: Sebastian Wagner <sebix@sebix.at>
Date: Fri, 6 Jul 2018 23:04:14 +0200
Subject: [PATCH] setup.py: fix test suite specifier
filenames are not supported. one must use the module name inside the package
---
CHANGELOG.rst | 1 +
setup.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 0931c07..32bff73 100644
--- a/setup.py
+++ b/setup.py
@@ -52,5 +52,5 @@
install_requires=[
'six>=1.9'
],
- test_suite='src/tld/tests.py',
+ test_suite='tld.tests',
)