summaryrefslogtreecommitdiff
path: root/textproc/translate-toolkit/files
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/translate-toolkit/files')
-rw-r--r--textproc/translate-toolkit/files/patch-pyproject.toml50
-rw-r--r--textproc/translate-toolkit/files/patch-requirements-optional.txt41
2 files changed, 50 insertions, 41 deletions
diff --git a/textproc/translate-toolkit/files/patch-pyproject.toml b/textproc/translate-toolkit/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e83a8644d0fc
--- /dev/null
+++ b/textproc/translate-toolkit/files/patch-pyproject.toml
@@ -0,0 +1,50 @@
+--- pyproject.toml.orig 2025-09-09 08:12:05 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@ requires = [
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+- "setuptools>=78.0.2"
++ "setuptools>=61"
+ ]
+
+ [dependency-groups]
+@@ -71,8 +71,7 @@ keywords = [
+ keywords = [
+ "i18n l10n gettext translate"
+ ]
+-license = "GPL-2.0-or-later"
+-license-files = ["COPYING"]
++license = { text = "GPL-2.0-or-later" }
+ name = "translate-toolkit"
+ requires-python = ">=3.9"
+
+@@ -87,10 +86,10 @@ ical = [
+ "fluent.syntax>=0.19.0,<0.20"
+ ]
+ ical = [
+- "vobject==0.9.9"
++ "vobject>=0.9.6.1"
+ ]
+ ini = [
+- "iniparse==0.5"
++ "iniparse>=0.5"
+ ]
+ levenshtein = [
+ "python-Levenshtein>=0.21.0"
+@@ -105,13 +104,13 @@ spellcheck = [
+ "pyparsing>=3.2.0,<3.3"
+ ]
+ spellcheck = [
+- "pyenchant==3.2.2"
++ "pyenchant>=3.2.2"
+ ]
+ subtitles = [
+ "aeidon>=1.14.1,<1.16"
+ ]
+ tmserver = [
+- "cheroot==10.0.1"
++ "cheroot>=10.0.1"
+ ]
+ trados = [
+ "BeautifulSoup4>=4.13.0"
diff --git a/textproc/translate-toolkit/files/patch-requirements-optional.txt b/textproc/translate-toolkit/files/patch-requirements-optional.txt
deleted file mode 100644
index cd44db4f6b6d..000000000000
--- a/textproc/translate-toolkit/files/patch-requirements-optional.txt
+++ /dev/null
@@ -1,41 +0,0 @@
---- requirements/optional.txt.orig 2023-07-26 04:25:02 UTC
-+++ requirements/optional.txt
-@@ -1,27 +1,27 @@
- -r required.txt
-
- # Format support
--aeidon==1.13 # Subtitles
-+aeidon>=1.13 # Subtitles
- # Format support
- BeautifulSoup4>=4.3 # Trados
- # Encoding detection
--charset-normalizer==3.3.2 # chardet
-+charset-normalizer>=3.3.2 # chardet
- # Tmserver backend
--cheroot==10.0.0 # tmserver
-+cheroot>=10.0.0 # tmserver
- # Format support
--fluent.syntax==0.19.0 # Fluent
-+fluent.syntax>=0.19.0 # Fluent
- # Format support
--iniparse==0.5 # INI
-+iniparse>=0.5 # INI
- # Format support
--mistletoe==1.3.0 # Markdown
-+mistletoe>=1.3.0 # Markdown
- # Format support
--phply==1.2.6 # PHP
--pyenchant==3.2.2 # spellcheck
-+phply>=1.2.6 # PHP
-+pyenchant>=3.2.2 # spellcheck
- # Windows Resources (rc2po and po2rc)
--pyparsing==3.1.1 # RC
-+pyparsing>=3.1.1 # RC
- # Faster matching in e.g. pot2po
- python-Levenshtein>=0.12 # Levenshtein
- # Format support
--ruamel.yaml==0.18.5 # YAML
-+ruamel.yaml>=0.18.5 # YAML
- # Format support
--vobject==0.9.6.1 # iCal
-+vobject>=0.9.6.1 # iCal