From 55a2baf1271d8bcd39b876642539ae5e3d9a5892 Mon Sep 17 00:00:00 2001 From: Mekeor Melire Date: Wed, 5 Feb 2025 21:12:48 +0000 Subject: [PATCH] gnu: Add python-publicsuffixlist. It was preoposed in #48514 on <2021-05-19>. * gnu/packages/python-web.scm (python-publicsuffixlist): New variable. Change-Id: Iacecd5e9e49f9136935a65c83c09a643e371738b Reviewed-by: Xinglu Chen Co-authored-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index cc6509ea1d6f2173d9066818f9cc5cf9540afce9..6f6b1dadfe2fb30140b7049b834eabea8b26be7b 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2021, 2022, 2024 Arun Isaac ;;; Copyright © 2021, 2022, 2024 jgart ;;; Copyright © 2021 Alice Brenon +;;; Copyright © 2021 Mekeor Melire ;;; Copyright © 2022 John Kehayias ;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; Copyright © 2022, 2023, 2025 Felix Gruber @@ -1464,6 +1465,34 @@ Model} (SAM) templates into AWS CloudFormation templates.") emit information from within their applications to the AWS X-Ray service.") (license license:asl2.0))) +(define-public python-publicsuffixlist + (package + (name "python-publicsuffixlist") + (version "1.0.2.20250202") + (source + (origin + (method url-fetch) + (uri (pypi-uri "publicsuffixlist" version)) + (sha256 + (base32 "0llam7g7sv08lcfgy18iph8br8ldjmy2qbjaykc9pd3z4iisb0yd")))) + (build-system pyproject-build-system) + (native-inputs + (list python-setuptools + python-wheel)) + (home-page "https://github.com/ko-zu/psl") + (synopsis "Public suffix list for Python") + (description + "This package provides an implementation of +@url{https://publicsuffix.org/, Public Suffix List } as Python library. + +Features: +@itemize +@item supports IDN (unicode and punycoded) +@item shipped with built-in PSL and an updater script +@item written in Pure Python with no library dependencies +@end itemize") + (license license:mpl2.0))) + (define-public python-python3-saml (package (name "python-python3-saml")