Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 2014 15:52:44 +0200
From:      Olivier Duchateau <duchateau.olivier@gmail.com>
To:        Kurt Jaeger <pi@opsec.eu>
Cc:        Maxim V FIlimonov <part1zancheg@gmail.com>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: devel/stlink
Message-ID:  <CAHcdu2qzAGMntHagWcOR0-hjZ%2BwsD7VivtVT7Qw=RmhpRQytWA@mail.gmail.com>
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
2014-08-02 15:31 GMT+02:00 Kurt Jaeger <pi@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@opsec.eu            +49 171 3101372                         6 years to go !
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"



-- 
olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHcdu2qzAGMntHagWcOR0-hjZ%2BwsD7VivtVT7Qw=RmhpRQytWA>