<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:13pt; font-weight:400; font-style:normal;">在 星期五 08 五月 2009 15:30:43,Xavier Maillard 写道:<br>
&gt; Hi,<br>
&gt;<br>
&gt; do you have any example of slackbuilds written in another scripting<br>
&gt; language than bash, say, for example, in Python ?<br>
&gt;<br>
&gt; I am planning to write one myself to see whether it could benefit of<br>
&gt; the Python strengh.<br>
&gt;<br>
&gt; Why ask ? Because I am writting a more complex slackbuild than I am<br>
&gt; used to (with multiple result packages) so I am writting many times the<br>
&gt; same code over and over. Maybe having a slackbuild python object with<br>
&gt; good methods could be valuable here.<br>
&gt;<br>
&gt; At the bare minimum, are functions (bash functions) accepted on SBo ?<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Xavier Maillard<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Maybe this is a little OT but AFAIK Foresight( http://www.foresightlinux.org/ ) use python to do packaging. Thay say thier package system is powerful and flexible and ... Ok, anyway, but the more I see slackware the more I reallize that shell is enough for software packaging. Maybe you could post your problem here and let's have a disccusion about the solutions if you wish;)<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>-- <br>
Cheers,<br>
Grissiom</p></body></html>