python.pelican: 3.6.3 -> 3.7.1, enable tests
This commit is contained in:
parent
9ede2d15aa
commit
330dee016d
|
@ -17872,20 +17872,22 @@ in {
|
||||||
|
|
||||||
pelican = buildPythonPackage rec {
|
pelican = buildPythonPackage rec {
|
||||||
name = "pelican-${version}";
|
name = "pelican-${version}";
|
||||||
version = "3.6.3";
|
version = "3.7.1";
|
||||||
disabled = isPy26;
|
disabled = isPy26;
|
||||||
|
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "getpelican";
|
owner = "getpelican";
|
||||||
repo = "pelican";
|
repo = "pelican";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1k572anw39rws67mvxl2w6y93y8w8q5smnwc0dd2gnnr16cc2vsh";
|
sha256 = "0nkxrb77k2bra7bqckg7f5k73wk98hcbz7rimxl8sw05b2bvd62g";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ../development/python-modules/pelican-fix-tests-with-pygments-2.1.patch ];
|
doCheck = true;
|
||||||
|
|
||||||
# There's still some failing tests due to pygments 2.1.3
|
# https://github.com/getpelican/pelican/pull/2004#issuecomment-247610716
|
||||||
doCheck = false;
|
checkPhase = ''
|
||||||
|
${python.interpreter} -Wd -m unittest discover
|
||||||
|
'';
|
||||||
|
|
||||||
buildInputs = with self; [
|
buildInputs = with self; [
|
||||||
pkgs.glibcLocales
|
pkgs.glibcLocales
|
||||||
|
@ -17901,7 +17903,7 @@ in {
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [
|
propagatedBuildInputs = with self; [
|
||||||
jinja2 pygments docutils pytz unidecode six dateutil feedgenerator
|
jinja2 pygments docutils pytz unidecode six dateutil feedgenerator
|
||||||
blinker pillow beautifulsoup4 markupsafe
|
blinker pillow beautifulsoup4 markupsafe lxml
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch= ''
|
postPatch= ''
|
||||||
|
|
Loading…
Reference in New Issue