summaryrefslogtreecommitdiff
path: root/dev-util/itstool
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-util/itstool
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/itstool')
-rw-r--r--dev-util/itstool/Manifest3
-rw-r--r--dev-util/itstool/itstool-2.0.2.ebuild34
-rw-r--r--dev-util/itstool/metadata.xml13
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/itstool/Manifest b/dev-util/itstool/Manifest
new file mode 100644
index 000000000000..8250f2fc315e
--- /dev/null
+++ b/dev-util/itstool/Manifest
@@ -0,0 +1,3 @@
+DIST itstool-2.0.2.tar.bz2 96748 BLAKE2B 7eb8f52c233878a35c01b7eea51c46f9700e9de827d38df41bb3ea78ca4ef284ab59c423aaf9876fceef023cb9d13d2d50c9ab57caff9e5fad217363412cf472 SHA512 b7915c4d463fe5969e282029c2080730c78e18d2d5878da53c6a370f471056b51a7b3f3c08417b801212ba674f55548a112a12a9d81634f60d1e52a8a47a4aa2
+EBUILD itstool-2.0.2.ebuild 859 BLAKE2B 9d60ef92779de81e0662417880af27bfa31a8a9478a463ecfdccf66b21571dca51e6c35bbf5783d43ca843b058cd78dae9b67c1792231aad28d2b4d539b0c72b SHA512 71847839b23ebfdc42496969d5fc3db84d36de69a66d36a34a0846871a9a6d2cee481e36bdf3ca5e7aefbad7f9f44e5be36bc3afe6b413fb7699972792b9a5da
+MISC metadata.xml 525 BLAKE2B a7e426bd9dd273bed10ad74315547eb758df04ceb7ee6ef66f643ba23e60ad8b9c80aa344688e4af7a16fd699a500cf7ceb9d24eb94a930eebf1637e09919a5f SHA512 ad9928fa0359257e3418c0fb6bba6c416fc4505911f35e97377ef7c1426e228b34312fc3156e98f3657974f1156ee2bdc58bbb4b51903bb40b10c97b0714b39b
diff --git a/dev-util/itstool/itstool-2.0.2.ebuild b/dev-util/itstool/itstool-2.0.2.ebuild
new file mode 100644
index 000000000000..adf8ad6b64c8
--- /dev/null
+++ b/dev-util/itstool/itstool-2.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+
+inherit python-single-r1
+
+DESCRIPTION="Translation tool for XML documents that uses gettext files and ITS rules"
+HOMEPAGE="http://itstool.org/"
+SRC_URI="http://files.itstool.org/itstool/${P}.tar.bz2"
+
+# files in /usr/share/itstool/its are HPND/as-is || GPL-3
+LICENSE="GPL-3+ || ( HPND GPL-3+ )"
+SLOT="0"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~arm-linux ~x86-linux"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/libxml2[python,${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ DOCS=(ChangeLog NEWS) # AUTHORS, README are empty
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ python_fix_shebang .
+}
diff --git a/dev-util/itstool/metadata.xml b/dev-util/itstool/metadata.xml
new file mode 100644
index 000000000000..90e918d8d5dc
--- /dev/null
+++ b/dev-util/itstool/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">ITS Tool allows you to translate your XML documents
+ with gettext PO files, using rules from the W3C Internationalization Tag Set
+ (ITS) to determine what to translate and how to separate it into PO file
+ messages.
+</longdescription>
+</pkgmetadata>