Skip to content

Commit 06e87f3

Browse files
committed
python3Packages.sphinx-click: 6.0.0 -> 6.1.0
1 parent 3346f62 commit 06e87f3

File tree

1 file changed

+12
-4
lines changed
  • pkgs/development/python-modules/sphinx-click

1 file changed

+12
-4
lines changed

pkgs/development/python-modules/sphinx-click/default.nix

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
fetchPypi,
55
sphinxHook,
66
# Build system
7-
pbr,
87
setuptools,
8+
setuptools-scm,
99
# Dependencies
1010
click,
1111
docutils,
@@ -17,14 +17,22 @@
1717

1818
buildPythonPackage rec {
1919
pname = "sphinx-click";
20-
version = "6.0.0";
20+
version = "6.1.0";
2121
pyproject = true;
2222

2323
build-system = [
24-
pbr
2524
setuptools
25+
setuptools-scm
2626
];
2727

28+
postPatch = ''
29+
# Would require reno which would require the .git directory to stay around
30+
substituteInPlace docs/changelog.rst \
31+
--replace-fail '.. release-notes::' 'Check https://sphinx-click.readthedocs.io/en/latest/changelog/ for the Release Notes.'
32+
substituteInPlace docs/conf.py \
33+
--replace-fail "'reno.sphinxext'" ""
34+
'';
35+
2836
nativeBuildInputs = [
2937
sphinxHook
3038
];
@@ -47,7 +55,7 @@ buildPythonPackage rec {
4755
src = fetchPypi {
4856
inherit version;
4957
pname = "sphinx_click";
50-
hash = "sha256-9dZkMh3AxmIv8Bnx4chOWM4M7P3etRDgBM9gwqOrRls=";
58+
hash = "sha256-xwLgdRwaC2rWSeT3+uvQ3AmjzHyjtQ+Vlpg4N3L1Du8=";
5159
};
5260

5361
meta = {

0 commit comments

Comments
 (0)