Merge pull request #323984 from mweinelt/drop-packages

Drop two leaf packages
This commit is contained in:
Martin Weinelt 2024-07-02 23:47:34 +02:00 committed by GitHub
commit 819933b50d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 100 deletions

View File

@ -1,51 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
django,
# tests
pytest-django,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "django-mysql";
version = "4.13.0";
pyproject = true;
src = fetchFromGitHub {
owner = "adamchainz";
repo = "django-mysql";
rev = "refs/tags/${version}";
hash = "sha256-hIvkLLv9R23u+JC6t/zwbMvmgLMstYp0ytuSqNiohJg=";
};
build-system = [ setuptools ];
dependencies = [ django ];
doCheck = false; # requires mysql/mariadb server
env.DJANGO_SETTINGS_MODULE = "tests.settings";
nativeCheckInputs = [
pytest-django
pytestCheckHook
];
pythonImportsCheck = [ "django_mysql" ];
meta = with lib; {
changelog = "https://github.com/adamchainz/django-mysql/blob/${version}/docs/changelog.rst";
description = "Extensions to Django for use with MySQL/MariaD";
homepage = "https://github.com/adamchainz/django-mysql";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -1,45 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
cython,
setuptools,
# tests
numpy,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "faster-fifo";
version = "1.4.6";
format = "pyproject";
src = fetchFromGitHub {
owner = "alex-petrenko";
repo = "faster-fifo";
rev = "v${version}";
hash = "sha256-vgaaIJTtNg2XqEZ9TB7tTMPJ9yMyWjtfdgNU/lcNLcg=";
};
nativeBuildInputs = [
cython
setuptools
];
pythonImportsCheck = [ "faster_fifo" ];
nativeCheckInputs = [
numpy
unittestCheckHook
];
meta = with lib; {
description = "Faster alternative to Python's multiprocessing.Queue (IPC FIFO queue";
homepage = "https://github.com/alex-petrenko/faster-fifo";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}

View File

@ -132,6 +132,7 @@ mapAliases ({
django_hijack_admin = django-hijack-admin; # added 2023-05-16
django-hijack-admin = throw "django-hijack-admin has been removed, since it is no longer compatible to django-hijack"; # added 2023-06-21
django_modelcluster = django-modelcluster; # added 2022-04-02
django-mysql = throw "django-mysql has been removed, since it was an unused leaf package"; # added 2024-07-02
django_nose = django-nose; # added 2023-07-25
django-nose = throw "django-nose has been removed since it has not been maintained and there are no dependent packages"; # added 2024-05-21
django_reversion = django-reversion; # added 2022-06-18
@ -160,6 +161,7 @@ mapAliases ({
face_recognition_models = face-recognition-models; # added 2022-10-15
factory_boy = factory-boy; # added 2023-10-08
fake_factory = throw "fake_factory has been removed because it is unused and deprecated by upstream since 2016."; # added 2022-05-30
faster-fifo = throw "faster-fifo has been removed since it was an unused leaf package"; # added 2024-07-02
fastnlo_toolkit = fastnlo-toolkit; # added 2024-01-03
fastpair = throw "fastpair is unmaintained upstream and has therefore been removed"; # added 2024-05-01
faulthandler = throw "faulthandler is built into ${python.executable}"; # added 2021-07-12

View File

@ -3323,8 +3323,6 @@ self: super: with self; {
django-mptt = callPackage ../development/python-modules/django-mptt { };
django-mysql = callPackage ../development/python-modules/django-mysql { };
django-ninja = callPackage ../development/python-modules/django-ninja { };
django-oauth-toolkit = callPackage ../development/python-modules/django-oauth-toolkit { };
@ -4179,8 +4177,6 @@ self: super: with self; {
fastentrypoints = callPackage ../development/python-modules/fastentrypoints { };
faster-fifo = callPackage ../development/python-modules/faster-fifo { };
faster-whisper = callPackage ../development/python-modules/faster-whisper { };
fastimport = callPackage ../development/python-modules/fastimport { };