python3Packages.publicsuffix: drop

This commit is contained in:
Sandro Jäckel
2025-12-19 03:29:21 +01:00
parent abcecff5e8
commit b0056bbd8a
3 changed files with 1 additions and 43 deletions
@@ -1,41 +0,0 @@
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
pythonOlder,
publicsuffix-list,
}:
buildPythonPackage rec {
pname = "publicsuffix";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-Is4dZatq9emyEi4kQ/rNuT+1xKvyQTgJnLEP55ifQ7Y=";
};
# disable test_fetch and the doctests (which also invoke fetch)
postPatch = ''
sed -i -e "/def test_fetch/i\\
\\t@unittest.skip('requires internet')" -e "/def additional_tests():/,+1d" tests.py
rm publicsuffix/public_suffix_list.dat
ln -s ${publicsuffix-list}/share/publicsuffix/public_suffix_list.dat publicsuffix/public_suffix_list.dat
'';
build-system = [ setuptools ];
pythonImportsCheck = [ "publicsuffix" ];
meta = {
description = "Allows to get the public suffix of a domain name";
homepage = "https://pypi.python.org/pypi/publicsuffix/";
license = lib.licenses.mit;
maintainers = [ ];
};
}
+1
View File
@@ -315,6 +315,7 @@ mapAliases {
protonvpn-nm-lib = throw "protonvpn-nm-lib source code was removed from upstream"; # Added 2025-10-16
proxy_tools = throw "'proxy_tools' has been renamed to/replaced by 'proxy-tools'"; # Converted to throw 2025-10-29
ptable = throw "ptable has been removed, as it is unmaintained and broken"; # added 2025-05-25
publicsuffix = throw "'publicsuffix' is unmaintained since 2019. The API compatible publicsuffix2 should be used instead."; # Added 2025-12-19
push-receiver = throw "push-receiver has been removed since it is unmaintained for 3 years"; # added 2025-05-17
pushbullet = throw "'pushbullet' has been renamed to/replaced by 'pushbullet-py'"; # Converted to throw 2025-10-29
Pweave = throw "'Pweave' has been renamed to/replaced by 'pweave'"; # Converted to throw 2025-10-29
-2
View File
@@ -12642,8 +12642,6 @@ self: super: with self; {
ptyprocess = callPackage ../development/python-modules/ptyprocess { };
publicsuffix = callPackage ../development/python-modules/publicsuffix { };
publicsuffix2 = callPackage ../development/python-modules/publicsuffix2 { };
publicsuffixlist = callPackage ../development/python-modules/publicsuffixlist { };