logo

overlay

My (experimental) gentoo overlay
commit: 04e13070065ddb158dde4e675e794b34e50b0d95
parent: 5951f4fea8335747512e5d43a062f67ee01a2ab6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 29 Mar 2019 02:37:43 +0100

dev-util/itstool: Bump to 2.0.5 (based on ::gentoo)

Diffstat:

Adev-util/itstool/Manifest1+
Adev-util/itstool/itstool-2.0.5.ebuild34++++++++++++++++++++++++++++++++++
Adev-util/itstool/metadata.xml12++++++++++++
3 files changed, 47 insertions(+), 0 deletions(-)

diff --git a/dev-util/itstool/Manifest b/dev-util/itstool/Manifest @@ -0,0 +1 @@ +DIST itstool-2.0.5.tar.bz2 102751 BLAKE2B 1c461a221ff064109493536dfb0f1edd73aa0a422753114646d6d4fcba1e40d889ee6f1712373394c11d99f44978ffb9acf491e3887f10d89e9460489ebad284 SHA512 67c55b83e43b5a4626a6633305b2e48a06a5defdf7725e78b00409edea213d166cb3d870a58eb402c48968bddd7c1778d9852acfa0ddebdd363f34ac13f32aa7 diff --git a/dev-util/itstool/itstool-2.0.5.ebuild b/dev-util/itstool/itstool-2.0.5.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) +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 ~x86-linux" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-libs/libxml2[python,${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +DOCS=(ChangeLog NEWS) # AUTHORS, README are empty + +src_prepare() { + python_fix_shebang . + + default +} diff --git a/dev-util/itstool/metadata.xml b/dev-util/itstool/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</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>