Re: moving py-setuptools in ports broke the installed port, or am I missing something?

2017-03-17 Thread Antoine Brodin
On Fri, Mar 17, 2017 at 10:02 AM, Jason de Cordoba  wrote:
> Hey there,
>
> Portmaster broke again from a moved port
>

You can try:

pkg set -n py27-setuptools27:py27-setuptools
pkg set -o devel/py-setuptools27:devel/py27-setuptools

(from /usr/ports/UPDATING)

Cheers,

Antoine
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


moving py-setuptools in ports broke the installed port, or am I missing something?

2017-03-17 Thread Jason de Cordoba
Hey there,

Portmaster broke again from a moved port

> port moved here from devel/py-setuptools on 2017-03-16
> REASON: Renamed to better match other python ports
>
> port moved here from devel/py-setuptools27 on 2017-03-16
> REASON: Renamed to better match other python port

Is there a way to uninstall py-setuptools via ports?

> root@???:/usr/ports/devel/py27-setuptools # cd
> /usr/ports/devel/py-setuptools && make deinstall && cd
> /usr/ports/devel/py27-setuptools && make reinstall && make clean
> /usr/ports/devel/py-setuptools: No such file or directory.

It not know it was previously moved from another location, why is the
installed port info discarded?

> root@www:/usr/ports/devel/py27-setuptools # cd
> /usr/ports/devel/py27-setuptools && make deinstall && make reinstall
> && make clean
> ===>  Deinstalling for py27-setuptools
> ===>   py27-setuptools not installed, skipping
> ===>  Installing for py27-setuptools-32.1.0
> ===>   py27-setuptools-32.1.0 depends on file:
> /usr/local/bin/python2.7 - found
> ===>   Registering installation for py27-setuptools-32.1.0
> Installing py27-setuptools-32.1.0...
> pkg-static: py27-setuptools-32.1.0 conflicts with
> py27-setuptools27-32.1.0 (installs files into the same place). 
> Problematic file:
> /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
> *** Error code 70
Is there a better way to publish this information to portmaster so it
adopts the move?

Thank you for your assistance, effort and contributions to FreeBSD!

Jason




signature.asc
Description: OpenPGP digital signature