babeldoc: 0.5.22 -> 0.6.4
Diff: https://github.com/funstory-ai/BabelDOC/compare/v0.5.22...v0.6.4 Changelog: https://github.com/funstory-ai/BabelDOC/releases/tag/v0.6.4
This commit is contained in:
@@ -1,34 +1,29 @@
|
||||
{
|
||||
lib,
|
||||
python3Packages,
|
||||
python313Packages,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
writableTmpDirAsHomeHook,
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
let
|
||||
python3Packages = python313Packages;
|
||||
in
|
||||
python3Packages.buildPythonApplication (finalAttrs: {
|
||||
pname = "babeldoc";
|
||||
version = "0.5.22";
|
||||
version = "0.6.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "funstory-ai";
|
||||
repo = "BabelDOC";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-ArLTv5AjpUdbsN8bQs03ATwg5ugXetld2FmHhicU8OE=";
|
||||
hash = "sha256-eYCIXMYOJPGReDFkFdxgrhpkAG/pA14v3Si+5unfXz4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
name = "rename-python-levenshtein-to-levenshtein";
|
||||
url = "https://github.com/funstory-ai/BabelDOC/pull/542.patch?full_index=1";
|
||||
hash = "sha256-rjXhKVFivkJo54WdYiihqB3lrlu4YEwVZZkE4WBatWs=";
|
||||
})
|
||||
build-system = with python3Packages; [
|
||||
hatchling
|
||||
];
|
||||
|
||||
build-system = with python3Packages; [ hatchling ];
|
||||
|
||||
dependencies =
|
||||
with python3Packages;
|
||||
[
|
||||
@@ -72,12 +67,10 @@ python3Packages.buildPythonApplication (finalAttrs: {
|
||||
|
||||
pythonImportsCheck = [ "babeldoc" ];
|
||||
|
||||
# Upstream dropped its test suite in 0.6.0
|
||||
nativeCheckInputs = [
|
||||
writableTmpDirAsHomeHook
|
||||
python3Packages.pytestCheckHook
|
||||
versionCheckHook
|
||||
];
|
||||
versionCheckKeepEnvironment = "HOME";
|
||||
|
||||
meta = {
|
||||
description = "PDF scientific paper translation and bilingual comparison library";
|
||||
|
||||
Reference in New Issue
Block a user