1 |
commit: 9737bee012074e668d6c4edd5502f6bcf0f0e015 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 11 10:52:01 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 11 21:32:52 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9737bee0 |
7 |
|
8 |
kde-apps/lokalize: Drop kde-apps/kross-interpreters from RDEPEND |
9 |
|
10 |
- python3_9 support |
11 |
- Update DESCRIPTION, HOMEPAGE |
12 |
- Use optfeature |
13 |
- Move kde-apps/kross-interpreters to pkg_postinst info instead |
14 |
- Add app-text/languagetool optfeature info |
15 |
- Disable broken tests like everyone else does |
16 |
|
17 |
Bug: https://bugs.gentoo.org/735368 |
18 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
19 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
20 |
|
21 |
...ze-20.04.3.ebuild => lokalize-20.04.3-r1.ebuild} | 21 ++++++++++++--------- |
22 |
kde-apps/lokalize/lokalize-20.08.2.ebuild | 7 +++---- |
23 |
2 files changed, 15 insertions(+), 13 deletions(-) |
24 |
|
25 |
diff --git a/kde-apps/lokalize/lokalize-20.04.3.ebuild b/kde-apps/lokalize/lokalize-20.04.3-r1.ebuild |
26 |
similarity index 70% |
27 |
rename from kde-apps/lokalize/lokalize-20.04.3.ebuild |
28 |
rename to kde-apps/lokalize/lokalize-20.04.3-r1.ebuild |
29 |
index 47b2267aae8..746d63ff5e6 100644 |
30 |
--- a/kde-apps/lokalize/lokalize-20.04.3.ebuild |
31 |
+++ b/kde-apps/lokalize/lokalize-20.04.3-r1.ebuild |
32 |
@@ -4,14 +4,13 @@ |
33 |
EAPI=7 |
34 |
|
35 |
ECM_HANDBOOK="forceoptional" |
36 |
-PYTHON_COMPAT=( python3_{7,8} ) |
37 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
38 |
KFMIN=5.70.0 |
39 |
QTMIN=5.14.2 |
40 |
-inherit python-single-r1 ecm kde.org |
41 |
+inherit python-single-r1 ecm kde.org optfeature |
42 |
|
43 |
-DESCRIPTION="KDE Applications 5 translation tool" |
44 |
-HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize |
45 |
-https://l10n.kde.org/tools/" |
46 |
+DESCRIPTION="Localization tool for KDE software and other free and open source software" |
47 |
+HOMEPAGE="https://kde.org/applications/en/lokalize https://l10n.kde.org/tools/" |
48 |
|
49 |
LICENSE="GPL-2" # TODO: CHECK |
50 |
SLOT="5" |
51 |
@@ -20,6 +19,8 @@ IUSE="" |
52 |
|
53 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
54 |
|
55 |
+RESTRICT+=" test" # tests are broken, bug 739734 |
56 |
+ |
57 |
DEPEND="${PYTHON_DEPS} |
58 |
>=app-text/hunspell-1.2.8:= |
59 |
>=dev-qt/qtdbus-${QTMIN}:5 |
60 |
@@ -49,7 +50,6 @@ RDEPEND="${DEPEND} |
61 |
$(python_gen_cond_dep ' |
62 |
dev-python/translate-toolkit[${PYTHON_MULTI_USEDEP}] |
63 |
') |
64 |
- >=kde-apps/kross-interpreters-${PV}:${SLOT}[python] |
65 |
" |
66 |
|
67 |
pkg_setup() { |
68 |
@@ -63,8 +63,11 @@ src_install() { |
69 |
} |
70 |
|
71 |
pkg_postinst() { |
72 |
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then |
73 |
+ elog "Optional dependencies:" |
74 |
+ optfeature "Autofetch kde.org translations in new project wizard" dev-vcs/subversion |
75 |
+ optfeature "msgmerge tool" "kde-apps/kross-interpreters:${SLOT}[python]" |
76 |
+ optfeature "Spell and grammar checking" app-text/languagetool |
77 |
+ fi |
78 |
ecm_pkg_postinst |
79 |
- |
80 |
- has_version dev-vcs/subversion || \ |
81 |
- elog "To be able to autofetch KDE translations in new project wizard, install dev-vcs/subversion." |
82 |
} |
83 |
|
84 |
diff --git a/kde-apps/lokalize/lokalize-20.08.2.ebuild b/kde-apps/lokalize/lokalize-20.08.2.ebuild |
85 |
index 75ad7f645d7..219483699fe 100644 |
86 |
--- a/kde-apps/lokalize/lokalize-20.08.2.ebuild |
87 |
+++ b/kde-apps/lokalize/lokalize-20.08.2.ebuild |
88 |
@@ -4,14 +4,13 @@ |
89 |
EAPI=7 |
90 |
|
91 |
ECM_HANDBOOK="forceoptional" |
92 |
-PYTHON_COMPAT=( python3_{7,8} ) |
93 |
+PYTHON_COMPAT=( python3_{7,8,9} ) |
94 |
KFMIN=5.72.0 |
95 |
QTMIN=5.14.2 |
96 |
inherit python-single-r1 ecm kde.org optfeature |
97 |
|
98 |
-DESCRIPTION="KDE Applications 5 translation tool" |
99 |
-HOMEPAGE="https://kde.org/applications/office/org.kde.lokalize |
100 |
-https://l10n.kde.org/tools/" |
101 |
+DESCRIPTION="Localization tool for KDE software and other free and open source software" |
102 |
+HOMEPAGE="https://kde.org/applications/en/lokalize https://l10n.kde.org/tools/" |
103 |
|
104 |
LICENSE="GPL-2" # TODO: CHECK |
105 |
SLOT="5" |