Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/itstool/
Date: Sun, 17 Nov 2019 14:17:56
Message-Id: 1574000246.6efd678c2d2720c172a538521d566fd4cbf4ce10.leio@gentoo
1 commit: 6efd678c2d2720c172a538521d566fd4cbf4ce10
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 17 14:17:11 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 17 14:17:26 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6efd678c
7
8 dev-util/itstool: bump to 2.0.6, use python3
9
10 Bug: https://bugs.gentoo.org/683226
11 Package-Manager: Portage-2.3.69, Repoman-2.3.12
12 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
13
14 dev-util/itstool/Manifest | 1 +
15 dev-util/itstool/itstool-2.0.6.ebuild | 33 +++++++++++++++++++++++++++++++++
16 2 files changed, 34 insertions(+)
17
18 diff --git a/dev-util/itstool/Manifest b/dev-util/itstool/Manifest
19 index f8df0d9d46c..892d1eb51f7 100644
20 --- a/dev-util/itstool/Manifest
21 +++ b/dev-util/itstool/Manifest
22 @@ -1 +1,2 @@
23 DIST itstool-2.0.2.tar.bz2 96748 BLAKE2B 7eb8f52c233878a35c01b7eea51c46f9700e9de827d38df41bb3ea78ca4ef284ab59c423aaf9876fceef023cb9d13d2d50c9ab57caff9e5fad217363412cf472 SHA512 b7915c4d463fe5969e282029c2080730c78e18d2d5878da53c6a370f471056b51a7b3f3c08417b801212ba674f55548a112a12a9d81634f60d1e52a8a47a4aa2
24 +DIST itstool-2.0.6.tar.bz2 103067 BLAKE2B 72d3254cb88ef9d02f9b3509a46c2208e98bf6327f139e5d29b99cc6d80651bd41ea3bfb78e48e23cf7c217770cd8c6c74b00946ad9d2608a92925e43457edf0 SHA512 51058bdcb208f6fb84810f71f9bf67e42b00bf157a9756be45f060849c0aff36f695f4403404193720d4446818fa77de61fa94eed9e8789d26c07a2926072eb7
25
26 diff --git a/dev-util/itstool/itstool-2.0.6.ebuild b/dev-util/itstool/itstool-2.0.6.ebuild
27 new file mode 100644
28 index 00000000000..0cd59f92128
29 --- /dev/null
30 +++ b/dev-util/itstool/itstool-2.0.6.ebuild
31 @@ -0,0 +1,33 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{5,6,7} )
38 +PYTHON_REQ_USE="xml"
39 +
40 +inherit python-single-r1
41 +
42 +DESCRIPTION="Translation tool for XML documents that uses gettext files and ITS rules"
43 +HOMEPAGE="http://itstool.org/"
44 +SRC_URI="http://files.itstool.org/itstool/${P}.tar.bz2"
45 +
46 +# files in /usr/share/itstool/its are under a special exception || GPL-3+
47 +LICENSE="GPL-3+"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux"
50 +IUSE=""
51 +
52 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
53 +
54 +RDEPEND="${PYTHON_DEPS}
55 + dev-libs/libxml2[python,${PYTHON_USEDEP}]"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND=""
58 +
59 +DOCS=(ChangeLog NEWS) # AUTHORS, README are empty
60 +
61 +src_test() {
62 + :
63 + #"${PYTHON}" tests/run_tests.py || die "test suite failed" # Test suite not shipped in tarball
64 +}