You are not logged in.

#1 2007-11-23 14:55:21

max-k
Member
From: Lyon - France
Registered: 2007-11-23
Posts: 38

Can anyone build an Archlinux package for Kodos please ?

Kodos is a regex tool -- A Python GUI for creating, testing and debugging regular expressions for the Python programming language. Kodos utilizes the pyqt library for it's interface. Screenshots available on project homepage.

Project Admins: phil_schwartz
Operating System: All 32-bit MS Windows (95/98/NT/2000/XP), All POSIX (Linux/BSD/UNIX-like OSes), Linux
License: GNU General Public License (GPL)

Homepage : http://sourceforge.net/projects/kodos/

An RPM package is already available for Red Hat type Distros.

Thanks a lot

kodos-win32.jpg

Offline

#2 2007-11-23 16:40:34

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Can anyone build an Archlinux package for Kodos please ?

If it is any help, you can download the program (in a compressed format), then expand it somewhere in your home directory and use this little script (I call it runkodos) to start it.

#!/bin/bash
LOCALDIR=$HOME/applications/kodos-2.4.9
exec "/usr/bin/python" "$LOCALDIR/kodos.py" $*

I have the script linked to my menu panel in KDE it work great.

Hope this helps.

R.

Offline

#3 2007-11-23 19:25:39

max-k
Member
From: Lyon - France
Registered: 2007-11-23
Posts: 38

Re: Can anyone build an Archlinux package for Kodos please ?

Thanks, it's a good temporary solution.

Offline

#4 2007-11-23 20:11:42

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Can anyone build an Archlinux package for Kodos please ?

Hi,
I made this PKGBUILD:

pkgname=kodos
pkgver=2.4.9
pkgrel=1
pkgdesc="A Python GUI for creating, testing and debugging regular expressions for the Python programming language."
url="http://kodos.sourceforge.net/"
license=('GPL')
depends=('python' 'pyqt4')
arch=('i686')
source=(http://dl.sourceforge.net/sourceforge/kodos/$pkgname-$pkgver.tar.gz)
md5sums=('d608c8b3484667d3a82ba6dfe29bb18d')

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

Offline

#5 2007-12-31 09:47:00

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Can anyone build an Archlinux package for Kodos please ?

Hello,

does this PKGBUILD work for anyone? For me id did not, since kodos.py didn'd find some of its modules.

Offline

#6 2007-12-31 09:59:57

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Can anyone build an Archlinux package for Kodos please ?

Hi Stefan,
I've tested this pkgbuild and it works for me.
Post the error message that your receive.

Offline

#7 2007-12-31 12:48:57

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Can anyone build an Archlinux package for Kodos please ?

Hello,
this is the error message I get

[root@bertrand ~]# kodos.py
Could not locate the PyQt module.  Please make sure that
you have installed PyQt for the version of Python that you are running.
[root@bertrand ~]#

Offline

#8 2007-12-31 13:09:22

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Can anyone build an Archlinux package for Kodos please ?

Stefan,

Make sure you have PyQT installed. (pacman -Sy pyqt)

Offline

#9 2007-12-31 14:56:47

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: Can anyone build an Archlinux package for Kodos please ?

Yes! That did it!

Should pygt be added to the dependencys? Should it replace pygt4? The latter was installed, but did not help here.

Offline

#10 2007-12-31 16:54:30

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,694
Website

Re: Can anyone build an Archlinux package for Kodos please ?

Both packages are different. PyQT is a set of bindings for PyQT and PyQT4 is a set of bindings for PyQT4.
As per the dependency thing ... I would guess that it would be a good idea to add PyQT4 to the list of dependencies in the pacman package.

Since I did not install Kodos  with a pacman package I did not notice any difference ... cool


R.

Last edited by ralvez (2007-12-31 16:55:42)

Offline

Board footer

Powered by FluxBB