devel/stlink

Olivier Duchateau duchateau.olivier at gmail.com
Sat Aug 2 13:52:47 UTC 2014


2014-08-02 15:31 GMT+02:00 Kurt Jaeger <pi at opsec.eu>:
> Hi!

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'

In Python2 'urllib2' is standard module.

In Python3, this module is splitted urllib.request and urllib.error.

>
> --
> pi at opsec.eu            +49 171 3101372                         6 years to go !
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"



-- 
olivier


More information about the freebsd-ports mailing list