diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-24 13:24:08 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-24 15:27:35 +0100 |
| commit | 9c0cd9d38c39622118895f46f2896426b099bdf1 (patch) | |
| tree | 57151f0091b9b130a59087894d6a7e006d84e12a /gnu/packages/python-web.scm | |
| parent | bf44cde2b753c7405264cf51baa1350afefb39b2 (diff) | |
gnu: python-tldextract: Move to python-web.
* gnu/packages/python-xyz.scm (python-tldextract): Move from here ...
* gnu/packages/python-web.scm: ... to here.
Change-Id: I0f1a50cca00e7d61877a86f81625f41d40782006
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 3716b681152..c40a37b4d45 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org> ;;; Copyright © 2017 Mark Meyer <mark@ofosos.org> +;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2018 Tomáš Čech <sleep_walker@gnu.org> ;;; Copyright © 2018, 2019, 2021, 2024 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2018 Mathieu Othacehe <m.othacehe@gmail.com> @@ -3930,6 +3931,40 @@ high-speed transfers via libcurl and frequently outperforms alternatives.") ;; under the terms of LGPLv2.1+ or Expat. (license (list license:lgpl2.1+ license:expat)))) +(define-public python-tldextract + (package + (name "python-tldextract") + (version "5.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tldextract" version)) + (sha256 + (base32 "02c6cyh8f3dagcw786m9nl5y0n3xa98p5mb7d7xfr84l2l5bglmk")))) + (build-system pyproject-build-system) + (native-inputs + (list nss-certs-for-test + python-pytest + python-pytest-mock + python-responses + python-setuptools + python-setuptools-scm + python-syrupy)) + (propagated-inputs + (list python-filelock + python-idna + python-requests + python-requests-file)) + (home-page "https://github.com/john-kurkowski/tldextract") + (synopsis + "Separate the TLD from the registered domain and subdomains of a URL") + (description + "TLDExtract accurately separates the TLD from the registered domain and +subdomains of a URL, using the Public Suffix List. By default, this includes +the public ICANN TLDs and their exceptions. It can optionally support the +Public Suffix List's private domains as well.") + (license license:bsd-3))) + (define-public python-tracerite (package (name "python-tracerite") |
