python311Packages.sphinxcontrib: add pythonNamespaces to remove nspkg.pth
This change fixes the import error reported in the following comment. It is caused by the legacy setuptools namespace. https://github.com/NixOS/nixpkgs/pull/210338#issuecomment-1447063024
This commit is contained in:
parent
ce209976f5
commit
4087ddd648
30 changed files with 60 additions and 0 deletions
|
@ -29,6 +29,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.actdiag"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx actdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-actdiag";
|
||||
|
|
|
@ -25,6 +25,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension for running sphinx-apidoc on each build";
|
||||
homepage = "https://github.com/sphinx-contrib/apidoc";
|
||||
|
|
|
@ -17,6 +17,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "sphinxcontrib-applehelp is a sphinx extension which outputs Apple help books";
|
||||
homepage = "https://github.com/sphinx-doc/sphinxcontrib-applehelp";
|
||||
|
|
|
@ -24,6 +24,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.asyncio"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension to add asyncio-specific markups";
|
||||
homepage = "https://github.com/aio-libs/sphinxcontrib-asyncio";
|
||||
|
|
|
@ -21,6 +21,8 @@ buildPythonPackage rec {
|
|||
doCheck = false;
|
||||
pythonImportsCheck = [ "sphinxcontrib.bayesnet" ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jluttine/sphinx-bayesnet";
|
||||
description = "Bayesian networks and factor graphs in Sphinx using TikZ syntax";
|
||||
|
|
|
@ -32,6 +32,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.bibtex"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Sphinx extension for BibTeX style citations";
|
||||
homepage = "https://github.com/mcmtroffaes/sphinxcontrib-bibtex";
|
||||
|
|
|
@ -27,6 +27,8 @@ buildPythonPackage rec {
|
|||
|
||||
unittestFlagsArray = [ "-s" "tests" ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx blockdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-blockdiag";
|
||||
|
|
|
@ -37,6 +37,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.confluencebuilder"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Confluence builder for sphinx";
|
||||
homepage = "https://github.com/sphinx-contrib/confluencebuilder";
|
||||
|
|
|
@ -15,6 +15,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "sphinxcontrib-devhelp is a sphinx extension which outputs Devhelp document.";
|
||||
homepage = "https://github.com/sphinx-doc/sphinxcontrib-devhelp";
|
||||
|
|
|
@ -21,6 +21,8 @@ buildPythonPackage rec {
|
|||
# No tests present upstream
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx excel-table extension";
|
||||
homepage = "https://github.com/hackerain/sphinxcontrib-excel-table";
|
||||
|
|
|
@ -21,6 +21,8 @@ buildPythonPackage rec {
|
|||
# Ensure package importing works
|
||||
pythonImportsCheck = [ "sphinxcontrib.fulltoc" ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Include a full table of contents in your Sphinx HTML sidebar";
|
||||
homepage = "https://sphinxcontrib-fulltoc.readthedocs.org/";
|
||||
|
|
|
@ -17,6 +17,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension which renders HTML help files";
|
||||
homepage = "https://github.com/sphinx-doc/sphinxcontrib-htmlhelp";
|
||||
|
|
|
@ -31,6 +31,8 @@ buildPythonPackage rec {
|
|||
sphinx
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extension to include jQuery on newer Sphinx releases";
|
||||
longDescription = ''
|
||||
|
|
|
@ -17,6 +17,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "sphinxcontrib-jsmath is a sphinx extension which renders display math in HTML via JavaScript.";
|
||||
homepage = "https://github.com/sphinx-doc/sphinxcontrib-jsmath";
|
||||
|
|
|
@ -28,6 +28,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.katex"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension using KaTeX to render math in HTML";
|
||||
homepage = "https://github.com/hagenw/sphinxcontrib-katex";
|
||||
|
|
|
@ -18,6 +18,8 @@ buildPythonPackage rec {
|
|||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/davidism/sphinxcontrib-log-cabinet";
|
||||
description = "Sphinx extension to organize changelogs";
|
||||
|
|
|
@ -30,6 +30,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.mscgen"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension using mscgen to render diagrams";
|
||||
homepage = "https://github.com/sphinx-contrib/mscgen";
|
||||
|
|
|
@ -29,6 +29,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.nwdiag"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx nwdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-nwdiag";
|
||||
|
|
|
@ -36,6 +36,8 @@ buildPythonPackage rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ikalnytskyi/sphinxcontrib-openapi";
|
||||
description = "OpenAPI (fka Swagger) spec renderer for Sphinx";
|
||||
|
|
|
@ -26,6 +26,8 @@ buildPythonPackage rec {
|
|||
# No tests included.
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides a Sphinx domain for embedding UML diagram with PlantUML";
|
||||
homepage = "https://github.com/sphinx-contrib/plantuml/";
|
||||
|
|
|
@ -23,6 +23,8 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [ "sphinxcontrib.programoutput" ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx extension to include program output";
|
||||
homepage = "https://github.com/NextThought/sphinxcontrib-programoutput";
|
||||
|
|
|
@ -17,6 +17,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "sphinxcontrib-qthelp is a sphinx extension which outputs QtHelp document.";
|
||||
homepage = "https://github.com/sphinx-doc/sphinxcontrib-qthelp";
|
||||
|
|
|
@ -29,6 +29,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.seqdiag"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx seqdiag extension";
|
||||
homepage = "https://github.com/blockdiag/sphinxcontrib-seqdiag";
|
||||
|
|
|
@ -17,6 +17,8 @@ buildPythonPackage rec {
|
|||
# Check is disabled due to circular dependency of sphinx
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "sphinxcontrib-serializinghtml is a sphinx extension which outputs \"serialized\" HTML files (json and pickle).";
|
||||
homepage = "https://github.com/sphinx-doc/sphinxcontrib-serializinghtml";
|
||||
|
|
|
@ -42,6 +42,8 @@ buildPythonPackage rec {
|
|||
"sphinxcontrib.spelling"
|
||||
];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sphinx spelling extension";
|
||||
homepage = "https://github.com/sphinx-contrib/spelling";
|
||||
|
|
|
@ -28,6 +28,8 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [ "sphinxcontrib.tikz" ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "TikZ extension for Sphinx";
|
||||
homepage = "https://bitbucket.org/philexander/tikz";
|
||||
|
|
|
@ -28,6 +28,8 @@ buildPythonPackage rec {
|
|||
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = {
|
||||
description = "Sphinx API for Web Apps";
|
||||
homepage = "http://sphinx-doc.org/";
|
||||
|
|
|
@ -27,6 +27,8 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [ "sphinxcontrib.youtube" ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Youtube extension for Sphinx";
|
||||
homepage = "https://github.com/sphinx-contrib/youtube";
|
||||
|
|
|
@ -19,6 +19,8 @@ buildPythonPackage rec {
|
|||
# https://bitbucket.org/pypa/setuptools/issue/137/typeerror-unorderable-types-str-nonetype
|
||||
doCheck = false;
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Provides a Sphinx domain for describing RESTful HTTP APIs";
|
||||
homepage = "https://bitbucket.org/birkenfeld/sphinx-contrib";
|
||||
|
|
|
@ -15,6 +15,8 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [ sphinx ];
|
||||
|
||||
pythonNamespaces = [ "sphinxcontrib" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Extension for adding a simple Blog, News or Announcements section to a Sphinx website";
|
||||
homepage = "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed";
|
||||
|
|
Loading…
Reference in a new issue