Hi JaMa,

Great! Really great stuff - thank you so much for all this work.

I had a quick look on the ticket and the patch - I can see, that you also 
included all the dependencies! Lovely!

If I understand you correctly, all I need to do is taking the following files 
from the patch:
- setup.py
- pisi_svn.bb
- ez_setup.py

Apply my changes (to the first two entries) and put them into my svn repository.

I will as well send them over to you.

The missing files are actually by purpose - that's stuff one shouldn't need 
when playing around with the code (such as Makefile) ... but wouldn't mind to 
include everything if this is required or common practice. In the end, we 
shouldn't release from SVN as there might be a non-working version in the trunk.

How would I proceed from there whenever I have a new release? Is there a patch 
/ ticket required every time?

I also noticed - from the dependencies there is openldap missing (maybe it was 
in SHR already?)

thx and greetings
(happy) Michael


BTW: What is the OE-rep about? An SHR specific one?
PS: We should think about putting all this information / stuff you are doing 
right now into a wiki - otherwise you might end up assembling bb-files for all 
new apps ... :)


-------- Original-Nachricht --------
> Datum: Tue, 18 Aug 2009 12:54:28 +0200
> Von: Martin Jansa <martin.ja...@gmail.com>
> An: List for Openmoko community discussion <community@lists.openmoko.org>
> Betreff: Re: PISI 0.4 released

> Hi,
> on Friday I uploaded patch for OE repository to shr trac:
> http://trac.shr-project.org/trac/ticket/592
> <http://trac.shr-project.org/trac/ticket/592>Patch contains support for
> setuptools (http://pypi.python.org/pypi/setuptools), which seems like
> standard tool for managing python packages, that's files ez_setup.py,
> setup.py and setup.cfg. It would be nice if you include those 3 files in
> your source distribution package.
> 
> I also found few files missing from
> http://projects.openmoko.org/frs/download.php/888/pisi-src-0.4.4.tar.gz,
> which were available in subversion repository, so I made only bbfile for
> "live" subversion version of pisi, I can found which files were missing if
> you can include them to pisi-src too.
> 
> As last modification of your source distribution I created pisi python
> module and moved all pisi stuff and subdirs there, because this bbfile
> installs pisi directly in /usr/lib/python*/site-packages/pisi not to
> /opt/pisi and having lots of files and directories only for pisi directly
> in
> site-packages seemed wrong for me.
> 
> So i rearranged source files like this:
> mkdir pisi
> mv pisi*.py pisi
> touch pisi/__init__.py
> mv contacts/ modules/ events/ tests/ thirdparty/ pisi
> 
> As I said before, I'm not python programer so setuptools and python
> packages
> are new for me, so it would be nice if someone could confirm, that this
> structure is sane and you could rearrange files in subversion to simplyfi
> building process.
> 
> I'll try to prepare bbfiles for new development version dependencies as
> you
> wrote in second thread.
> 
> JaMa
> 
> 
> On Fri, Aug 14, 2009 at 7:35 PM, Michael Pilgermann
> <kichka...@gmx.de>wrote:
> 
> > JaMa,
> >
> > thx for this offer. I don't really know, what in detail you are talking
> > about ... i was quite happy, that I managed to assemble ipkg - this is
> > all done automatically using a Makefile:
> >
> >
> https://projects.openmoko.org/plugins/scmsvn/viewcvs.php/*checkout*/trunk/Makefile?rev=135&root=pisi
> >
> > But integrating all this in feeds of repositories of course sounds good
> > to me ... just let me know, what exactly I can do for you - I am sure we
> > can sort that out ....
> >
> > (till now I have always just copied the files into my ipkgs)
> >
> > Michael
> >
> >
> > Martin Jansa wrote:
> > >
> > >
> > > On Thu, Aug 13, 2009 at 11:49 AM, Martin Jansa <martin.ja...@gmail.com
> > > <mailto:martin.ja...@gmail.com>> wrote:
> > >
> > >     I have no experience with python, but I can try to prepare
> setup.py
> > for
> > >     setuptools next week, if you have no time or interest in it and
> then
> > >     send you patch.
> > >
> > >
> > > I had some spare time.. so before going for vacation, here is
> something
> > > which works for me, at least seems like working for me :).
> > >
> > > Maybe something could be integrated upstream so simplify bbfile for
> next
> > > version.
> > >
> > > Regards,
> > >
> > > JaMa
> > >
> > >
> > >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > Openmoko community mailing list
> > > community@lists.openmoko.org
> > > http://lists.openmoko.org/mailman/listinfo/community
> >
> >
> > _______________________________________________
> > Openmoko community mailing list
> > community@lists.openmoko.org
> > http://lists.openmoko.org/mailman/listinfo/community
> >

_______________________________________________
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community

Reply via email to