mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
python39Packages.ruamel-yaml-clib: normalise name, adopt
This commit is contained in:
parent
b2767b69dd
commit
b592957ea1
@ -4,7 +4,7 @@
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ruamel.yaml.clib";
|
||||
pname = "ruamel-yaml-clib";
|
||||
version = "0.2.4";
|
||||
|
||||
src = fetchhg {
|
@ -3,7 +3,7 @@
|
||||
, fetchPypi
|
||||
, ruamel-base
|
||||
, ruamel-ordereddict
|
||||
, ruamel_yaml_clib ? null
|
||||
, ruamel-yaml-clib ? null
|
||||
, isPy27
|
||||
, isPyPy
|
||||
}:
|
||||
@ -23,7 +23,7 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ ruamel-base ]
|
||||
++ lib.optional isPy27 ruamel-ordereddict
|
||||
++ lib.optional (!isPyPy) ruamel_yaml_clib;
|
||||
++ lib.optional (!isPyPy) ruamel-yaml-clib;
|
||||
|
||||
# causes namespace clash on py27
|
||||
dontUsePythonImportsCheck = isPy27;
|
||||
|
@ -2,7 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, ruamel-base
|
||||
, ruamel_yaml_clib
|
||||
, ruamel-yaml-clib
|
||||
, isPyPy
|
||||
}:
|
||||
|
||||
@ -20,7 +20,7 @@ buildPythonPackage rec {
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = [ ruamel-base ]
|
||||
++ lib.optional (!isPyPy) ruamel_yaml_clib;
|
||||
++ lib.optional (!isPyPy) ruamel-yaml-clib;
|
||||
|
||||
pythonImportsCheck = [ "ruamel.yaml" ];
|
||||
|
||||
|
@ -81,6 +81,7 @@ mapAliases ({
|
||||
rotate-backups = throw "rotate-backups was removed in favor of the top-level rotate-backups"; # added 2021-07-01
|
||||
ruamel_base = ruamel-base; # added 2021-11-01
|
||||
ruamel_yaml = ruamel-yaml; # added 2021-11-01
|
||||
ruamel_yaml_clib = ruamel-yaml-clib; # added 2021-11-01
|
||||
scikitlearn = scikit-learn; # added 2021-07-21
|
||||
selectors34 = throw "selectors34 has been removed: functionality provided by Python itself; archived by upstream."; # added 2021-06-10
|
||||
setuptools_scm = setuptools-scm; # added 2021-06-03
|
||||
|
@ -8206,8 +8206,7 @@ in {
|
||||
|
||||
ruamel-yaml = callPackage ../development/python-modules/ruamel-yaml { };
|
||||
|
||||
ruamel-yaml-clib = self.ruamel_yaml_clib;
|
||||
ruamel_yaml_clib = callPackage ../development/python-modules/ruamel_yaml_clib { };
|
||||
ruamel-yaml-clib = callPackage ../development/python-modules/ruamel-yaml-clib { };
|
||||
|
||||
rubymarshal = callPackage ../development/python-modules/rubymarshal { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user