From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12369 invoked by alias); 2 Feb 2015 19:40:08 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 34454 Received: (qmail 18979 invoked from network); 2 Feb 2015 19:40:03 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_FSL_HELO_BARE_IP_2 autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1422905656; bh=ofr/vWNdtIkJNAHRXUi2x8vbx55WeAL5xi617BbIDRY=; h=From:To:Subject:Date; b=W/h6glpHbwLp/Rv9WV8BQxjUoU0kN8NzqYh42TEdVo7Ruz3MvOdwlVz6L/VENmkIN LLS3wXH1JRziSMvKLeKfUcAut6ELbM9PzH8HB5LxNzC+LwC/p3c0NSekaKQMjcjm5V eppf7veqNPN+4aUQmst0+qopF6Y9I+FMTn0yl6z4= From: ZyX To: Peter Stephenson , "zsh-workers@zsh.org" Subject: Zpython inclusion MIME-Version: 1.0 Message-Id: <20975221422905655@web8j.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 02 Feb 2015 22:34:15 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 02.02.2015, 20:34, "Peter Stephenson" : > On Mon, 2 Feb 2015 08:18:29 +0300 > ZyX wrote: >>  if you want to consider merging https://bitbucket.org/ZyX_I/zpython I >>  can convert it back to a patch it used to be once. I introduced it to >>  a list, but it did not get much attention. > > It's clearly a useful addition but I think it would be better to keep it > out of the main source to avoid making that depend (even optionally) on > Python; this is potentially complex for people who don't need it and > subject to change in ways not necessarily tied to changes in zsh, and we > have enough maintenance headaches in the main code that it's nice to > have something that actually does work as an add-on :-) The big problem with zpython is that nobody is actually providing the necessary headers. I only saw [zsh-dev][1] package in debian-based distribution, but I failed to find any deb-src package which depends on it. The issue with this package is that it installs copied zsh headers, but `zsh.h` is quite useless without defines from `config.h`; I wanted to see how they cope with the problem. I can live with a custom zsh ebuild. I can probably push changes to the Gentoo upstream (have not actually tried, but I guess I need to). But I can’t fix all the other distributions. Currently zpython provides an option to build itself using zsh built in its own repository which should be convenient enough for packaging (in any case zsh needs to be built first) in binary distributions, but not for users willing to compile it themselves (no usable headers out there) or source-based distributions. Using separate repository just for zpython was chosen because I neither like constant rebasing nor constant merging with upstream; I used to perform the former prior to that. [1]: https://packages.debian.org/search?keywords=zsh-dev&searchon=names&exact=1&suite=all§ion=all > > It would be sensible to provide pointers in the main distribution, > though. > > pws