python3Packages.sphinx: 5.1.1 -> 5.3.0
This commit is contained in:
parent
109aabe2e8
commit
7bd0431487
|
@ -5,6 +5,9 @@
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
|
||||||
|
# nativeBuildInputs
|
||||||
|
, flit-core
|
||||||
|
|
||||||
# propagatedBuildInputs
|
# propagatedBuildInputs
|
||||||
, babel
|
, babel
|
||||||
, alabaster
|
, alabaster
|
||||||
|
@ -34,8 +37,8 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sphinx";
|
pname = "sphinx";
|
||||||
version = "5.1.1";
|
version = "5.3.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -43,7 +46,7 @@ buildPythonPackage rec {
|
||||||
owner = "sphinx-doc";
|
owner = "sphinx-doc";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-dTgQNMRIn7ETm+1HgviOkWWOCmLX7Ez6DM9ChlI32mY=";
|
hash = "sha256-80bVg1rfBebgSOKbWkzP84vpm39iLgM8lWlVD64nSsQ=";
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
cd $out
|
cd $out
|
||||||
mv tests/roots/test-images/testimäge.png \
|
mv tests/roots/test-images/testimäge.png \
|
||||||
|
@ -52,13 +55,9 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
nativeBuildInputs = [
|
||||||
# remove impurity caused by date inclusion
|
flit-core
|
||||||
# https://github.com/sphinx-doc/sphinx/blob/master/setup.cfg#L4-L6
|
];
|
||||||
substituteInPlace setup.cfg \
|
|
||||||
--replace "tag_build = .dev" "" \
|
|
||||||
--replace "tag_date = true" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
babel
|
babel
|
||||||
|
|
Loading…
Reference in a new issue