[Slackbuilds-users] Slackbuilds in python ?

Dragon Wisard dragonwisard at gmail.com
Fri May 8 13:37:06 UTC 2009


Hi Xavier,

According to the Submissions page, SBo doesn't even like bash scripts. They
want pure sh shell scripts.

That said, Bourne Shell (sh) allows you to define functions in the format:
function_name () {
    commands....
}

Regards,
Ben

On Fri, May 8, 2009 at 3:30 AM, Xavier Maillard <xma at gnu.org> wrote:

> Hi,
>
> do you have any example of slackbuilds written in another scripting
> language than bash, say, for example, in Python ?
>
> I am planning to write one myself to see whether it could benefit of
> the Python strengh.
>
> Why ask ? Because I am writting a more complex slackbuild than I am
> used to (with multiple result packages) so I am writting many times the
> same code over and over. Maybe having a slackbuild python object with
> good methods could be valuable here.
>
> At the bare minimum, are functions (bash functions) accepted on SBo ?
>
> Cheers,
>
> Xavier Maillard
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>


-- 
http://www.dragonwisard.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090508/a13862de/attachment.htm>


More information about the SlackBuilds-users mailing list