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