Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libiptcdata/
Date: Wed, 26 Feb 2020 11:49:32
Message-Id: 1582717741.57977e0d23776701bf3cb920cc4885f15d57179c.asturm@gentoo
1 commit: 57977e0d23776701bf3cb920cc4885f15d57179c
2 Author: Francesco Riosa <vivo75 <AT> gmail <DOT> com>
3 AuthorDate: Tue Feb 11 16:37:30 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 26 11:49:01 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57977e0d
7
8 media-libs/libiptcdata: 1.0.5 version bump
9
10 This version is ABI and API compatible (no code change) to version
11 1.0.4.
12 However build system has been updated and it's now possible to use
13 python 3
14
15 Closes: https://bugs.gentoo.org/708706
16 Signed-off-by: Francesco Riosa <vivo75 <AT> gmail.com>
17 Closes: https://github.com/gentoo/gentoo/pull/14626
18 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
19
20 media-libs/libiptcdata/Manifest | 1 +
21 media-libs/libiptcdata/libiptcdata-1.0.5.ebuild | 47 +++++++++++++++++++++++++
22 media-libs/libiptcdata/metadata.xml | 9 ++++-
23 3 files changed, 56 insertions(+), 1 deletion(-)
24
25 diff --git a/media-libs/libiptcdata/Manifest b/media-libs/libiptcdata/Manifest
26 index 54428519730..82ef7d2f682 100644
27 --- a/media-libs/libiptcdata/Manifest
28 +++ b/media-libs/libiptcdata/Manifest
29 @@ -1 +1,2 @@
30 DIST libiptcdata-1.0.4.tar.gz 569132 BLAKE2B acfac5b4f5945f38da47a5280b92939089f2efa8e4ceae9ad00d9d21c7f062445f63c74d61493e711102789edb8c98ffe49083635f67e836a87c32e1127371e5 SHA512 8656b2febaec133d1a8783252047672bebd58ae9ceab5477c4acfa35bcc381dfda08b655a957b962878af28c69deff77d920e780c84b4debdff2f980b3de94e8
31 +DIST libiptcdata-1.0.5.tar.gz 593779 BLAKE2B 7e5226a289fed5c2f4b662efaa693a8b38e95ac34bc1365af05d1af649be876d3e5b58fecea4818255879bd7518aa482cb623540601fb3c8065acd428439a29c SHA512 64ef44b1e639890004f31d5d42844ba25ed558f0a118f1dad9bc3f4dcad2457e51b825a13df849659b0e15afc78f528f330b03be94cdf156bd95b62dc419494a
32
33 diff --git a/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild
34 new file mode 100644
35 index 00000000000..e83c9fc1c5b
36 --- /dev/null
37 +++ b/media-libs/libiptcdata/libiptcdata-1.0.5.ebuild
38 @@ -0,0 +1,47 @@
39 +# Copyright 1999-2020 Gentoo Authors
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=7
43 +
44 +PYTHON_COMPAT=( python{3_6,3_7,3_8} )
45 +
46 +inherit python-single-r1
47 +
48 +DESCRIPTION="Library for International Press Telecommunications Council (IPTC) metadata"
49 +HOMEPAGE="https://github.com/ianw/libiptcdata http://libiptcdata.sourceforge.net"
50 +SRC_URI="https://github.com/ianw/${PN}/releases/download/release_1_0_5/${P}.tar.gz"
51 +
52 +LICENSE="LGPL-2"
53 +SLOT="0"
54 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
55 +IUSE="doc examples nls python"
56 +
57 +RDEPEND="python? ( ${PYTHON_DEPS} )
58 + nls? ( virtual/libintl )"
59 +DEPEND="${RDEPEND}"
60 +BDEPEND="nls? ( >=sys-devel/gettext-0.13.1 )
61 + doc? ( >=dev-util/gtk-doc-1 )"
62 +
63 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
64 +
65 +pkg_setup() {
66 + use python && python-single-r1_pkg_setup
67 +}
68 +
69 +src_configure () {
70 + local myeconfargs=( $(use_enable nls)
71 + $(use_enable python)
72 + $(use_enable doc gtk-doc) )
73 + econf "${myeconfargs[@]}"
74 +}
75 +
76 +src_install () {
77 + default
78 +
79 + if use examples; then
80 + dodoc python/README
81 + dodoc -r python/examples
82 + fi
83 +
84 + find "${D}" -name '*.la' -delete || die "failed to remove *.la files"
85 +}
86
87 diff --git a/media-libs/libiptcdata/metadata.xml b/media-libs/libiptcdata/metadata.xml
88 index ddce428cece..e578bbc2440 100644
89 --- a/media-libs/libiptcdata/metadata.xml
90 +++ b/media-libs/libiptcdata/metadata.xml
91 @@ -1,7 +1,14 @@
92 <?xml version="1.0" encoding="UTF-8"?>
93 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
94 <pkgmetadata>
95 - <!-- maintainer-needed -->
96 + <maintainer type="person">
97 + <email>vivo75@×××××.com</email>
98 + <name>Francesco Riosa</name>
99 + </maintainer>
100 + <maintainer type="project">
101 + <email>proxy-maint@g.o</email>
102 + <name>Proxy Maintainers</name>
103 + </maintainer>
104 <longdescription lang="en">
105 libiptcdata is a library, written in C, for manipulating the
106 International Press Telecommunications Council (IPTC) metadata stored