/[gentoo-x86]/dev-util/itstool/itstool-1.2.0-r1.ebuild
Gentoo

Contents of /dev-util/itstool/itstool-1.2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Wed Apr 8 17:54:02 2015 UTC (4 years, 9 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +3 -3 lines
Drop old Python implementations

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/itstool/itstool-1.2.0-r1.ebuild,v 1.13 2014/04/21 10:29:12 ago Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8 PYTHON_REQ_USE="xml"
9
10 inherit python-single-r1
11
12 DESCRIPTION="Translation tool for XML documents that uses gettext files and ITS rules"
13 HOMEPAGE="http://itstool.org/"
14 SRC_URI="http://files.itstool.org/itstool/${P}.tar.bz2"
15
16 # files in /usr/share/itstool/its are HPND/as-is || GPL-3
17 LICENSE="GPL-3+ || ( HPND GPL-3+ )"
18 SLOT="0"
19 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~arm-linux ~x86-linux"
20 IUSE=""
21
22 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
23
24 RDEPEND="${PYTHON_DEPS}
25 dev-libs/libxml2[python,${PYTHON_USEDEP}]"
26 DEPEND="${RDEPEND}"
27
28 pkg_setup() {
29 DOCS=(ChangeLog NEWS) # AUTHORS, README are empty
30 python-single-r1_pkg_setup
31 }
32
33 src_prepare() {
34 python_fix_shebang .
35 }

  ViewVC Help
Powered by ViewVC 1.1.20