Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708706 - media-libs/libiptcdata-1.0.5 version bump and python3 support
Summary: media-libs/libiptcdata-1.0.5 version bump and python3 support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-02-08 11:45 UTC by Andreas Sturmlechner
Modified: 2020-02-26 11:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
libiptcdata-1.0.5.ebuild (libiptcdata-1.0.5.ebuild,1.18 KB, text/plain)
2020-02-11 11:30 UTC, Francesco Riosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2020-02-08 11:45:42 UTC
Apparently Fedora have a way to build it with Python 3.8, we should be able to do the same.
Comment 1 Andreas Sturmlechner gentoo-dev 2020-02-08 12:04:59 UTC
Adding Francesco who maintains the only unconditional revdep - media-gfx/rawtherapee - of this package (in total: 2 revdeps): maybe you are interested in picking up that bump.
Comment 2 Francesco Riosa 2020-02-08 22:41:05 UTC
It seem the project has a new home ora at least a friendly fork with version 1.0.5 (year 2017) (in place of 1.0.4 on sourceforge year 2009):
https://github.com/ianw/libiptcdata

I'll have a look in the next few days
Comment 3 Francesco Riosa 2020-02-11 11:30:15 UTC
Created attachment 613276 [details]
libiptcdata-1.0.5.ebuild

ebuild for libiptcdata-1.0.5
API e ABI are unchanged, but please let me time until tomorrow to run-test the package

leb .../ebuilds/media-libs/libiptcdata # diff -u libiptcdata-1.0.4-r1.ebuild libiptcdata-1.0.5.ebuild
--- libiptcdata-1.0.4-r1.ebuild 2020-02-07 09:26:59.224746692 +0000
+++ libiptcdata-1.0.5.ebuild    2020-02-11 11:22:59.959261980 +0000
@@ -1,20 +1,19 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2

-EAPI=5
+EAPI=7

-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python{3_7,3_8} )

 inherit eutils python-single-r1

-DESCRIPTION="library for manipulating the International Press Telecommunications
-Council (IPTC) metadata"
-HOMEPAGE="http://libiptcdata.sourceforge.net"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+DESCRIPTION="library for International Press Telecommunications Council (IPTC) metadata"
+HOMEPAGE="https://github.com/ianw/libiptcdata http://libiptcdata.sourceforge.net"
+SRC_URI="https://github.com/ianw/${PN}/releases/download/release_1_0_5/${P}.tar.gz"

 LICENSE="LGPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ia64 ppc ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="doc examples nls python"

 RDEPEND="python? ( ${PYTHON_DEPS} )
Comment 4 Francesco Riosa 2020-02-11 16:06:28 UTC
by the way upstream confirmed that it's required: https://github.com/gentoo/gentoo/pull/14590#discussion_r377667501
Comment 5 Andreas Sturmlechner gentoo-dev 2020-02-11 16:17:20 UTC
It's fine, if the py3 version works.
Comment 6 Francesco Riosa 2020-02-11 16:45:49 UTC
https://github.com/gentoo/gentoo/pull/14626
Comment 7 Francesco Riosa 2020-02-11 23:44:16 UTC
(In reply to Francesco Riosa from comment #3)
> Created attachment 613276 [details]
> libiptcdata-1.0.5.ebuild
> 
> ebuild for libiptcdata-1.0.5
> API e ABI are unchanged, but please let me time until tomorrow to run-test
> the package

Confirmed working for rawtherapee, IPTC data is saved in files and it's possible to read it from Gwenview for example.
Comment 8 Larry the Git Cow gentoo-dev 2020-02-26 11:49:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57977e0d23776701bf3cb920cc4885f15d57179c

commit 57977e0d23776701bf3cb920cc4885f15d57179c
Author:     Francesco Riosa <vivo75@gmail.com>
AuthorDate: 2020-02-11 16:37:30 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-26 11:49:01 +0000

    media-libs/libiptcdata: 1.0.5 version bump
    
    This version is ABI and API compatible (no code change) to version
    1.0.4.
    However build system has been updated and it's now possible to use
    python 3
    
    Closes: https://bugs.gentoo.org/708706
    Signed-off-by: Francesco Riosa <vivo75@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/14626
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/libiptcdata/Manifest                 |  1 +
 media-libs/libiptcdata/libiptcdata-1.0.5.ebuild | 47 +++++++++++++++++++++++++
 media-libs/libiptcdata/metadata.xml             |  9 ++++-
 3 files changed, 56 insertions(+), 1 deletion(-)