Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Aug 2014 17:52:16 +0400
From:      Maxim V FIlimonov <che@bein.link>
To:        freebsd-ports@freebsd.org
Subject:   Re: devel/stlink
Message-ID:  <1637580.MU5nyUnjPH@quad>
In-Reply-To: <20140802133153.GG2644@home.opsec.eu>
References:  <4443341.EiikNYngQK@quad> <20140802133153.GG2644@home.opsec.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 02 August 2014 15:31:53 Kurt Jaeger wrote:
> Hi!
> 
> > The mentioned port in the ports collection is probably outdated; also,
> > sometimes it misbehaves. The stlink itself is in active development, so
> > sometimes you might need the newest version with better board support.
> > Based on the port from my ports tree, I made a port for the recent
> > version. How could I submit something like stlink-recent to the ports
> > tree?
> 
> I saw
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192331
> 
> and had a look at it. The ports system has no real hook to
> allow a port just to 'get the latest code and install it'.
> 
> But the script that does this is helpful to understand the basic
> process.
> 
> Can you tell me where I get urllib2 for python on an 10.0-amd64 ?
> 
> f10$ ./latest.sh
> Traceback (most recent call last):
>   File "getlatest.py", line 1, in <module>
>     import urllib2
> ImportError: No module named 'urllib2'

Ah, I see, in my case it was installed with python27:
$ pkg which /usr/local/lib/python2.7/urllib2.py
/usr/local/lib/python2.7/urllib2.py was installed by package python27-2.7.8

-- 
wbr, Maxim Filimonov
che@bein.link
-- 
wbr, Maxim Filimonov
che@bein.link



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1637580.MU5nyUnjPH>