Re: python sample packages?

2010-11-09 Thread anatoly techtonik
On Mon, Nov 8, 2010 at 11:32 PM, Christian Kastner  wrote:
> Having recently looked at packaging a Java library for the first time, I
> found the sample packages[1] provided by the Java team immensely helpful
> in getting started:
>
> [1] http://pkg-java.alioth.debian.org/examples/
>
> It would be nice if we could provide a similar service for Python, too.
> I added it to my own TODO list, but I fear that I won't get around to it
> anytime soon...

There was a page called DebianPython/Tutorial to allow people share
their starter experience with packaging, but it was removed by Piotr,
probably because there weren't many contributions.
http://wiki.debian.org/DebianPython?action=diff&rev1=23&rev2=24

--
anatoly t.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=fd7g7btcbhma28kto9quq=qxsuuh=fmukg...@mail.gmail.com



Re: I want to help

2010-11-09 Thread anatoly techtonik
On Sun, Oct 31, 2010 at 5:19 PM, Andrey Rahmatullin  wrote:
> On Fri, Oct 29, 2010 at 08:19:36PM +0200, Tshepang Lekhonkhobe wrote:
>> > I have a lot of packaging experience for ALT Linux and some experience
>> > with Python programming, but no experience with Debian Python packaging (I
>> > have some understanding of general Debian packaging). I want to help with
>> > Python in Debian, what can I do?
>> Looka here: http://wiki.debian.org/Teams/PythonModulesTeam
> I've already seen that page butt didn't find any specific tasks.

The most useful task would be to write a sane tutorial about packaging
for Python folks, who've never seen Debian packaging stuff before.
--
anatoly t.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=m6q6oepjnph3c3q-k+cepourp4xxqr55lq...@mail.gmail.com



Using svn-buildpackage in isolated environment

2010-11-09 Thread anatoly techtonik
Hi,

How to build package in chroot environment (I guess that's pbuilder)?
I don't want to install build garbage on production server with
Debian instance, so I am trying to use pbuilder as described at
http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html#id538126

$ svn-buildpackage --svn-builder='pdebuild --pbuilder cowbuilder'
Complete layout information:
buildArea=/home/anatoly/build-area
trunkDir=/home/anatoly/bitten-debian-upgrade
trunkUrl=svn://svn.debian.org/svn/python-apps/packages/trac-bitten/trunk
E: Found unresolved issues:

M   debian/changelog

E: Resolve them manually before continuing


Ok. I've added --svn-ignore-new key and it still doesn't work.
$ svn-buildpackage --svn-builder='pdebuild --pbuilder cowbuilder'
--svn-ignore-new
Complete layout information:
buildArea=/home/anatoly/build-area
trunkDir=/home/anatoly/bitten-debian-upgrade
trunkUrl=svn://svn.debian.org/svn/python-apps/packages/trac-bitten/trunk
NOT RELEASED YET tag found - you don't want to release it with it, do you?
mergeWithUpstream mode detected, looking for (location unknown,
guessed: ../tarballs/trac-bitten_0.6b3.orig.tar.gz)
Use of uninitialized value in subroutine entry at
/usr/share/svn-buildpackage/SDCommon.pm line 35.
I: mergeWithUpstream property set, looking for upstream source tarball...
Use of uninitialized value in -e at /usr/bin/svn-buildpackage line 457.
E: Could not find the origDir directory, please check the settings!


What's this mergeWithUpstream mode/property?
Why can't it find the tarball downloaded with uscan into parent directory?
Why it asks about some NOT RELEASED YET tag when I just want to test
the package?
How can I do the build inside pbuilder?

Can anybody provide manual instructions of what is happening behind the scenes?
At least I will have a chance to do build manually, because
instructions at
http://wiki.debian.org/Teams/PythonAppsPackagingTeam/howto is not
enough.

Thanks.
--
anatoly t.


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=g9x6mr6yrrmkmgujtstejwweybxa8fv26v...@mail.gmail.com