summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2011-10-24 16:31:17 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2011-10-24 16:31:17 +0000
commit01dfcba93131adc73159380e41d1ec145416b6f0 (patch)
treeb7b87aa3a07d547d60ed2dba763b5eca4ce00e64 /dev-util/itstool
parentadd upstream patch to fix filter function (diff)
downloadgentoo-2-01dfcba93131adc73159380e41d1ec145416b6f0.tar.gz
gentoo-2-01dfcba93131adc73159380e41d1ec145416b6f0.tar.bz2
gentoo-2-01dfcba93131adc73159380e41d1ec145416b6f0.zip
New package, moved from the gnome overlay. Needed for gnome-3.2.
(Portage version: 2.2.0_alpha70/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/itstool')
-rw-r--r--dev-util/itstool/ChangeLog10
-rw-r--r--dev-util/itstool/itstool-1.1.1.ebuild30
-rw-r--r--dev-util/itstool/metadata.xml10
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/itstool/ChangeLog b/dev-util/itstool/ChangeLog
new file mode 100644
index 000000000000..a2742ef2707c
--- /dev/null
+++ b/dev-util/itstool/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-util/itstool
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/ChangeLog,v 1.1 2011/10/24 16:31:17 tetromino Exp $
+
+*itstool-1.1.1 (24 Oct 2011)
+
+ 24 Oct 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
+ +itstool-1.1.1.ebuild, +metadata.xml:
+ New package, moved from the gnome overlay. Needed for gnome-3.2.
+
diff --git a/dev-util/itstool/itstool-1.1.1.ebuild b/dev-util/itstool/itstool-1.1.1.ebuild
new file mode 100644
index 000000000000..6d28354f78a2
--- /dev/null
+++ b/dev-util/itstool/itstool-1.1.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/itstool-1.1.1.ebuild,v 1.1 2011/10/24 16:31:17 tetromino Exp $
+
+EAPI="3"
+PYTHON_USE_WITH="xml"
+PYTHON_DEPEND="2:2.5"
+
+inherit base python
+
+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 freedist
+LICENSE="GPL-3 freedist"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-libs/libxml2[python]"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ DOCS=(ChangeLog NEWS) # AUTHORS, README are empty
+}
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
diff --git a/dev-util/itstool/metadata.xml b/dev-util/itstool/metadata.xml
new file mode 100644
index 000000000000..7375ab1f55ba
--- /dev/null
+++ b/dev-util/itstool/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+<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>