Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libiptcdata: libiptcdata-1.0.4-r1.ebuild ChangeLog
Date: Sun, 30 Nov 2014 13:36:13
Message-Id: 20141130133609.9C5ACB391@oystercatcher.gentoo.org
1 mgorny 14/11/30 13:36:09
2
3 Modified: ChangeLog
4 Added: libiptcdata-1.0.4-r1.ebuild
5 Log:
6 Convert to python-single-r1.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
9
10 Revision Changes Path
11 1.28 media-libs/libiptcdata/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libiptcdata/ChangeLog?rev=1.28&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libiptcdata/ChangeLog?rev=1.28&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libiptcdata/ChangeLog?r1=1.27&r2=1.28
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/ChangeLog,v
20 retrieving revision 1.27
21 retrieving revision 1.28
22 diff -u -r1.27 -r1.28
23 --- ChangeLog 24 Jun 2014 03:46:01 -0000 1.27
24 +++ ChangeLog 30 Nov 2014 13:36:09 -0000 1.28
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/libiptcdata
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/ChangeLog,v 1.27 2014/06/24 03:46:01 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/ChangeLog,v 1.28 2014/11/30 13:36:09 mgorny Exp $
30 +
31 +*libiptcdata-1.0.4-r1 (30 Nov 2014)
32 +
33 + 30 Nov 2014; Michał Górny <mgorny@g.o> +libiptcdata-1.0.4-r1.ebuild:
34 + Convert to python-single-r1.
35
36 24 Jun 2014; Patrick Lauer <patrick@g.o> libiptcdata-1.0.4.ebuild:
37 Remove obsolete lafilefixer message
38
39
40
41 1.1 media-libs/libiptcdata/libiptcdata-1.0.4-r1.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libiptcdata/libiptcdata-1.0.4-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libiptcdata/libiptcdata-1.0.4-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libiptcdata-1.0.4-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/libiptcdata/libiptcdata-1.0.4-r1.ebuild,v 1.1 2014/11/30 13:36:09 mgorny Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 )
55
56 inherit eutils python-single-r1
57
58 DESCRIPTION="library for manipulating the International Press Telecommunications
59 Council (IPTC) metadata"
60 HOMEPAGE="http://libiptcdata.sourceforge.net"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
62
63 LICENSE="LGPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
66 IUSE="doc examples nls python"
67
68 RDEPEND="python? ( ${PYTHON_DEPS} )
69 nls? ( virtual/libintl )"
70 DEPEND="${RDEPEND}
71 nls? ( >=sys-devel/gettext-0.13.1 )
72 doc? ( >=dev-util/gtk-doc-1 )"
73
74 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
75
76 pkg_setup() {
77 use python && python-single-r1_pkg_setup
78 }
79
80 src_configure () {
81 econf \
82 $(use_enable nls) \
83 $(use_enable python) \
84 $(use_enable doc gtk-doc)
85 }
86
87 src_install () {
88 emake DESTDIR="${D}" install || die "emake install failed."
89 dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed."
90
91 if use examples; then
92 insinto /usr/share/doc/${PF}/python
93 doins python/README || die "doins failed"
94 doins -r python/examples || die "doins 2 failed"
95 fi
96
97 find "${D}" -name '*.la' -delete || die "failed to remove *.la files"
98 }