You are not logged in.

#1 2011-02-09 08:17:38

Nareto
Member
From: Pisa,Italy
Registered: 2009-07-18
Posts: 148

PKGBUILD with easy_install

Hello, I want to install obspy, a python package for seismology. On their page
http://obspy.org/wiki/InstallationInstructions
they give instructions for installing it with easy_install from the distribute python package.

Of course I would like to do it in an Arch friendly way and not run the commands as they are, but rather write a proper PKGBUILD. So my question is if there are templates for such a PKGBUILD - maybe some package on the AUR allready using easy_install?

Offline

#2 2011-02-09 09:24:38

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 716

Re: PKGBUILD with easy_install

check AUR for PKGBUILDs that might use it or use python setup.py

Offline

#3 2011-02-09 09:40:01

Nareto
Member
From: Pisa,Italy
Registered: 2009-07-18
Posts: 148

Re: PKGBUILD with easy_install

I haven't found any still, that's why I was asking. Also, I'm very new to python - how can I use setup.py? The package doesn't seem to provide it (they say to use easy_install)

Offline

#4 2011-02-09 09:52:14

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: PKGBUILD with easy_install

Install the abs package, then have a look at /usr/share/pacman/PKGBUILD-python.proto. Also I'd suggest looking at PKGBUILDs for official Arch python packages in preference to those in the AUR - quality is likely to be better overall.

However.. it seems the main problem is the lack of links to downloadable tarballs - you can't build Arch packages without source. You could follow the svn build instructions "for developers", which use setup.py, or you could contact the devs explaining that easy_install is not compatible with your distro's packaging standards, and requesting source tarballs be made available.

Offline

#5 2011-02-09 10:10:33

Nareto
Member
From: Pisa,Italy
Registered: 2009-07-18
Posts: 148

Re: PKGBUILD with easy_install

tomk wrote:

However.. it seems the main problem is the lack of links to downloadable tarballs - you can't build Arch packages without source. You could follow the svn build instructions "for developers", which use setup.py, or you could contact the devs explaining that easy_install is not compatible with your distro's packaging standards, and requesting source tarballs be made available.

Ha, I see that. thanks, I'll contact them

Offline

Board footer

Powered by FluxBB