python3Packages.pyroute2: 0.6.13 -> 0.7.1

This commit is contained in:
Martin Weinelt 2022-07-16 12:59:28 +02:00
parent 54aa88e8ff
commit 63f7926cbf
11 changed files with 21 additions and 339 deletions

View file

@ -1,37 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-core";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.core";
inherit version;
hash = "sha256-In39nxmIjd0TQZZoIv/ViA2548iTdQlkGMZg/00aEdA=";
};
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.common"
"pr2modules.config"
"pr2modules.proxy"
];
meta = with lib; {
description = "Core module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-ethtool";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.ethtool";
inherit version;
hash = "sha256-Cmh/6g/Nd9kHTHwYujXZufcOQhfr5opofiAECEc6O9Q=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.ethtool"
];
meta = with lib; {
description = "Ethtool module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-ipdb";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.ipdb";
inherit version;
hash = "sha256-u7u3XRO+luRUnPcOuU/XCy4XNuowGsa2g/VqoazYTVo=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.ipdb"
];
meta = with lib; {
description = "Ipdb module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-ipset";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.ipset";
inherit version;
hash = "sha256-KKJU9iKhiXbQaDYD1a79pat8hSj6nja+uFvOUgJveGY=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.ipset"
];
meta = with lib; {
description = "Ipset module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-ndb";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.ndb";
inherit version;
hash = "sha256-CbH1XyYEPOZMkz6CJP0IREpJjzgeXcSDvJ9CjLrwkBo=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.ndb"
];
meta = with lib; {
description = "NDB module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,35 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
}:
buildPythonPackage rec {
pname = "pyroute2-nftables";
version = "0.6.13";
src = fetchPypi {
pname = "pyroute2.nftables";
inherit version;
sha256 = "sha256-yUvXQNULA6Go2WVPdp53r8d6deBfxYh90FUeOXD4ZZI=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.nftables"
];
meta = with lib; {
description = "Nftables module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-nslink";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.nslink";
inherit version;
hash = "sha256-hu1QbK3MsVTNJ667Pb9z67cjw5EQTn8PO8LEo5xiNmw=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.nslink"
];
meta = with lib; {
description = "Nslink module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -1,39 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pyroute2-core
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2-protocols";
version = "0.6.13";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyroute2.protocols";
inherit version;
hash = "sha256-bb7y0D7If2MAHabua9EzgEL2Ic+9BHVfYaMoxDCwAtY=";
};
propagatedBuildInputs = [
pyroute2-core
];
# pyroute2 sub-modules have no tests
doCheck = false;
pythonImportsCheck = [
"pr2modules.protocols"
];
meta = with lib; {
description = "Protocols module for pyroute2";
homepage = "https://github.com/svinota/pyroute2";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
platforms = platforms.unix;
};
}

View file

@ -3,37 +3,23 @@
, fetchPypi
, importlib-metadata
, mitogen
, pyroute2-core
, pyroute2-ethtool
, pyroute2-ipdb
, pyroute2-ipset
, pyroute2-ndb
, pyroute2-nftables
, pyroute2-nslink
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyroute2";
version = "0.6.13";
format = "setuptools";
version = "0.7.1";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-sD1JpYGUX+wrHsfR1RJcb0C6BO0Rr/yQxMrdwBniV5I=";
hash = "sha256-pytarNr+lBb4rJqj7V1vJ8aWgojYJWhDLg9wOhdT3ZY=";
};
propagatedBuildInputs = [
mitogen
pyroute2-core
pyroute2-ethtool
pyroute2-ipdb
pyroute2-ipset
pyroute2-ndb
pyroute2-nftables
pyroute2-nslink
] ++ lib.optionals (pythonOlder "3.8") [
importlib-metadata
];
@ -43,6 +29,16 @@ buildPythonPackage rec {
pythonImportsCheck = [
"pyroute2"
"pr2modules.common"
"pr2modules.config"
"pr2modules.ethtool"
"pr2modules.ipdb"
"pr2modules.ipset"
"pr2modules.ndb"
"pr2modules.nftables"
"pr2modules.nslink"
"pr2modules.protocols"
"pr2modules.proxy"
];
meta = with lib; {

View file

@ -127,6 +127,14 @@ mapAliases ({
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
pyreadability = readability-lxml; # added 2022-05-24
pyroute2-core = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-ethtool = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-ipdb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-ipset = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-ndb = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-nftables = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-nslink = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pyroute2-protocols = throw "pyroute2 migrated back to a single package scheme in version 0.7.1"; # added 2022-07-16
pysmart-smartx = pysmart; # added 2021-10-22
pyspotify = throw "pyspotify has been removed because Spotify stopped supporting libspotify"; # added 2022-05-29
pytest_6 = pytest; # added 2022-02-10

View file

@ -8048,22 +8048,6 @@ in {
pyroute2 = callPackage ../development/python-modules/pyroute2 { };
pyroute2-core = callPackage ../development/python-modules/pyroute2-core { };
pyroute2-ethtool = callPackage ../development/python-modules/pyroute2-ethtool { };
pyroute2-ipdb = callPackage ../development/python-modules/pyroute2-ipdb { };
pyroute2-ipset = callPackage ../development/python-modules/pyroute2-ipset { };
pyroute2-ndb = callPackage ../development/python-modules/pyroute2-ndb { };
pyroute2-nftables = callPackage ../development/python-modules/pyroute2-nftables { };
pyroute2-nslink = callPackage ../development/python-modules/pyroute2-nslink { };
pyroute2-protocols = callPackage ../development/python-modules/pyroute2-protocols { };
pyrr = callPackage ../development/python-modules/pyrr { };
pyrsistent = callPackage ../development/python-modules/pyrsistent { };