devel/stlink
Maxim V FIlimonov
che at bein.link
Sat Aug 2 13:52:18 UTC 2014
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 at bein.link
--
wbr, Maxim Filimonov
che at bein.link
More information about the freebsd-ports
mailing list