Opened 13 years ago

Closed 11 years ago

#33153 closed submission (fixed)

pyexiv2

Reported by: mnot@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-exiv2

Description

This is a Portfile for pyexiv2, which is tricky to build for OSX.

It's a good library for reading/writing EXIF, XMP, IPTC metadata from photographs; e.g., see:

https://github.com/BMorearty/exportiphoto

for an example use.

Attachments (1)

Portfile (2.5 KB) - added by mnot@… 13 years ago.
Revised portfile

Download all attachments as: .zip

Change History (10)

comment:1 Changed 13 years ago by mnot@…

Cc: mnot@… added

Cc Me!

comment:2 Changed 13 years ago by mf2k (Frank Schima)

Cc: mnot@… removed
Version: 2.0.3

This needs to be modified to be like a normal unified python module port. See, among many examples, py-pil. So this should be called py-pyexiv2 or py-exiv2. Then add subports for py26, py27, etc. A few other notes:

  1. openmaintainer alone is not valid. If you are not going to maintain this, then use nomaintainer.
  2. Use sha256 and rmd160 checksums instead of sha1 and md5.

comment:3 in reply to:  2 Changed 13 years ago by mnot@…

Replying to macsforever2000@…:

This needs to be modified to be like a normal unified python module port. See, among many examples, py-pil. So this should be called py-pyexiv2 or py-exiv2. Then add subports for py26, py27, etc.

Thanks, will do.

A few other notes:

  1. openmaintainer alone is not valid. If you are not going to maintain this, then use no maintainer.

I'll try.

  1. Use sha256 and rmd160 checksums instead of sha1 and md5.

I used md5 because that's what the distribution uses; will add sha256 and rmd160 (and remove sha1).

Changed 13 years ago by mnot@…

Attachment: Portfile added

Revised portfile

comment:4 Changed 13 years ago by mnot@…

I've updated. It's currently py27 only, because I can't find a way to specify which version of Python should be built with/installed to; pyexiv2 seems to hardwire it to the version scons uses (I've reported this to them).

Feedback appreciated; it's somewhat hacked together.

comment:5 Changed 13 years ago by mf2k (Frank Schima)

Port: py-exiv2 added; pyexiv2 removed

Sorry for the delay. Just add python versions and they will automatically become ports. so currently you only have "py27-exiv2". Adding "26" to python.versions will create a new port called "py26-exiv2". The unified python portgroup does all the work for you. You need to fix the maintainers line. The format for your email should be "mnot.net:mnot" not just "mnot".

comment:6 Changed 11 years ago by petrrr

Ports py26-exiv2 @0.3.2_1 and py27-exiv2 @0.3.2_1 already exist, but they to not use the unified port group and they seem to be conflicting. So some work may be necessary. However, this ticket should be changed to reflect his and to figure as submission.

py26-exiv2 @0.3.2_1 (python, graphics)
Variants:             universal

Description:          pyexiv2 is a Python binding to exiv2, the C++ library for manipulation
                      of EXIF, IPTC and XMP image metadata.
Homepage:             http://tilloy.net/dev/pyexiv2/overview.html

Build Dependencies:   scons
Library Dependencies: boost, exiv2, python26
Conflicts with:       py27-exiv2
Platforms:            darwin
License:              GPL-2
Maintainers:          devans@macports.org, openmaintainer@macports.org
py27-exiv2 @0.3.2_1 (python, graphics)
Variants:             universal

Description:          pyexiv2 is a Python binding to exiv2, the C++ library for manipulation
                      of EXIF, IPTC and XMP image metadata.
Homepage:             http://tilloy.net/dev/pyexiv2/overview.html

Build Dependencies:   scons
Library Dependencies: boost, exiv2, python27
Conflicts with:       py26-exiv2
Platforms:            darwin
License:              GPL-2
Maintainers:          devans@macports.org, openmaintainer@macports.org

comment:7 Changed 11 years ago by dbevans (David B. Evans)

Owner: changed from macports-tickets@… to devans@…
Status: newassigned

comment:8 Changed 11 years ago by dbevans (David B. Evans)

Thanks for pointing this out. Slipped under my radar since I wasn't copied. I'll work out the differences.

py26-exiv2 and py27-exiv2 conflict because they depend on boost with python support which cannot be both python26 and python27 simultaneously. Similarly, py26-exiv2 fails to build on the buildbots because it requires a non-default version of boost.

FWIW, these are somewhat outdated ports that are increasingly being replaced by port gexiv2 which is not a drop in replacement but supports gobject introspection.

Last edited 11 years ago by dbevans (David B. Evans) (previous) (diff)

comment:9 Changed 11 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

py26-exiv2, py27-exiv2 replaced by unified port py-exiv2 in r115893. I've retained maintainership but if you would like to be added as a co-maintainer, just let me know.

Note: See TracTickets for help on using tickets.