From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SYDMQ-00028O-Jl for garchives@archives.gentoo.org; Sat, 26 May 2012 09:32:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 081D7E05DD; Sat, 26 May 2012 09:32:30 +0000 (UTC) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C7854E05DD for ; Sat, 26 May 2012 09:32:30 +0000 (UTC) Received: by vbbfc26 with SMTP id fc26so1384991vbb.40 for ; Sat, 26 May 2012 02:32:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=IspBP6INKHXNKEfi4WI9Hc4H5LitmCP1toI8ppQ+gCU=; b=UaLAqroB/xogjeC1KDaOmmIoXy+kfuSwzT4YjZJFr3oi7iDH73oMknGupkT9mhv7h0 6LlccxOae1SwJbDT22PWJ1t7NBfyjUhl0pLXSLz1vV8Ak+JsKP8yaqo7RnIgTVKdIoZ4 E6vC7g9QLyiQbckzh+ku5lTyMhWbZPWIVw3r9RMineSi6mjgi1qOd7ZCZ1abw54sCs6Q gV3rQ5KnwM68yMpkcsk7edIDJ3Sy0EsUPG0QaWeEKF8n/tist+1qFGWWfS5422S2TP5Q oYTwsnbr8CnS5uWYbrqB7p7ogfV/2DN2w3/NQrqP97N+zcciaMOiYGdpQ7wN0k6MRMAu lgpQ== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Discussions centering around the Python ecosystem in Gentoo Linux X-BeenThere: gentoo-python@gentoo.org X-BeenThere: gentoo-python@lists.gentoo.org MIME-Version: 1.0 Received: by 10.220.107.198 with SMTP id c6mr1911400vcp.54.1338024750372; Sat, 26 May 2012 02:32:30 -0700 (PDT) Sender: kolmax94@gmail.com Received: by 10.220.108.134 with HTTP; Sat, 26 May 2012 02:32:30 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 May 2012 13:32:30 +0400 X-Google-Sender-Auth: NWWiLk2JYt038pDQBfbmaZg8UTI Message-ID: Subject: [gentoo-python] python-distutils.eclass vs. python.eclass + distutils.eclass From: Maxim Koltsov To: gentoo-python@lists.gentoo.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d2631ed0-2e69-4b9a-ad23-e50d5295ead9 X-Archives-Hash: a60915dd4cfc42f9016eeca98d9bb23d Hi, This can be another troll-thread or layman-thread, but still I think this question must be raised once more. I want to say that I personally don't want to use python-distutils-ng in its current state and I know several active python ebuild writers that are not Gentoo developers and they don't want to use it too. First of all, how well is this eclass adapted to packages not using distutils? Old eclass had set of convenient functions (python_execute_function, python_generate_wrapper_scripts, python_conver_shebangs). I see some functions like these ones in new eclass, but can they serve as good replace and is their API public and stable? Then, we think that this ruby-ng style approach with PYTHON_TARGETS is a bit uncomfortable for end users and developers. This is going to be pain for all users if eclass gets used widely. Eclass allows developer not to set PYTHON_COMPAT and populate it with all available values =97 well, it's nice. But imagine that Python 3.3 arrives. All ebuilds using new eclass will get new IUSE and therefore will be rebuilt during emerge --update --newuse world. That's hardly sensible. It's awful to rebuild packages which might be very 'heavy' just for nothing. On the other hand, if developers are forced to set PYTHON_COMPAT, this will result in great delays in getting new python support to Gentoo. You can say that ruby-ng has the same behavior and nobody complains. But python is not ruby. Ruby 1.8 to 1.9 transitition was connected with a lot of incompabilities, so one could not assume that ruby-1.8 package will work on 1.9. Python 3.2 to 3.3 transitition should be harmless and almost all packages will require no changes. So some implicit mechanism of doing this must be implemented. So, new eclass has serious problems, old is bad too, not to say here why, and we have no solution yet :) But still discussion is needed, or we will end up accepting silently bad decisions. Please speak up everyone who agrees with me and/or has any suggestions.