[Slackbuilds-users] Slackbuilds in python ?

Xavier MAILLARD xma at gnu.org
Fri May 8 20:43:59 UTC 2009


Le Fri, 8 May 2009 09:56:34 -0500,
Robby Workman <rworkman at slackbuilds.org> a écrit :

> On Fri, 8 May 2009 09:30:43 +0200
> Xavier Maillard <xma at gnu.org> wrote:
> 
> > do you have any example of slackbuilds written in another scripting
> > language than bash, say, for example, in Python ?
> 
> 
> I don't, and while I won't say it's a bad idea, I will say that we
> won't accept one here.

That was not intented to be submitted on SBo anyway :D
 
> > 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 ?
> 
> 
> Putting some of the code duplication into sh functions is perfectly
> understandable -- for example:

This is exactly what I am doing ATM.
 
> All that being said, keep in mind that we here at SlackBuilds.org want
> to have a 1:1 translation of source:package for a script, so if a
> script builds multiple packages at a time, it's not something that
> we're going to accept here.

Once again, the slackbuild I am writting is not meant to be submitted
on SBo for these reasons:

- not 1:1
- already in official slackware distribution

Anyway, thank you all for your answers. I finally realized I did not
really need Python since pure sh-ism is a good workaround.

More about my slackbuild in a few days.

Cheers,

Xavier 


More information about the SlackBuilds-users mailing list