Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[python] help, get rid of 686 in setup.
12-06-2011, 11:14 PM
Post: #1
[python] help, get rid of 686 in setup.
I was trying to build a panel for openbox. Fspanel is working but looks very early nineties, so I thought pypanel would be nice. Almost every dependency is found in the repository so that shouldn't be a problem.
Only the python-xlib needs to be made and that was very easy to do.
Here is the PKGBUILD:

Code:
# Maintainer: Theo - nl2stk
# Thanks to: Jeff Mickey

pkgname=python-xlib
pkgver=0.15rc1
pkgrel=1
pkgdesc="A fully functional X client library for Python programs"
url="http://python-xlib.sourceforge.net/"
license=('GPL')
depends=('python')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7941e91bc3e92dc921dfc930cc8f7830')

build() {
  cd $srcdir/$pkgname-$pkgver
  python setup.py install --root=$pkgdir
}

Well that couldn't be easier, so with all the dependencies installed on my computer it was time for the pypanel PKGBUILD, which contains also a ' python setup.py...'.
Here is the one:

Code:
# Maintainer: theo - nl2stk
# Thanks to: Lukas Fleischer

pkgname=pypanel
pkgver=2.4
pkgrel=1
pkgdesc='A lightweight panel/taskbar for X11 window managers written in python.'
url='http://pypanel.sourceforge.net/'
license=('GPL')
depends=('python' 'xorg-server' 'python-xlib' 'imlib2' 'libxfont')
source=("http://downloads.sourceforge.net/sourceforge/pypanel/PyPanel-${pkgver}.tar.gz")
md5sums=('f1f9a2ed80be72ab36e748833618daba')

build() {
  cd "${srcdir}/PyPanel-${pkgver}"
  python setup.py install --root="${pkgdir}"
}

It runs and makes the package, but... it detects a 686 processor and I don't know if it has influence on the package.
Is there some kind of standard thing to keep in mind to disable this option?
My knowledge about python is almost to get something as ' hello world' on the screen.

Hardware in use: Compaq PIII- 1GHZ, Geforce 4000, 256mb, 80gb HD
Dutch Delicate Linux information: http://www.delicatelinux.nl.ae
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[python] help, get rid of 686 in setup. - nl2stk - 12-06-2011 11:14 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | DeLi(cate) Linux | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication