Bug 194701 - graphics/py-imaging: missing CONFLICTS for py-pillow
Summary: graphics/py-imaging: missing CONFLICTS for py-pillow
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords: easy
Depends on:
Blocks:
 
Reported: 2014-10-30 11:13 UTC by Carlos J Puga Medina
Modified: 2014-11-22 19:16 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos J Puga Medina 2014-10-30 11:13:58 UTC
I noticed that both are trying to be installed into the same place.

===> Moving suffixed files around
  bin/pilconvert.py --> bin/pilconvert.py-2.7
  bin/pilconvert.py-2.7 --> @bin/pilconvert.py
  bin/pildriver.py --> bin/pildriver.py-2.7
  bin/pildriver.py-2.7 --> @bin/pildriver.py
  bin/pilfile.py --> bin/pilfile.py-2.7
  bin/pilfile.py-2.7 --> @bin/pilfile.py
  bin/pilfont.py --> bin/pilfont.py-2.7
  bin/pilfont.py-2.7 --> @bin/pilfont.py
  bin/pilprint.py --> bin/pilprint.py-2.7
  bin/pilprint.py-2.7 --> @bin/pilprint.py
====> Compressing man pages (compress-man)
===>  Installing for py27-imaging-1.1.7_4
===>   Registering installation for py27-imaging-1.1.7_4
pkg-static: py27-imaging-1.1.7_4 conflicts with py27-pillow-2.6.0 (installs files into the same place).  Problematic file: /usr/local/bin/pilconvert.py-2.7
*** Error code 70

Stop.
make[1]: stopped in /usr/ports/graphics/py-imaging
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/py-imaging

===>>> Installation of py27-imaging-1.1.7_4 (graphics/py-imaging) failed
===>>> Aborting update
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-30 11:13:58 UTC
Maintainers CC'd
Comment 2 Marcus von Appen freebsd_committer freebsd_triage 2014-10-30 15:06:52 UTC
The conflict is correct, since py-pillow is meant to be a replacement for py-imaging.

py-imaging however does not contain a CONFLICTS or CONFLICTS_INSTALL line in its Makefile for py-pillow, which should be fixed.
Comment 3 Carlos J Puga Medina 2014-11-04 11:52:16 UTC
Ok, I don't have any complaint. I could install properly graphics/py-pillow since devel/py-itools depends on it.

Thanks for your feedback, Marcus.
Comment 4 commit-hook freebsd_committer freebsd_triage 2014-11-20 11:02:08 UTC
A commit references this bug:

Author: mva
Date: Thu Nov 20 11:01:23 UTC 2014
New revision: 372904
URL: https://svnweb.freebsd.org/changeset/ports/372904

Log:
  - Set a proper CONFLICTS with graphics/py-pillow

  PR:		194701
  Reported by:	Carlos Jacobo Puga Medina (cpm@fbsd.es)
  With hat:	python@

Changes:
  head/graphics/py-imaging/Makefile
Comment 5 Carlos J Puga Medina 2014-11-21 15:33:07 UTC
Thanks Marcus, I will test it tonight and come back with a reply :)
Comment 6 Carlos J Puga Medina 2014-11-22 19:16:26 UTC
It works properly :)