You are not logged in.

#1 2007-05-18 00:52:44

robb_force
Member
Registered: 2006-11-10
Posts: 29

Loemu PKGBUILD, need help with python dependencies [solved]

I'm having a hard time determining the depends for this python application. It uses gtk and glade, but namcap is unable to determine dependencies for python apps, I think. It complains that I am including not needed depends. I found a requirements list here:
http://linux.softpedia.com/get/Utilitie … 4855.shtml
that might give some clues, but I'm still struggling to determine what's needed until I can get home and run the application.

My PKGBUILD in case you're interested and think you can help. I'm sure I need glade for python in the depends line, but I can't find it in AUR or with pacman.

# Contributor: robb_force <robb_force@holybuffalo.net>

pkgname=loemu
pkgver=0.1.1
pkgrel=1
pkgdesc="A simple frontend for various game emulators, including XMAME, SDLMAME and Snes9x."
url="http://loemu.pegueroles.com/"
license="GPL"
arch=('i686')
depends=('pygtk>=2.6' 'libglade')
makedepends=('python>=2.4.0')
source=(http://loemu.pegueroles.com/dists/${pkgname}-${pkgver}.tar.gz)
md5sums=('d4cff1ef835ce19a9fd22cdaec47074a')

build() {
  # Fix the paths in the scripts
  cd ${startdir}/src/${pkgname}-${pkgver}
  sed '/roms/d;/flyers/d;/snaps/d' -i setup.py
  sed 's|share/games|share|g' -i setup.py
  cd ${startdir}/src/${pkgname}-${pkgver}/${pkgname}
  sed 's|share/games|share|g' -i Preferences.py
  sed 's|share/games|share|g' -i Loemu.py
  sed 's|share/games|share|g' -i Config.py

  # Install the application
  cd ${startdir}/src/${pkgname}-${pkgver}
  python setup.py install --prefix=${startdir}/pkg/usr
}

Last edited by robb_force (2007-05-18 19:22:02)

Offline

#2 2007-05-18 07:15:45

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: Loemu PKGBUILD, need help with python dependencies [solved]

I think you only need pygtk and maybe libxslt in the depends line, and nothing in makedepends. As far as I can tell the others will be pulled in automatically as dependencies.

Offline

#3 2007-05-18 18:42:20

robb_force
Member
Registered: 2006-11-10
Posts: 29

Re: Loemu PKGBUILD, need help with python dependencies [solved]

Thanks for the response. I've added the working PKGBUILD to the AUR.
http://aur.archlinux.org/packages.php?d … 1&ID=11093

Offline

Board footer

Powered by FluxBB