From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/translate-toolkit/
Date: Thu, 29 Apr 2021 19:56:42 +0000 (UTC) [thread overview]
Message-ID: <1619726147.4c392f9143974e05d69b3263469eb3a75d3a3ffc.mgorny@gentoo> (raw)
commit: 4c392f9143974e05d69b3263469eb3a75d3a3ffc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 29 18:46:37 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 29 19:55:47 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c392f91
dev-python/translate-toolkit: Bump to 3.3.6
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/translate-toolkit/Manifest | 1 +
.../translate-toolkit-3.3.6.ebuild | 94 ++++++++++++++++++++++
2 files changed, 95 insertions(+)
diff --git a/dev-python/translate-toolkit/Manifest b/dev-python/translate-toolkit/Manifest
index c6cbe51a6a8..04fd7af2a48 100644
--- a/dev-python/translate-toolkit/Manifest
+++ b/dev-python/translate-toolkit/Manifest
@@ -1,3 +1,4 @@
+DIST translate-3.3.6.gh.tar.gz 1140841 BLAKE2B 77d8b930ba8a91e801a04c67bdd13c0c6538d4df2418f26e1f6bfdb98c275fe746062840034c5345dcf61abc87ee6b8e1b2cda34a71c8e3850ac37df707b8a34 SHA512 c6eedcdb9ecece4804c25aedd57de37da12baf9b2f3bae1c87377f9a07e1e5f1cfeeed8073861b73201de3b35ec4e5da5f972d775c7ff35fa7be21c97746435d
DIST translate-toolkit-3.3.3.tar.gz 5903525 BLAKE2B a21c5d89c808615ff2f3f718e732ce5d5591a9d8a997950ae1066655cc3e4382065f75e7a86f8e37bdd0e146283f9bd941ff20479cb1af635f393e0e7f8fc196 SHA512 41964dc26dfbb983b1c2e4cbb0e9d8eb2a035369a94ef872f7703080b5ca0280a9364916a1e1256cd358b263bc72198e767462cc9065b54556fc481d1b85a836
DIST translate-toolkit-3.3.4.tar.gz 6060105 BLAKE2B 01f8e718a4a60d0f4d439be14b30b2e3f040045630d6f6254ad291a2558d59718521bfb79761d20933f7bb1abd2229ccce67fd71ccd54f6e43dffa7e7ecedd8c SHA512 6bfc4387aa600610fa2a9e7e58368924768ddcc8eb2a697ef02c59682e1e1304b7096f48a1e6e38cd47c68c644dff01d35ffc988d378dbf4833b41d1c5432c05
DIST translate-toolkit-3.3.5.tar.gz 6061630 BLAKE2B 18843344acf8eecf6d1859e1c6d6148046ba3adc56d00413234e1fb755e7cc14f3ffc22d9cc46b249d01ea5d4b73b4edf4d8c6a22ddb882c62183e1f4ce8dd23 SHA512 9e5837e487b7ec703078d6babfeb2fc720c4c4fd2896e5a23839a856d76f6372d5d3c72f5f1e20ee9d130cb2224c5d8a5b9e33e0154484edd0e0ed756ae8429f
diff --git a/dev-python/translate-toolkit/translate-toolkit-3.3.6.ebuild b/dev-python/translate-toolkit/translate-toolkit-3.3.6.ebuild
new file mode 100644
index 00000000000..b816d199c9f
--- /dev/null
+++ b/dev-python/translate-toolkit/translate-toolkit-3.3.6.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_REQ_USE="sqlite"
+inherit distutils-r1
+
+MY_P=translate-${PV}
+DESCRIPTION="Toolkit to convert between many translation formats"
+HOMEPAGE="https://github.com/translate/translate"
+SRC_URI="
+ https://github.com/translate/translate/archive/refs/tags/${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="+html +ical +ini +subtitles +yaml"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+BDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]"
+RDEPEND="${BDEPEND}
+ !dev-python/pydiff
+ app-text/iso-codes
+ >=dev-python/chardet-3.0.4[${PYTHON_USEDEP}]
+ dev-python/cheroot[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.3.1[${PYTHON_USEDEP}]
+ >=dev-python/pycountry-19.8.18[${PYTHON_USEDEP}]
+ >=dev-python/python-levenshtein-0.12.0[${PYTHON_USEDEP}]
+ dev-python/ruamel-yaml[${PYTHON_USEDEP}]
+ sys-devel/gettext
+ html? ( dev-python/utidylib[${PYTHON_USEDEP}] )
+ ical? ( dev-python/vobject[${PYTHON_USEDEP}] )
+ ini? ( >=dev-python/iniparse-0.5[${PYTHON_USEDEP}] )
+ subtitles? ( media-video/gaupol[${PYTHON_USEDEP}] )
+ yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
+"
+BDEPEND+="
+ test? ( dev-python/phply[${PYTHON_USEDEP}] )"
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-bootstrap-theme
+distutils_enable_tests pytest
+
+PATCHES=(
+ "${FILESDIR}"/translate-toolkit-3.3.0-no-install-docs.patch
+)
+
+python_test() {
+ local deselect=(
+ # Fails with network-sandbox (and even with it off but w/ softer fail)
+ --deselect 'tests/xliff_conformance/test_xliff_conformance.py::test_open_office_to_xliff'
+ --deselect 'tests/xliff_conformance/test_xliff_conformance.py::test_po_to_xliff'
+ )
+
+ if ! use ini; then
+ deselect+=(
+ --ignore translate/convert/test_ini2po.py
+ --ignore translate/convert/test_po2ini.py
+ )
+ fi
+
+ if ! use subtitles; then
+ deselect+=(
+ --ignore translate/storage/test_subtitles.py
+ )
+ fi
+
+ # translate/storage/test_mo.py needs 'pocompile'
+ distutils_install_for_testing
+ epytest "${deselect[@]}"
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if ! use html; then
+ rm "${ED}"/usr/bin/{html2po,po2html} || die
+ fi
+ if ! use ical; then
+ rm "${ED}"/usr/bin/{ical2po,po2ical} || die
+ fi
+ if ! use ini; then
+ rm "${ED}"/usr/bin/{ini2po,po2ini} || die
+ fi
+ if ! use subtitles; then
+ rm "${ED}"/usr/bin/{sub2po,po2sub} || die
+ fi
+
+ python_optimize
+}
next reply other threads:[~2021-04-29 19:56 UTC|newest]
Thread overview: 172+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-29 19:56 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-13 20:03 [gentoo-commits] repo/gentoo:master commit in: dev-python/translate-toolkit/ Arthur Zamarin
2025-03-08 16:29 Michał Górny
2025-03-08 14:15 Arthur Zamarin
2025-03-01 11:57 Michał Górny
2025-02-21 5:20 Michał Górny
2025-02-15 9:03 Arthur Zamarin
2025-02-13 7:27 Michał Górny
2025-02-01 13:19 Michał Górny
2025-02-01 12:17 Arthur Zamarin
2025-01-28 5:31 Michał Górny
2025-01-18 10:03 Michał Górny
2025-01-18 9:13 Arthur Zamarin
2025-01-17 4:33 Michał Górny
2025-01-04 15:00 Michał Górny
2025-01-04 13:28 Arthur Zamarin
2024-12-28 10:47 Michał Górny
2024-12-28 10:06 Arthur Zamarin
2024-12-28 7:53 Michał Górny
2024-12-21 8:11 Michał Górny
2024-12-18 8:07 Michał Górny
2024-12-17 20:17 Arthur Zamarin
2024-12-14 7:36 Michał Górny
2024-11-02 8:59 Michał Górny
2024-11-02 8:49 Michał Górny
2024-10-19 8:42 Michał Górny
2024-10-19 8:07 Arthur Zamarin
2024-10-15 7:00 Michał Górny
2024-10-12 7:28 Michał Górny
2024-10-05 4:58 Michał Górny
2024-09-24 6:41 Michał Górny
2024-08-24 13:06 Michał Górny
2024-08-24 9:05 Arthur Zamarin
2024-08-07 14:10 Michał Górny
2024-07-11 11:59 Michał Górny
2024-06-19 4:36 Michał Górny
2024-05-16 16:28 Arthur Zamarin
2024-04-22 15:29 Michał Górny
2024-02-18 3:28 Michał Górny
2024-02-17 21:42 Jakov Smolić
2024-02-02 13:24 Michał Górny
2024-01-06 10:16 Michał Górny
2024-01-06 10:08 Michał Górny
2023-12-21 15:17 Michał Górny
2023-11-29 11:04 Michał Górny
2023-11-16 4:09 Michał Górny
2023-11-08 15:39 Michał Górny
2023-11-04 18:03 Michał Górny
2023-10-06 15:08 Michał Górny
2023-10-06 14:35 Arthur Zamarin
2023-09-06 2:41 Michał Górny
2023-09-02 14:11 Michał Górny
2023-09-02 6:47 Sam James
2023-09-02 3:30 Sam James
2023-09-01 19:29 Arthur Zamarin
2023-09-01 19:26 Arthur Zamarin
2023-09-01 16:40 Arthur Zamarin
2023-07-26 6:03 Michał Górny
2023-07-24 11:06 Michał Górny
2023-07-24 10:05 Jakov Smolić
2023-07-01 5:22 Michał Górny
2023-06-14 16:11 Michał Górny
2023-04-08 12:24 Michał Górny
2023-04-08 8:01 Arthur Zamarin
2023-03-11 9:58 Michał Górny
2023-03-11 8:34 Arthur Zamarin
2023-03-08 5:09 Michał Górny
2023-03-08 5:09 Michał Górny
2023-03-08 5:09 Michał Górny
2023-03-08 4:44 Michał Górny
2023-03-03 5:53 Michał Górny
2023-02-06 17:07 Michał Górny
2023-02-03 15:08 Michał Górny
2023-02-03 12:52 Arthur Zamarin
2023-01-19 6:08 Michał Górny
2023-01-17 15:44 Michał Górny
2023-01-14 4:57 Michał Górny
2023-01-02 20:56 Andreas Sturmlechner
2022-12-10 9:06 Michał Górny
2022-12-10 8:57 Arthur Zamarin
2022-12-08 16:57 Michał Górny
2022-11-06 7:59 Michał Górny
2022-10-22 16:00 Michał Górny
2022-10-22 15:56 Arthur Zamarin
2022-09-18 20:00 Michał Górny
2022-09-09 7:23 Arthur Zamarin
2022-08-03 7:04 Michał Górny
2022-08-02 20:27 Sam James
2022-07-19 1:09 Sam James
2022-07-14 20:23 Arthur Zamarin
2022-07-02 4:47 Michał Górny
2022-06-13 17:41 Arthur Zamarin
2022-06-10 4:15 Michał Górny
2022-06-10 3:09 Sam James
2022-06-02 2:03 Sam James
2022-05-11 8:05 Michał Górny
2022-05-10 2:25 Sam James
2022-03-31 14:08 Michał Górny
2022-03-31 14:02 Jakov Smolić
2022-02-25 23:41 Michał Górny
2022-02-13 9:39 Michał Górny
2022-02-13 8:41 Jakov Smolić
2022-01-14 18:28 Arthur Zamarin
2022-01-05 17:27 Arthur Zamarin
2021-12-25 18:43 Michał Górny
2021-12-25 17:55 Arthur Zamarin
2021-11-25 5:54 Sam James
2021-09-25 22:14 Michał Górny
2021-09-25 19:56 Sam James
2021-09-11 7:15 Michał Górny
2021-08-25 8:23 Andreas Sturmlechner
2021-08-20 7:17 Michał Górny
2021-08-19 22:13 Michał Górny
2021-06-05 20:55 Michał Górny
2021-05-06 11:19 Michał Górny
2021-05-06 10:13 Sam James
2021-04-28 8:19 Michał Górny
2021-04-07 8:06 Michał Górny
2021-04-07 6:23 Sam James
2021-04-02 8:51 Michał Górny
2021-03-18 0:31 Michał Górny
2021-03-17 20:00 Sam James
2021-03-07 19:48 Sam James
2021-03-07 19:46 Sam James
2021-03-03 11:40 Michał Górny
2021-03-02 8:56 Michał Górny
2021-03-02 5:52 Sam James
2021-02-21 5:21 Sam James
2021-02-19 9:04 Michał Górny
2021-02-19 4:07 Sam James
2021-02-05 8:47 Michał Górny
2021-01-29 19:31 Michał Górny
2020-12-15 11:05 Michał Górny
2020-12-15 6:37 Sam James
2020-12-15 6:28 Sam James
2020-11-08 10:10 Michał Górny
2020-11-08 9:56 Sam James
2020-11-08 9:48 Sam James
2020-11-08 9:43 Sam James
2020-10-11 21:33 Andreas Sturmlechner
2020-08-22 7:13 Michał Górny
2020-07-21 9:33 Agostino Sarubbo
2020-07-05 20:12 Michał Górny
2020-06-08 16:34 Mart Raudsepp
2020-04-17 0:04 Andreas Sturmlechner
2020-04-17 0:04 Andreas Sturmlechner
2020-01-10 9:50 Andreas Sturmlechner
2020-01-10 1:26 Thomas Deutschmann
2019-12-23 3:25 Aaron Bauman
2019-12-21 10:49 Mikle Kolyada
2019-12-18 0:32 Andreas Sturmlechner
2019-12-02 23:29 Aaron Bauman
2019-12-02 16:33 Mikle Kolyada
2019-12-02 16:12 Mikle Kolyada
2019-11-27 2:58 Aaron Bauman
2019-11-24 20:48 Andreas Sturmlechner
2019-11-24 17:13 Andreas Sturmlechner
2019-04-27 14:46 Andreas Sturmlechner
2019-03-11 21:03 Andreas Sturmlechner
2018-07-09 1:35 Andreas Sturmlechner
2018-06-26 18:23 Pacho Ramos
2018-06-26 18:23 Pacho Ramos
2017-03-26 9:25 Andreas Sturmlechner
2017-03-02 10:30 Agostino Sarubbo
2017-02-04 19:26 Andreas Sturmlechner
2016-12-18 15:57 Agostino Sarubbo
2016-12-18 15:44 Agostino Sarubbo
2016-12-08 12:24 Michał Górny
2016-12-08 12:24 Michał Górny
2016-11-06 18:11 David Seifert
2016-11-06 18:11 David Seifert
2016-10-21 21:40 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619726147.4c392f9143974e05d69b3263469eb3a75d3a3ffc.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox