pythonPackages.docutils: 0.14 -> 0.15.2

This commit is contained in:
Frederik Rietdijk 2019-10-16 16:49:16 +02:00
parent b74344c075
commit 603af4d2af

View File

@ -1,18 +1,19 @@
{ stdenv { stdenv
, lib , lib
, fetchurl , fetchPypi
, buildPythonPackage , buildPythonPackage
, isPy3k , isPy3k
, isPy38
, python , python
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "docutils"; pname = "docutils";
version = "0.14"; version = "0.15.2";
src = fetchurl { src = fetchPypi {
url = "mirror://sourceforge/docutils/${pname}.tar.gz"; inherit pname version;
sha256 = "0x22fs3pdmr42kvz6c654756wja305qv6cx1zbhwlagvxgr4xrji"; sha256 = "168s5v7bff5ar9jspr6wn823q1sbn0jhnbp9clk41nl8j09fmbm2";
}; };
# Only Darwin needs LANG, but we could set it in general. # Only Darwin needs LANG, but we could set it in general.
@ -30,6 +31,10 @@ buildPythonPackage rec {
done done
''; '';
# Four tests are broken with 3.8.
# test_writers.test_odt.DocutilsOdtTestCase
doCheck = !isPy38;
meta = { meta = {
description = "Docutils -- Python Documentation Utilities"; description = "Docutils -- Python Documentation Utilities";
homepage = http://docutils.sourceforge.net/; homepage = http://docutils.sourceforge.net/;