ablog: 0.11.11 -> 0.11.12

This commit is contained in:
emaryn 2025-02-12 09:28:29 +08:00 committed by emaryn
parent fd527aacc0
commit 97d6788c5e

View file

@ -1,29 +1,30 @@
{ {
lib, lib,
python3, python3Packages,
fetchFromGitHub, fetchFromGitHub,
gitUpdater, gitUpdater,
}: }:
python3.pkgs.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "ablog"; pname = "ablog";
version = "0.11.11"; version = "0.11.12";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sunpy"; owner = "sunpy";
repo = "ablog"; repo = "ablog";
rev = "v${version}"; tag = "v${version}";
hash = "sha256-Hx4iLO+Of2o4tmIDS17SxyswbW2+KMoD4BjB4q1KU9M="; hash = "sha256-bPTaxkuIKeypfnZItG9cl51flHBIx/yg0qENuiqQgY4=";
}; };
nativeBuildInputs = with python3.pkgs; [ build-system = with python3Packages; [
setuptools setuptools
setuptools-scm setuptools-scm
wheel
]; ];
propagatedBuildInputs = with python3.pkgs; [ nativeBuildInputs = with python3Packages; [ wheel ];
dependencies = with python3Packages; [
docutils docutils
feedgen feedgen
invoke invoke
@ -33,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
watchdog watchdog
]; ];
nativeCheckInputs = with python3.pkgs; [ nativeCheckInputs = with python3Packages; [
pytestCheckHook pytestCheckHook
defusedxml defusedxml
]; ];
@ -47,13 +48,17 @@ python3.pkgs.buildPythonApplication rec {
"ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError "ignore::sphinx.deprecation.RemovedInSphinx90Warning" # Ignore ImportError
]; ];
# assert "post 1" not in html
# AssertionError
disabledTests = [ "test_not_safe_for_parallel_read" ];
passthru.updateScript = gitUpdater { rev-prefix = "v"; }; passthru.updateScript = gitUpdater { rev-prefix = "v"; };
meta = with lib; { meta = {
description = "ABlog for blogging with Sphinx"; description = "ABlog for blogging with Sphinx";
mainProgram = "ablog"; mainProgram = "ablog";
homepage = "https://ablog.readthedocs.io/en/latest/"; homepage = "https://ablog.readthedocs.io/en/latest/";
license = licenses.mit; license = lib.licenses.mit;
maintainers = with maintainers; [ rgrinberg ]; maintainers = with lib.maintainers; [ rgrinberg ];
}; };
} }