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
c...@bein.link
-- 
wbr, Maxim Filimonov
c...@bein.link
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to