[Frugalware-devel] pyroom - proposed FrugalBuild

Russell Dickenson russelldickenson at gmail.com
Tue Jul 7 13:50:37 CEST 2009


On Mon, Jul 6, 2009 at 8:36 AM, Russell
Dickenson<russelldickenson at gmail.com> wrote:
> On Fri, Jul 3, 2009 at 6:13 PM, Miklos Vajna<vmiklos at frugalware.org> wrote:
>> On Thu, Jul 02, 2009 at 09:51:01PM +1000, Russell Dickenson <russelldickenson at gmail.com> wrote:
>>> # Compiling Time: Unknown SBU
>>> # Maintainer: Name <email at addr.ess>
>>> # Contributor: Russell Dickenson (phayz) russelldickenson at gmail.com
>>>
>>> pkgname=pyroom
>>> pkgver=0.4.1
>>> pkgmajorver=0.4
>>> pkgrel=1
>>> pkgdesc="PyRoom is a fullscreen editor which lets you focus on writing
>>> and only writing."
>>> url="https://launchpad.net/pyroom"
>>> depends=('python>=2.6.1' 'pygtk' 'pygtksourceview' 'pyxdg')
>>
>> The python dependency is not necessary if you already depend on pygtk,
>> as pygtk depends on gtk and python.
>
> Thanks.  This should have been obvious.  I made the mistake of
> including all the dependencies listed on pyroom's home page.
>
>>> groups=('gnome-extra')
>>> archs=('i686')
>>> up2date="lynx -dump http://pyroom.org/download.html | Flasttar"
>>
>> Or just 'Flasttar http://pyroom.org/download.html'.
>
> Thanks.  I was using the format I'd seen in a few other FrugalBuilds,
> but your suggestion is certainly cleaner.
>
>
>>> source=(http://launchpad.net/pyroom/$pkgmajorver/$pkgver/+download/$pkgname-$pkgver.tar.gz)
>>
>> Instead of introducing pkgmajorver, you could use '${pkgver%%.?}', that
>> way if you bump from 0.4.1 to 0.5.0 you won't need to update it
>> manually.
>
>
> Thanks.  I simply didn't know such an option was available.  I have
> lots more to learn, and am willing to do so.
>
>> Other than that, looks fine.
>
> Thanks for your encouragement.
>
>
> I'll change the FrugalBuild according to your suggestions and re-submit it.
>
>
> May you always be Frugal,
>
> Russell Dickenson (AKA phayz)
>

I've attached a revised FrugalBuild, also the resulting buildlog.


May you always be Frugal,

Russell Dickenson (AKA phayz)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FrugalBuild
Type: application/octet-stream
Size: 576 bytes
Desc: not available
URL: </pipermail/attachments/20090707/4c25e6f3/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyroom-0.4.1-1-i686.log
Type: application/octet-stream
Size: 19255 bytes
Desc: not available
URL: </pipermail/attachments/20090707/4c25e6f3/attachment-0003.obj>


More information about the Frugalware-devel mailing list