summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-04 09:44:34 +0000
committerJustin Lecher <jlec@gentoo.org>2013-12-04 09:44:34 +0000
commit3e969aef4e82d2ec380a8d30b37584ac8977a1f7 (patch)
treed5ade67384e31acc6d80c7ca26822cb3077b21a4 /dev-util/itstool
parentStabilise latest on amd64 and x86 and drop older. Needed to fix api incompati... (diff)
downloadgentoo-2-3e969aef4e82d2ec380a8d30b37584ac8977a1f7.tar.gz
gentoo-2-3e969aef4e82d2ec380a8d30b37584ac8977a1f7.tar.bz2
gentoo-2-3e969aef4e82d2ec380a8d30b37584ac8977a1f7.zip
dev-util/itstool: Bump to python-r1 eclass
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-util/itstool')
-rw-r--r--dev-util/itstool/ChangeLog8
-rw-r--r--dev-util/itstool/itstool-1.2.0-r1.ebuild35
-rw-r--r--dev-util/itstool/metadata.xml4
3 files changed, 44 insertions, 3 deletions
diff --git a/dev-util/itstool/ChangeLog b/dev-util/itstool/ChangeLog
index c20b480bf958..d3c5467d17ed 100644
--- a/dev-util/itstool/ChangeLog
+++ b/dev-util/itstool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/itstool
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/ChangeLog,v 1.32 2013/08/29 15:03:35 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/ChangeLog,v 1.33 2013/12/04 09:44:34 jlec Exp $
+
+*itstool-1.2.0-r1 (04 Dec 2013)
+
+ 04 Dec 2013; Justin Lecher <jlec@gentoo.org> +itstool-1.2.0-r1.ebuild,
+ metadata.xml:
+ Bump to python-r1 eclass
29 Aug 2013; Jeroen Roovers <jer@gentoo.org> itstool-1.2.0.ebuild:
Stable for HPPA (bug #482886).
diff --git a/dev-util/itstool/itstool-1.2.0-r1.ebuild b/dev-util/itstool/itstool-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..b61944f45179
--- /dev/null
+++ b/dev-util/itstool/itstool-1.2.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/itstool-1.2.0-r1.ebuild,v 1.1 2013/12/04 09:44:34 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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
index 7375ab1f55ba..dcf8006540cb 100644
--- a/dev-util/itstool/metadata.xml
+++ b/dev-util/itstool/metadata.xml
@@ -1,8 +1,8 @@
<?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
+ <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.