voicevox-engine: fix with poetry-core >=2.0; voicevox: 0.22.3 -> 0.22.4 (#377185)

This commit is contained in:
Toma 2025-01-29 08:26:50 +01:00 committed by GitHub
commit 61cb3e69a7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 4 deletions

View File

@ -2,7 +2,7 @@ diff --git a/pyproject.toml b/pyproject.toml
index fa23446..6a7705c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,7 +40,15 @@ use_parentheses = true
@@ -40,7 +40,20 @@ use_parentheses = true
datas = "datas" # PyInstaller's argument
[tool.poetry]
@ -12,7 +12,12 @@ index fa23446..6a7705c 100644
+authors = []
+description = ""
+packages = [ { include = "voicevox_engine" } ]
+include = [ "resources/**/*", "run.py", "engine_manifest.json", "presets.yaml"]
+include = [
+ { path = "resources/**/*", format = ["sdist", "wheel"] },
+ { path = "run.py", format = ["sdist", "wheel"] },
+ { path = "engine_manifest.json", format = ["sdist", "wheel"] },
+ { path = "presets.yaml", format = ["sdist", "wheel"] }
+]
+
+[tool.poetry.scripts]
+voicevox-engine = "run:main"

View File

@ -15,13 +15,13 @@
buildNpmPackage rec {
pname = "voicevox";
version = "0.22.3";
version = "0.22.4";
src = fetchFromGitHub {
owner = "VOICEVOX";
repo = "voicevox";
tag = version;
hash = "sha256-6z+A4bJIDfN/K8IjEdt2TqEa/EDt4uQpGh+zSWfP74I=";
hash = "sha256-IOs3wBcFYpO4AHiWFOQWd5hp6EmwyA7Rcc8wjHKvYNQ=";
};
patches = [