Merge pull request #260593 from natsukium/ipython-genutils

python311Packages.ipython-genutils: rename from ipython_genutils
This commit is contained in:
Weijia Wang 2023-10-12 23:56:49 +02:00 committed by GitHub
commit 00d3ce71ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 57 additions and 40 deletions

@ -3,7 +3,7 @@
, pythonOlder
, fetchPypi
, ipykernel
, ipython_genutils
, ipython-genutils
, ipywidgets
, matplotlib
, numpy
@ -25,7 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
ipykernel
ipython_genutils
ipython-genutils
ipywidgets
matplotlib
numpy

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, nose
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ipython-genutils";
version = "0.2.0";
pyproject = true;
src = fetchPypi {
pname = "ipython_genutils";
inherit version;
hash = "sha256-6y4RbnXs751NIo/cZq9UJpr6JqtEYwQuM3hbiHxii6g=";
};
nativeBuildInputs = [
setuptools
];
nativeCheckInputs = [
nose
pytestCheckHook
];
preCheck = ''
substituteInPlace ipython_genutils/tests/test_path.py \
--replace "setUp" "setup_method" \
--replace "tearDown" "teardown_method"
'';
pythonImportsCheck = [
"ipython_genutils"
];
meta = {
description = "Vestigial utilities from IPython";
homepage = "https://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}

@ -3,7 +3,7 @@
, fetchFromGitHub
, pythonOlder
, ipython
, ipython_genutils
, ipython-genutils
, pandas
, prettytable
, pytest
@ -29,7 +29,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
ipython
ipython_genutils
ipython-genutils
prettytable
sqlalchemy
sqlparse

@ -1,29 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, nose
, glibcLocales
}:
buildPythonPackage rec {
pname = "ipython_genutils";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8";
};
nativeCheckInputs = [ nose glibcLocales ];
checkPhase = ''
LC_ALL="en_US.UTF-8" nosetests -v ipython_genutils/tests
'';
meta = {
description = "Vestigial utilities from IPython";
homepage = "https://ipython.org/";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};
}

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, ipython_genutils
, ipython-genutils
, jupyter-contrib-core
, jupyter-highlight-selected-word
, jupyter-nbextensions-configurator
@ -23,7 +23,7 @@ buildPythonPackage rec {
};
propagatedBuildInputs = [
ipython_genutils
ipython-genutils
jupyter-contrib-core
jupyter-highlight-selected-word
jupyter-nbextensions-configurator

@ -3,7 +3,7 @@
, buildPythonPackage
, fetchPypi
, ipykernel
, ipython_genutils
, ipython-genutils
, jinja2
, jupyter-client
, jupyter-core
@ -39,7 +39,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
argon2-cffi
ipykernel
ipython_genutils
ipython-genutils
jinja2
jupyter-client
jupyter-core

@ -4,7 +4,7 @@
, ipykernel
, jupyter-core
, jupyter-client
, ipython_genutils
, ipython-genutils
, pygments
, pyqt5
, pytestCheckHook
@ -28,7 +28,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
ipykernel
ipython_genutils
ipython-genutils
jupyter-core
jupyter-client
pygments

@ -186,6 +186,7 @@ mapAliases ({
imgaug = throw "imgaug has been removed as it is no longer maintained"; # added 2023-07-10
intreehook = throw "intreehooks has been removed because it is obsolete as a backend-path key was added to PEP 517"; # added 2023-04-11
ipaddress = throw "ipaddress has been removed because it is no longer required since python 2.7."; # added 2022-05-30
ipython_genutils = ipython-genutils; # added 2023-10-12
influxgraph = throw "influxgraph has been removed because it is no longer maintained"; # added 2022-07-10
itanium_demangler = itanium-demangler; # added 2022-10-17
jaraco_classes = jaraco-classes; # added 2023-07-14

@ -5412,7 +5412,7 @@ self: super: with self; {
ipytablewidgets = callPackage ../development/python-modules/ipytablewidgets { };
ipython_genutils = callPackage ../development/python-modules/ipython_genutils { };
ipython-genutils = callPackage ../development/python-modules/ipython-genutils { };
ipython = callPackage ../development/python-modules/ipython { };