From owner-freebsd-ports@FreeBSD.ORG Sat Aug 2 14:18:21 2014 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D8188B3 for <freebsd-ports@freebsd.org>; Sat, 2 Aug 2014 14:18:21 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB04924D6 for <freebsd-ports@freebsd.org>; Sat, 2 Aug 2014 14:18:20 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from <lists@opsec.eu>) id 1XDa8Z-0008tm-HY; Sat, 02 Aug 2014 16:18:19 +0200 Date: Sat, 2 Aug 2014 16:18:19 +0200 From: Kurt Jaeger <lists@opsec.eu> To: Maxim V FIlimonov <che@bein.link> Subject: Re: devel/stlink Message-ID: <20140802141819.GH2644@home.opsec.eu> References: <4443341.EiikNYngQK@quad> <20140802133153.GG2644@home.opsec.eu> <1637580.MU5nyUnjPH@quad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1637580.MU5nyUnjPH@quad> Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 02 Aug 2014 14:18:21 -0000 > > 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 Thanks. Now, frankly, I have no easy idea on how to integrate this "get the latest from github" into a proper port. Probably some /usr/ports/Mk/ magic needs to be created for this to work in general. Would it be sufficient if we just commit the current "state", explain the process in the pkg-message and provide your scripts latest.sh and getlatest.py with a stlink-related name ? I know this is not purrrrfect 8-} -- pi@opsec.eu +49 171 3101372 6 years to go !