Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python312Packages.dyn: refactor #313476

Merged
merged 5 commits into from
May 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions pkgs/development/python-modules/cov-core/default.nix

This file was deleted.

32 changes: 17 additions & 15 deletions pkgs/development/python-modules/dyn/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,35 @@
{ lib, buildPythonPackage, fetchPypi, pytest, pytest-cov, mock
, pytest-xdist, cov-core, glibcLocales }:
{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
}:

buildPythonPackage rec {
pname = "dyn";
version = "1.8.6";
format = "setuptools";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-933etYrKRgSqJfOMIuIDL4Uv4/RdSEFMNWFtW5qiPpA=";
hash = "sha256-933etYrKRgSqJfOMIuIDL4Uv4/RdSEFMNWFtW5qiPpA=";
};

buildInputs = [ glibcLocales ];
build-system = [ setuptools ];

nativeCheckInputs = [
pytest
pytest-cov
mock
pytest-xdist
cov-core
];
# Disable checks because they are not stateless and require internet access.
# Module has no tests
doCheck = false;

LC_ALL="en_US.UTF-8";
pythonImportsCheck = [ "dyn" ];

meta = with lib; {
description = "Dynect dns lib";
homepage = "https://dyn.readthedocs.org/en/latest/intro.html";
homepage = "https://dyn.readthedocs.org";
changelog = "https://github.com/dyninc/dyn-python/blob/${version}/HISTORY.rst";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}
21 changes: 0 additions & 21 deletions pkgs/development/python-modules/nose-cov/default.nix

This file was deleted.

53 changes: 0 additions & 53 deletions pkgs/development/python-modules/pylti/default.nix

This file was deleted.

5 changes: 4 additions & 1 deletion pkgs/top-level/python-aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ mapAliases ({
CommonMark = commonmark; # added 2023-02-1
ConfigArgParse = configargparse; # added 2021-03-18
coronavirus = throw "coronavirus was removed, because the source is not providing the data anymore."; # added 2023-05-04
covCore = cov-core; # added 2024-01-03
covCore = throw "covCore was renamed to cov-core and subsequently removed since it has ben unmaintained since 2014"; # added 2024-05-20
cov-core = throw "cov-core has been removed, it was archived and unmaintained since 2014"; # added 2024-05-21
cozy = throw "cozy was removed because it was not actually https://pypi.org/project/Cozy/."; # added 2022-01-14
cryptacular = throw "cryptacular was removed, because it was disabled on all python version since 3.6 and last updated in 2021"; # Added 2024-05-13
cryptography_vectors = "cryptography_vectors is no longer exposed in python*Packages because it is used for testing cryptography only."; # Added 2022-03-23
Expand Down Expand Up @@ -303,6 +304,7 @@ mapAliases ({
nghttp2 = throw "in 1.52.0 removed deprecated python bindings."; # added 2023-06-08
ninja-python = ninja; # add 2022-08-03
nosejs = throw "nosejs has been removed since it has not been maintained for 15 years and there are no dependent packages"; # added 2024-05-21
nose-cov = throw "nose-cov has been removed, it was archived and unmaintained since 2012"; # added 2024-05-21
nose-cover3 = throw "nose-cover3 has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-02-16
nose-cprof = throw "nose-cprof has been removed since it has not been maintained for 7 years and there are no dependent packages"; # added 2024-05-21
nose_progressive = throw "nose_progressive has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; #added 2023-02-21
Expand Down Expand Up @@ -362,6 +364,7 @@ mapAliases ({
pyhs100 = throw "pyhs100 has been removed in favor of python-kasa."; # added 2024-01-05
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
PyLD = pyld; # added 2022-06-22
pylti = throw "pylti has been removed because it is unmaintained since 2019"; # added 2024-05-21
pymaging = throw "pymaging has been removed because it has not been maintained for 10 years and has been archived."; # added 2023-11-04
pymaging_png = throw "pymaging_png has been removed because it has not been maintained for 10 years and has been archived."; # added 2023-11-04
pymatgen-lammps = throw "pymatgen-lammps has been removed because it is unmaintained and broken"; # added 2023-06-20
Expand Down
6 changes: 0 additions & 6 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2494,8 +2494,6 @@ self: super: with self; {

courlan = callPackage ../development/python-modules/courlan { };

cov-core = callPackage ../development/python-modules/cov-core { };

coverage = callPackage ../development/python-modules/coverage { };

coveralls = callPackage ../development/python-modules/coveralls { };
Expand Down Expand Up @@ -8861,8 +8859,6 @@ self: super: with self; {

nose3 = callPackage ../development/python-modules/nose3 { };

nose-cov = callPackage ../development/python-modules/nose-cov { };

nose-exclude = callPackage ../development/python-modules/nose-exclude { };

nose-timer = callPackage ../development/python-modules/nose-timer { };
Expand Down Expand Up @@ -11293,8 +11289,6 @@ self: super: with self; {

pylpsd = callPackage ../development/python-modules/pylpsd { };

pylti = callPackage ../development/python-modules/pylti { };

pylutron = callPackage ../development/python-modules/pylutron { };

pylutron-caseta = callPackage ../development/python-modules/pylutron-caseta { };
Expand Down