python312Packages.py17track: drop

This commit is contained in:
Robert Schütz
2024-08-09 14:48:19 +02:00
committed by Martin Weinelt
parent 687ed7e5f6
commit bbcd536c50
3 changed files with 1 additions and 75 deletions
@@ -1,73 +0,0 @@
{
lib,
aiohttp,
aresponses,
attrs,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
pytz,
}:
buildPythonPackage rec {
pname = "py17track";
version = "2021.12.2";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "bachya";
repo = pname;
rev = version;
hash = "sha256-T0Jjdu6QC8rTqZwe4cdsBbs0hQXUY6CkrImCgYwWL9o=";
};
patches = [
# This patch removes references to setuptools and wheel that are no longer
# necessary and changes poetry to poetry-core, so that we don't need to add
# unnecessary nativeBuildInputs.
#
# https://github.com/bachya/py17track/pull/80
#
(fetchpatch {
name = "clean-up-build-dependencies.patch";
url = "https://github.com/bachya/py17track/commit/3b52394759aa50c62e2a56581e30cdb94003e2f1.patch";
hash = "sha256-iLgklhEZ61rrdzQoO6rp1HGZcqLsqGNitwIiPNLNHQ4=";
})
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
aiohttp
attrs
pytz
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
aresponses
pytest-asyncio
pytestCheckHook
];
disabledTestPaths = [
# Ignore the examples directory as the files are prefixed with test_
"examples/"
];
pythonImportsCheck = [ "py17track" ];
meta = with lib; {
description = "Python library to track package info from 17track.com";
homepage = "https://github.com/bachya/py17track";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}
+1
View File
@@ -381,6 +381,7 @@ mapAliases ({
pxml = throw "pxml was removed, because it was disabled on all python version since 3.8 and last updated in 2020."; # added 2024-05-13
py-radix = throw "py-radix has been removed, since it abandoned"; # added 2023-07-07
py_stringmatching = py-stringmatching; # added 2023-11-12
py17track = throw "py17track was removed because Home Assistant switched to pyseventeentrack"; # added 2024-08-08
pyalmond = throw "pyalmond has been removed, since its API endpoints have been shutdown"; # added 2023-02-02
pyblake2 = throw "pyblake2 is deprecated in favor of hashlib"; # added 2023-04-23
pyblock = throw "pyblock has been removed, since it is abandoned and broken"; # added 2023-06-20
-2
View File
@@ -10952,8 +10952,6 @@ self: super: with self; {
py-zabbix = callPackage ../development/python-modules/py-zabbix { };
py17track = callPackage ../development/python-modules/py17track { };
py2bit = callPackage ../development/python-modules/py2bit { };
py3buddy = callPackage ../development/python-modules/py3buddy { };