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 1S2qwO-0007sG-FE for garchives@archives.gentoo.org; Wed, 29 Feb 2012 21:20:04 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B922E0B8D; Wed, 29 Feb 2012 21:19:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EFA78E0BDA for ; Wed, 29 Feb 2012 21:19:10 +0000 (UTC) Received: from [10.0.0.62] (89-74-61-34.dynamic.chello.pl [89.74.61.34]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: nelchael) by smtp.gentoo.org (Postfix) with ESMTPSA id CED0D1B4005; Wed, 29 Feb 2012 21:19:09 +0000 (UTC) Message-ID: <4F4E964A.40509@gentoo.org> Date: Wed, 29 Feb 2012 22:19:06 +0100 From: Krzysztof Pawlik Organization: Gentoo User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120213 Thunderbird/10.0.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org CC: "Andreas K. Huettel" Subject: Re: [gentoo-dev] New eclass for Python References: <4F4D4380.9070909@gentoo.org> <1330545088.15103.62.camel@rook> <4F4E8991.8040907@gentoo.org> <201202292208.09522.dilfridge@gentoo.org> In-Reply-To: <201202292208.09522.dilfridge@gentoo.org> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig10469129C6FD79E764F48806" X-Archives-Salt: 959d5b74-ff4c-4e73-b56a-90c908510a98 X-Archives-Hash: 2f8f776140c3e8692b12e53b9b8ec034 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig10469129C6FD79E764F48806 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 29/02/12 22:08, Andreas K. Huettel wrote: > Am Mittwoch 29 Februar 2012, 21:24:49 schrieb Krzysztof Pawlik: >>> Second, there doesn't seem to be any support for packages that do not= >>> install in python's site-packages and do not allow multiple python AB= Is. >>> If I have, for example, a package that installs python modules >>> in /usr/lib/appname or /usr/share/appname, how can I specify that >>> PYTHON_TARGETS=3D"python2.6" or "python2.7" or "python3.2" is allowed= , but >>> something like PYTHON_TARGETS=3D"python2.7 python3.2" is not? >> >> You're correct, note that I've stressed that this eclass is mainly for= >> distutils-based packages. I'm not using Gnome, so can you provide some= >> package examples that I can look at? >> >> >> If package decides to use given language then please, please play by t= he >> rules set by the rest of world (Ruby -> gems, Python -> distutils, Per= l -> >> CPAN, PHP -> PEAR). >> >> I don't like installing Python code outside of site-packages, the only= >> exception to that rule is portage (at least for now). >> >=20 > We will hit the same problem with KDE (actually we already hit it): it = has=20 > various types of scripting support, and each installs a KDE library lin= ked to=20 > whatever language interpreter. >=20 > (Now, that library- is it a Python/Ruby library or a KDE library? Becau= se it=20 > is at the proper place for KDE stuff :) >=20 > It's not just about calling an external language but also about embeddi= ng the=20 > interpreter for in-app scripting... and KDE rather heavily relies on py= thon. I agree with last sentence - it's about embedding Python/Ruby/Foo, *this = eclass is about installing packages for Python*. Compiling against an implementa= tion is something completely different -- for example try building against Jython= =2E --=20 Krzysztof Pawlik key id: 0xF6A80E46 desktop-misc, java, vim, kernel, python, apache... --------------enig10469129C6FD79E764F48806 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCgAGBQJPTpZKAAoJEBZyv1r2qA5GY+UH/Ajv1BZsK08nESj5lrv8VMBe /AR+uKDqhDjIULzj2lQos7smT5LCYC94R1r/lXeUxtFaovYgpW4KnMZmwhER3szA QT2ZdIzWeAmoW8bgEzMo6ZbEVb4pZlDX67x9vf4Y6N8eE+c7ypj6npOC8ax8oBqB mQMFjsu/Owmblkxzc79A3XJfitCdrqeawPoVIegvWUPF2KtcdTDOdyJAlkXPyXKn otcdjhPF1uEcyx/P19XgXH/AX/pDJXGQvUeojaZIwRvdDjdXMaVjjTkCrWmQZgZy eOYsLks8hPP4OvO7QG2YUTyeiU4i2WHxmnf9RL8OcgNAKgIGwhdCEU9o6avQd+M= =dkHR -----END PGP SIGNATURE----- --------------enig10469129C6FD79E764F48806--