From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B47861381F3 for ; Thu, 15 Aug 2013 08:01:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E4C8E0B83; Thu, 15 Aug 2013 08:01:07 +0000 (UTC) Received: from amun.cheops.bitzolder.nl (amun.cheops.bitzolder.nl [83.161.135.166]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85655E0B7B for ; Thu, 15 Aug 2013 08:01:06 +0000 (UTC) Received: from ra.cheops.bitzolder.nl ([2001:888:1022:0:219:66ff:fe5b:d55d] helo=gentoo.org) by amun.cheops.bitzolder.nl with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1V9sUR-0000j3-FG; Thu, 15 Aug 2013 10:01:06 +0200 Date: Thu, 15 Aug 2013 10:00:57 +0200 From: Fabian Groffen To: gentoo-portage-dev@lists.gentoo.org Cc: W-Mark Kubacki Subject: Re: [gentoo-portage-dev] [PATCH 3/3] Add CPU model name to output of getportageversion as fifth element Message-ID: <20130815080057.GZ29797@gentoo.org> References: <1376511040-15874-1-git-send-email-wmark@hurrikane.de> <1376511040-15874-4-git-send-email-wmark@hurrikane.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Yylu36WmvOXNoKYn" Content-Disposition: inline In-Reply-To: <1376511040-15874-4-git-send-email-wmark@hurrikane.de> User-Agent: Mutt/1.5.21 (SunOS 5.11, VIM - Vi IMproved 7.3) Organization: Gentoo Foundation, Inc. Sender: fabian@bitzolder.nl X-Content-Scanned: by amun.cheops.bitzolder.nl (Exim Exiscan) using SpamAssassin and ClamAV X-Archives-Salt: 235b76c3-b565-45ca-97f8-e6bc203d985b X-Archives-Hash: 9bb02a86b7cad2a32de6239d53f99837 --Yylu36WmvOXNoKYn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14-08-2013 22:10:40 +0200, Mark Kubacki wrote: > From: W-Mark Kubacki >=20 > It will read like this: > > Portage 2.1.13.7 (default/linux/amd64/13.0, gcc-4.6.2, glibc-2.18,=20 > > 3.9.0-rc8-mark-signed+ x86_64, Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz) >=20 > That new fifth element will be the CPU model name of the host > running Portage. It is not the target architecture! FYI: % python3 Python 3.3.2 (default, Jul 24 2013, 11:14:02)=20 [GCC 4.2.1 (Gentoo 4.2.1_p5666-r1, Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.release() '12.4.0' >>> platform.machine() 'x86_64' >>> platform.processor() 'i386' >>>=20 % python Python 3.2.3 (default, May 6 2013, 21:19:05)=20 [GCC 4.7.2] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.release() '5.11' >>> platform.machine() 'i86pc' >>> platform.processor() 'i386' >>>=20 % python Python 3.3.2 (default, Jul 15 2013, 13:51:24)=20 [GCC 4.7.2] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.release() '5.10' >>> platform.machine() 'sun4u' >>> platform.processor() 'sparc' >>>=20 % python Python 3.2.5 (default, Jul 15 2013, 11:37:08)=20 [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.release() '3.8.13-gentoo' >>> platform.machine() 'x86_64' >>> platform.processor() 'AMD Athlon(tm) 64 X2 Dual Core Processor 3800+' >>>=20 e.g. it seems to me only on Linux it gives fancy model output. Note that the first and second system were running a 64-bit Python as well as kernel. Fabian --=20 Fabian Groffen Gentoo on a different level --Yylu36WmvOXNoKYn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (SunOS) iEYEAREKAAYFAlIMirgACgkQX3X2B8XHTolq1wCfbtFMWSQDqNqw4FY9Aqg45gy5 nwsAni3sCLzuP/AiTA7nN6gR1/802+vg =OCRM -----END PGP SIGNATURE----- --Yylu36WmvOXNoKYn--