Tom K wrote:

>Here's another little problem - happydoc is bugged. It's an old bug, 
>raised in March 04, and nothing has happened to it since.
>
>happydoc is a python app, and should be installed by doing
>
>python ./setup.py install
>
>However, there's no setup.py in the tarball. 
>
And now it's working, by way of a bit of hacking. I grabbed the most 
recent version of setup.py from happydoc's cvs (dated 16 Nov 2002!) and 
tried again. It errored with a message that made some sense to me so I 
cut two lines from the file, and now it works. Here's the PKGBUILD:

# Contributor: Tom K <[EMAIL PROTECTED]>
pkgname=happydoc
pkgver=r3_0_a1
pkgrel=1
pkgdesc="a tool for extracting documentation from Python source code"
url="http://happydoc.sourceforge.net/";
depends=('python')
source=(http://heanet.dl.sourceforge.net/sourceforge/$pkgname/HappyDoc_$pkgver.tar.gz
 
\
        http://www.tomkutv.utvinternet.com/Arch/setup.py)
md5sums=('929d040848025d16a029ad014bfdea80' 
'581ba830c286ab1fadc4ef75a2d9e69b')

build() {
  cd $startdir/src/HappyDoc3-$pkgver
  mv ../setup.py .
  python setup.py install --root=$startdir/pkg
}

Probably not the best solution - if anybody who knows Python could throw 
an eye over the resulting pacakge, that would be useful.

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to