mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
python3Packages.pelican: 4.9.1 -> 4.10.1
This commit is contained in:
parent
120b7797f6
commit
1efc1339a1
@ -29,6 +29,8 @@
|
||||
watchfiles,
|
||||
|
||||
# tests
|
||||
beautifulsoup4,
|
||||
lxml,
|
||||
mock,
|
||||
pytestCheckHook,
|
||||
pytest-xdist,
|
||||
@ -36,7 +38,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pelican";
|
||||
version = "4.9.1";
|
||||
version = "4.10.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@ -45,7 +47,7 @@ buildPythonPackage rec {
|
||||
owner = "getpelican";
|
||||
repo = "pelican";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-nz2OnxJ4mGgnafz4Xp8K/BTyVgXNpNYqteNL1owP8Hk=";
|
||||
hash = "sha256-RWzOMp3H0QbZyGsXd8cakeRqZhVH7d6ftxZHBA4cPSA=";
|
||||
# Remove unicode file names which leads to different checksums on HFS+
|
||||
# vs. other filesystems because of unicode normalisation.
|
||||
postFetch = ''
|
||||
@ -58,9 +60,7 @@ buildPythonPackage rec {
|
||||
--replace "'git'" "'${git}/bin/git'"
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-backend
|
||||
];
|
||||
build-system = [ pdm-backend ];
|
||||
|
||||
pythonRelaxDeps = [ "unidecode" ];
|
||||
|
||||
@ -72,7 +72,7 @@ buildPythonPackage rec {
|
||||
typogrify
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
blinker
|
||||
docutils
|
||||
feedgenerator
|
||||
@ -84,13 +84,19 @@ buildPythonPackage rec {
|
||||
tzdata
|
||||
unidecode
|
||||
watchfiles
|
||||
] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ];
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
markdown = [ markdown ];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
beautifulsoup4
|
||||
lxml
|
||||
mock
|
||||
pandoc
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
pandoc
|
||||
];
|
||||
|
||||
pytestFlagsArray = [
|
||||
@ -104,6 +110,10 @@ buildPythonPackage rec {
|
||||
"test_custom_generation_works"
|
||||
"test_custom_locale_generation_works"
|
||||
"test_deprecated_attribute"
|
||||
# AttributeError
|
||||
"test_wp_custpost_true_dirpage_false"
|
||||
"test_can_toggle_raw_html_code_parsing"
|
||||
"test_dirpage_directive_for_page_kind"
|
||||
];
|
||||
|
||||
env.LC_ALL = "en_US.UTF-8";
|
||||
@ -122,6 +132,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Static site generator that requires no database or server-side logic";
|
||||
homepage = "https://getpelican.com/";
|
||||
changelog = "https://github.com/getpelican/pelican/blob/${version}/docs/changelog.rst";
|
||||
license = licenses.agpl3Only;
|
||||
maintainers = with maintainers; [
|
||||
offline
|
||||
|
Loading…
Reference in New Issue
Block a user