ports/118301: [patch] devel/py-setuptools easy-install.pth contents lost on upgrade clobbering ports using it

Douglas Thrift douglaswth at gmail.com
Fri Feb 24 18:45:38 UTC 2012


On Fri, Feb 24, 2012 at 8:43 AM, Michael Scheidell
<scheidell at freebsd.org> wrote:
> As promissed, attached is a patch to back out portrevision 3, or, most specifically, leave it as an option knob, default
> off.
>
> It packages just fine, with and without:
>
> http://people.freebsd.org/~scheidell/py27-setuptools-0.6c11_4.WITHOUT.log  (the default, just like it did before
> portrevision 3)
>
> and, with: (with option knob set)
>
> by looking at Makefile, and pkg-plist changes, I think I correctly wrapped !defines() around all the changed things.
>
> (note: this sat for 3 years.  python@ got 'open pr' emails, once a week, so, speak up now, or forever hold your peace. or
> nra members, your piece)
>
> I can tell you this packages, both ways, leaves no left overs, but I can't tell you if it solves the original problem with
> the knob, or the problem created with revision 3.  But I can tell you, it looks like this attached patch reverses revision
> 3.
>
> Please, if you have any stake in this, test it, or, in when this gets committed, don't complain.
> --
> Michael Scheidell, CTO
> SECNAP Network Security Corporation
> http://people.freebsd.org/~scheidell
>
> ______________________________________________________________________
> This email has been scanned and certified safe by SpammerTrap(r).
> For Information please see http://www.spammertrap.com/
> ______________________________________________________________________
>
>
> _______________________________________________
> freebsd-python at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscribe at freebsd.org"
>

Hello,

What was the issue with portrevision 3? Also the name and description
of the new knob do not make sense. What the knob enables is preserving
the contents of the easy-install.pth file which specifies what
packages are installed; easy-install itself is core functionality of
setuptools that is not affected by the knob.

It really seems unacceptable that upgrading setuptools pretty much
clobbers dependent ports. When other things like libraries are
upgraded in this fashion there is usually a notice in UPDATING or the
portrevision of dependent ports is bumped.  I don't think having a
knob makes any sense. Either fix whatever problem there is with what
the preservation patch did or back it out and make sure whoever
upgrades setuptools puts notices in UPDATING or bumps portrevisions.

Thanks!
-- 
Douglas William Thrift
<douglaswth at gmail.com>
<http://douglasthrift.net/>


More information about the freebsd-python mailing list