python3Packages.sphinx-rtd-theme: rename from sphinx_rtd_theme

This commit is contained in:
Martin Weinelt 2022-08-03 18:30:10 +02:00
parent f049d7dedf
commit 4af35d92a0
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
13 changed files with 20 additions and 18 deletions

View file

@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals documentationSupport [
help2man
python3.pkgs.sphinx
python3.pkgs.sphinx_rtd_theme
python3.pkgs.sphinx-rtd-theme
] ++ lib.optional translationSupport gettext;
buildInputs = [

View file

@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3Packages.sphinx python3Packages.sphinx_rtd_theme ]
nativeBuildInputs = [ makeWrapper removeReferencesTo pkg-config flex bison meson ninja perl python3 python3Packages.sphinx python3Packages.sphinx-rtd-theme ]
++ lib.optionals gtkSupport [ wrapGAppsHook ]
++ lib.optionals stdenv.isDarwin [ sigtool ];

View file

@ -9,7 +9,7 @@
, recommonmark
, semantic-version
, sphinx
, sphinx_rtd_theme
, sphinx-rtd-theme
, pytest-runner
, setuptools-scm
, git
@ -57,7 +57,7 @@ buildPythonPackage rec {
# docs
recommonmark
sphinx
sphinx_rtd_theme
sphinx-rtd-theme
];
checkPhase = ''

View file

@ -32,7 +32,7 @@ let
env = python3.withPackages (pp: with pp; [
sphinx
recommonmark
sphinx_rtd_theme
sphinx-rtd-theme
]);
in
# Expose only the sphinx-build binary to avoid contaminating

View file

@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
] ++ lib.optionals (enableDocs || enableGI) [
doxygen
(python3.withPackages (ps: with ps;
lib.optionals enableDocs [ sphinx sphinx_rtd_theme breathe ] ++
lib.optionals enableDocs [ sphinx sphinx-rtd-theme breathe ] ++
lib.optionals enableGI [ lxml ]
))
];

View file

@ -3,7 +3,7 @@
, lib
, numpy
, opencv3
, sphinx_rtd_theme
, sphinx-rtd-theme
, lxml
, xmljson
}:
@ -22,7 +22,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
numpy
opencv3
sphinx_rtd_theme
sphinx-rtd-theme
lxml
xmljson
];

View file

@ -6,7 +6,7 @@
# docs
, python
, sphinx
, sphinx_rtd_theme
, sphinx-rtd-theme
# tests
, hypothesis
@ -29,7 +29,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
sphinx
sphinx_rtd_theme
sphinx-rtd-theme
];
postInstall = ''

View file

@ -6,7 +6,7 @@
, mock
, pytestCheckHook
, pythonOlder
, sphinx_rtd_theme
, sphinx-rtd-theme
}:
buildPythonPackage rec {
@ -26,7 +26,7 @@ buildPythonPackage rec {
checkInputs = [
invoke
mock
sphinx_rtd_theme
sphinx-rtd-theme
pytestCheckHook
];

View file

@ -8,11 +8,12 @@
}:
buildPythonPackage rec {
pname = "sphinx_rtd_theme";
pname = "sphinx-rtd-theme";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
pname = "sphinx_rtd_theme";
inherit version;
sha256 = "0p3abj91c3l72ajj5jwblscsdf1jflrnn0djx2h5y6f2wjbx9ipf";
};

View file

@ -31,7 +31,7 @@ let
doCheck = false;
};
sphinx_rtd_theme = prev.sphinx_rtd_theme.override {
sphinx-rtd-theme = prev.sphinx-rtd-theme.override {
inherit sphinx;
docutils = docutils_old;
};
@ -59,7 +59,7 @@ stdenv.mkDerivation {
imagemagick
perl
py.pkgs.sphinx
py.pkgs.sphinx_rtd_theme
py.pkgs.sphinx-rtd-theme
which
];

View file

@ -61,7 +61,7 @@ python3Packages.buildPythonApplication rec {
propagatedBuildInputs = with python3Packages; [
appdirs beautifulsoup4 characteristic distro eliot fixtures foolscap future
html5lib magic-wormhole netifaces pyasn1 pycrypto pyutil pyyaml recommonmark
service-identity simplejson sphinx_rtd_theme testtools treq twisted zfec
service-identity simplejson sphinx-rtd-theme testtools treq twisted zfec
zope_interface
] ++ twisted.optional-dependencies.tls
++ twisted.optional-dependencies.conch;

View file

@ -174,6 +174,7 @@ mapAliases ({
smart_open = smart-open; # added 2021-03-14
smmap2 = throw "smmap2 has been deprecated, use smmap instead."; # added 2020-03-14
SPARQLWrapper = sparqlwrapper;
sphinx_rtd_theme = sphinx-rtd-theme; # added 2022-08-03
sphinxcontrib_plantuml = sphinxcontrib-plantuml; # added 2021-08-02
sqlalchemy_migrate = sqlalchemy-migrate; # added 2021-10-28
SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23

View file

@ -10146,7 +10146,7 @@ in {
sphinx_pypi_upload = callPackage ../development/python-modules/sphinx_pypi_upload { };
sphinx_rtd_theme = callPackage ../development/python-modules/sphinx_rtd_theme { };
sphinx-rtd-theme = callPackage ../development/python-modules/sphinx-rtd-theme { };
sphinx-serve = callPackage ../development/python-modules/sphinx-serve { };