[no subject]
Hi everyone, Does anyone know why PYDISTUTILS_INSTALLNOSINGLE is marked as deprecated? It is still used by 9 ports... I am working on an update to multimedia/quodlibet in PR208988, and it gives the warning "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore". However, if I remove that line from the Makefile, the build fails with "error: option --single-version-externally-managednot recognized". --single-version-externally-managed is added by USES=python if you dont set PYDISTUTILS_INSTALLNOSINGLE=yes. Regards, Ben -- -- From: Benjamin Woods woods...@gmail.com ___ 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"
[Bug 208486] lang/python27 lang/python33 lang/python34 lang/python35: correct __FreeBSD_version check for ctype UTF-8 bug workaround
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208486 --- Comment #7 from Antoine Brodin --- This changes breaks at least databases/py-psycopg2 : http://package22.nyi.freebsd.org/data/101i386-default-PR208486/2016-04-22_21h12m24s/logs/errors/py27-psycopg2-2.6.1_1.log -- You are receiving this mail because: You are the assignee for the bug. ___ 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"
[Bug 208486] lang/python27 lang/python33 lang/python34 lang/python35: correct __FreeBSD_version check for ctype UTF-8 bug workaround
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208486 --- Comment #8 from Antoine Brodin --- (In reply to Antoine Brodin from comment #7) The failure seems to be because osreldate.h is no longer included, so the previous patch may be less intrusive -- You are receiving this mail because: You are the assignee for the bug. ___ 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"
[Bug 208486] lang/python27 lang/python33 lang/python34 lang/python35: correct __FreeBSD_version check for ctype UTF-8 bug workaround
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208486 --- Comment #9 from Dimitry Andric --- (In reply to Antoine Brodin from comment #8) > (In reply to Antoine Brodin from comment #7) > The failure seems to be because osreldate.h is no longer included, Hmm, indeed; psycopg2-2.6.1/psycopg/config.h has this fragment: #if (defined(__FreeBSD__) && __FreeBSD_version < 503000) \ || (defined(_WIN32) && !defined(__GNUC__)) \ || (defined(sun) || defined(__sun__)) \ && (defined(__SunOS_5_8) || defined(__SunOS_5_9)) /* what's this, we have no round function either? */ static double round(double num) { return (num >= 0) ? floor(num + 0.5) : ceil(num - 0.5); } #endif but it doesn't include by itself. Apparently such python modules simply assume the existence of __FreeBSD_version, since it was always there. > so the > previous patch may be less intrusive Ok, let's go for that one then. I'll update it with revision bumps. -- You are receiving this mail because: You are the assignee for the bug. ___ 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"
[Bug 208486] lang/python27 lang/python33 lang/python34 lang/python35: correct __FreeBSD_version check for ctype UTF-8 bug workaround
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208486 Dimitry Andric changed: What|Removed |Added Attachment #169578|0 |1 is obsolete|| --- Comment #10 from Dimitry Andric --- Created attachment 169596 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=169596&action=edit Fix python issue 10910 for lang/python[27,33,34,35], with bump -- You are receiving this mail because: You are the assignee for the bug. ___ 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"
Re: PYDISTUTILS_INSTALLNOSINGLE error
On 23/04/2016 17:16, Ben Woods wrote: Hi everyone, Does anyone know why PYDISTUTILS_INSTALLNOSINGLE is marked as deprecated? It is still used by 9 ports... I am working on an update to multimedia/quodlibet in PR208988, and it gives the warning "PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore". However, if I remove that line from the Makefile, the build fails with "error: option --single-version-externally-managednot recognized". --single-version-externally-managed is added by USES=python if you dont set PYDISTUTILS_INSTALLNOSINGLE=yes. Regards, Ben I had that error for some time and when I finally looked into it, it turned out an old copy of setuptools was (partly) in place. This error also caused entry_points in setup.py to fail. Look in /usr/local/lib/python${VERS}/site-packages for multiple setuptools-**-egg-info folders. You might have (for py27) setuptools-20.0-py2.7.egg-info setuptools_hg-0.4-py2.7.egg-info setuptools_scm-1.10.1-py2.7.egg-info which is ok, but if you have setuptools-18.7-py2.7.egg-info setuptools-5.4.1-py2.7.egg-info then you should delete the setuptools-5.4.1-py2.7.egg-info Check that the old port is not installed - pkg info -ox setuptools for me the old version of the egg-info dir was an empty dir left behind from the old port version and I deleted it manually - no more problem. Check each python version as it most likely happen to each version installed at the time the old version was meant to be removed. -- FreeBSD - the place to B...Software Developing Shane Ambler ___ 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"