Re: Installing a port to a specific python version

2018-02-02 Thread Roland Smith
On Fri, Feb 02, 2018 at 07:35:36AM +0100, Gerhard Schmidt wrote: > Am 01.02.2018 um 22:59 schrieb Roland Smith: > > If you look at pkg.freebsd.org you'll see that e.g. python packages are now > > built for each supported version of python. So you can now do things like:: > &

Re: Installing a port to a specific python version

2018-02-01 Thread Roland Smith
On Thu, Feb 01, 2018 at 04:54:24PM +0100, Gerhard Schmidt wrote: > Am 01.02.2018 um 16:10 schrieb Roland Smith: > > On Wed, Jan 31, 2018 at 08:00:55AM +0100, Gerhard Schmidt wrote: > >> Hi > >> > >> I'm having a small problem with python and FreeBSD. I&#

Re: Installing a port to a specific python version

2018-02-01 Thread Roland Smith
On Wed, Jan 31, 2018 at 08:00:55AM +0100, Gerhard Schmidt wrote: > Hi > > I'm having a small problem with python and FreeBSD. I'm a python > developer. I Maintain some legacy code written in python2.7 and some new > projects in Python 3.6 and for testing purposes i need python 3.4 and > 3.5. So I

Re: ports depending on python modules

2017-11-07 Thread Roland Smith
On Wed, Nov 08, 2017 at 01:54:36AM +0800, blubee blubeeme wrote: > I am having some real tough time building this port that requires python > modules. > > Is there anyone in here willing to help me debug this issue? > > Whenever I add: > USE_GNOME py3gobject3 > > to my port it tries to build lib

Re: FYI: [lini...@lonesome.com: ports expiring soon due to Google Code site removal]

2017-03-26 Thread Roland Smith
On Fri, Mar 24, 2017 at 10:20:45AM -0500, Mark Linimon wrote: > - Forwarded message from Mark Linimon - > > Date: Fri, 24 Mar 2017 10:12:00 -0500 > From: Mark Linimon > To: po...@freebsd.org > Subject: ports expiring soon due to Google Code site removal > User-Agent: Mutt/1.5.23 (2014-03

Re: Proposal: default to concurrent

2017-01-30 Thread Roland Smith
On Sun, Jan 29, 2017 at 08:26:27PM -0500, John W. O'Brien wrote: > Thank you for your input. > > On 1/29/17 19:50, Roland Smith wrote: > [...] > > There also seems to be a trend of separate py3-* ports. This is sometimes a > > much better solution than trying to make

Re: Proposal: default to concurrent

2017-01-29 Thread Roland Smith
On Sun, Jan 29, 2017 at 02:08:00PM -0500, John W. O'Brien wrote: > Hello FreeBSD Python, > > One of the most common problems I encounter with python3 > interoperability is when the concurrent option is needed and can be > trivially enabled. There is a growing list of bugs where this, on a > indivi

Re: Python on FreeBSD is slower than on Linux

2015-11-19 Thread Roland Smith
On Thu, Nov 12, 2015 at 10:26:22PM +0300, Vladimir Bogrecov wrote: > Hello, > > I'm developing a little project on Python 3.5. The server's operating > system is FreeBSD 10.2. Today I decided to do a little test "just for fun" > and the result has confused me. I ran the following code > > import

Re: new numpy

2015-06-22 Thread Roland Smith
On Sun, Jun 21, 2015 at 05:12:35AM +0300, clutton wrote: > Hi list. Hi python fellows. > > I need new numpy, since old one doesn't work nice with python3. Numpy works fine with python 3. E.g. with Python3.4 installed (but *not* made the default version): cd /usr/ports/math/py-numpy/ make

Re: USE_PYTHON=concurrent

2015-03-31 Thread Roland Smith
On Mon, Mar 30, 2015 at 09:14:40PM +0200, David Naylor wrote: > Hi, > > I am investigating converting my ports to concurrent however I am not sure > how concurrent is supposed to work: > > I looked in /usr/ports/Mk and only found a documentation reference to > 'concurrent'. Setting USE_PYTHON=co

Updating numpy port to use blaslapack

2015-02-08 Thread Roland Smith
After some experimentation I found that openblas can be significantly faster than atlas (at least on AMD64). Combined with the recent introduction of /usr/ports/Mk/Uses/blaslapack.mk it seemed a good idea to update the numpy port to enable the use of openblas or atlas or netlib. A patch to do that

Re: Unicode Problem

2015-01-29 Thread Roland Smith
On Thu, Jan 29, 2015 at 02:42:31AM -0500, Robert Simmons wrote: > On Thu, Jan 29, 2015 at 2:29 AM, Roland Smith wrote: > > On Thu, Jan 29, 2015 at 01:38:21AM -0500, Robert Simmons wrote: > >> I'm having a unicode problem on FreeBSD lang/python34 that does not >

Re: Unicode Problem

2015-01-28 Thread Roland Smith
On Thu, Jan 29, 2015 at 01:38:21AM -0500, Robert Simmons wrote: > I'm having a unicode problem on FreeBSD lang/python34 that does not > appear on MacOS X. I've condensed the problem to one single line to > enter in the interpreter: > > FreeBSD: > Python 3.4.2 (default, Jan 28 2015, 22:23:57) > [GC

Re: python waf bypasses _MAKE_JOBS number

2015-01-13 Thread Roland Smith
On Wed, Jan 14, 2015 at 11:25:24AM +1100, Kubilay Kocak wrote: > On 14/01/2015 6:58 AM, Sean Bruno wrote: > > > > > For now, I'm going to start looking into Makefile patches to setup the > > correct variables so that waf doesn't assume we want number of CPU's > > detected. > > > > Might this be

Re: conlict in py-numpy (blocks wspr)

2014-08-12 Thread Roland Smith
On Tue, Aug 12, 2014 at 05:29:45PM -0400, Diane Bruce wrote: > ===> py33-numpy-1.8.1_1,1 depends on shared library: libblas.so - found > (/usr/local/lib/libblas.so.2) > ===> py33-numpy-1.8.1_1,1 depends on shared library: libumfpack.so - found > (/usr/local/lib/libumfpack.so.1) > ===> Checki

Re: ports/188964: [PATCH] graphics/py-stl: Fix WWW URL in pkg-descr

2014-04-24 Thread Roland Smith
On Thu, Apr 24, 2014 at 02:50:00PM +, Edwin Groothuis wrote: > The following reply was made to PR ports/188964; it has been noted by GNATS. > > From: Edwin Groothuis > To: rsm...@xs4all.nl > Cc: bug-follo...@freebsd.org > Subject: Re: ports/188964: [PATCH] graphics/py-stl: Fix WWW URL in pkg-

Re: svn commit: r318575 - in head/math/py-numpy: . files

2013-05-20 Thread Roland Smith
On Mon, May 20, 2013 at 06:28:27PM +0200, Marcus von Appen wrote: > On, Mon May 20, 2013, Dmitry Sivachenko wrote: > > > > > On 20.05.2013, at 11:21, Marcus von Appen wrote: > > > > > On, Mon May 20, 2013, Dmitry Sivachenko wrote: > > > > > > [...] > > > > > > Due to the changed distinfo entries

Re: ports/178256: [PATCH] Unbreak math/py-numpy with python 3.3 and update to 1.7.0.

2013-05-20 Thread Roland Smith
On Mon, May 20, 2013 at 06:21:07AM +, de...@freebsd.org wrote: > Synopsis: [PATCH] Unbreak math/py-numpy with python 3.3 and update to 1.7.0. > > State-Changed-From-To: feedback->closed > State-Changed-By: demon > State-Changed-When: Mon May 20 06:20:47 UTC 2013 > State-Changed-Why: > Port up

Re: building scons with default python3

2013-04-30 Thread Roland Smith
On Sun, Apr 28, 2013 at 10:42:08PM +0200, Roland Smith wrote: > On Fri, Apr 19, 2013 at 11:48:44PM -0400, Eitan Adler wrote: > > What do you think of the following? > > Looks OK. > > > This fixes issue with PYTHON_DEFAULT_VERSION=python3.3 > > Correct me

Re: building scons with default python3

2013-04-28 Thread Roland Smith
On Fri, Apr 19, 2013 at 11:48:44PM -0400, Eitan Adler wrote: > What do you think of the following? Looks OK. > This fixes issue with PYTHON_DEFAULT_VERSION=python3.3 Correct me if I'm wrong, but as far as I understand bsd.python.mk, this switch is meant to select an _older_ 2.x version as the d