You are not logged in.

#1 2004-09-19 15:23:41

maniel
Member
From: Poland, Bialystok
Registered: 2004-08-07
Posts: 23

[NEW] PyMOL

I've made a PyMOL package. PyMOL is a molecular modeling system written in python.
And this is a PyMOL's PKGBILD:

pkgname=pymol
pkgver=0.97
pkgrel=1
pkgdesc="PyMOL is a molecular modeling system written in python programming language"
url="http://pymol.sourceforge.net/"
depends=('python' 'x-server' 'glut')
makedepends=('python' 'x-server' 'glut')
source=('http://mesh.dl.sourceforge.net/sourceforge/pymol/pymol-0_97-src.tgz')
md5sums=('e1220898cea37483ddd6f410a6fc02d2')

build() {
  cd $startdir/src/pymol-0.97
  python setup.py install --prefix=$startdir/pkg/usr || return 1
  python setup2.py || return 1
  mkdir -p $startdir/pkg/usr/bin/
  cp -f pymol.com $startdir/pkg/usr/bin/pymol
}

i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)

Offline

#2 2004-09-19 23:18:39

zeppelin
Member
From: Athens, Greece
Registered: 2004-03-05
Posts: 807
Website

Re: [NEW] PyMOL

hope a TU sees this

Offline

#3 2004-09-20 13:29:43

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [NEW] PyMOL

i've seen this ;-) - and i knwo it is a cool thing (as i'm using it at the uni)

i want to put it in extra/science

only one wish:

we should name it python-pymol or python-mol - what of that 2 names do you prefer?


The impossible missions are the only ones which succeed.

Offline

#4 2004-09-20 14:16:26

maniel
Member
From: Poland, Bialystok
Registered: 2004-08-07
Posts: 23

Re: [NEW] PyMOL

dp wrote:

we should name it python-pymol or python-mol - what of that 2 names do you prefer?

I don't see any problems with an existing name of this package, the project's oryginal name is pymol, Why shouldn't we call this package siply: pymol.
It's almost standalone program not an addytion to python. As i've noticed only python extensions like python-geoip or python-numeric have names with python-* pattern.
I think that there will be no misunderstandings when we call it pymol.


i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)

Offline

#5 2004-09-20 14:57:22

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [NEW] PyMOL

maniel wrote:
dp wrote:

we should name it python-pymol or python-mol - what of that 2 names do you prefer?

I don't see any problems with an existing name of this package, the project's oryginal name is pymol, Why shouldn't we call this package siply: pymol.
It's almost standalone program not an addytion to python. As i've noticed only python extensions like python-geoip or python-numeric have names with python-* pattern.
I think that there will be no misunderstandings when we call it pymol.

it will not, you are right, but because of this bug http://bugs.archlinux.org/index.php?do=details&id=1077 the pkg-maintainers are advised to make all python and perl pkgs after the naming sheme: perl-NAME and python-NAME

we can add also a provides=('pymol') to it, so that you can make dependences against the original name

... i'm not 100% sure, if the naming-unification is a really good idea, but people already started to rename pkgs


The impossible missions are the only ones which succeed.

Offline

#6 2004-09-20 15:11:47

maniel
Member
From: Poland, Bialystok
Registered: 2004-08-07
Posts: 23

Re: [NEW] PyMOL

dp wrote:

it will not, you are right, but because of this bug http://bugs.archlinux.org/index.php?do=details&id=1077 the pkg-maintainers are advised to make all python and perl pkgs after the naming sheme: perl-NAME and python-NAME

we can add also a provides=('pymol') to it, so that you can make dependences against the original name

... i'm not 100% sure, if the naming-unification is a really good idea, but people already started to rename pkgs

Yes you're right but this naming scheme applies (IMHO & AFAIK™®) only for given language's module not program using it (the language not module smile):D
So let's stay with 'pymol' name smile


i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)

Offline

#7 2004-09-20 19:37:40

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [NEW] PyMOL

you are right - pymol is ok

your PKGBUILD is mentioning pymol.com as file in $startdir - but this is obviously missing in source=() --- without, the pkg is not built


The impossible missions are the only ones which succeed.

Offline

#8 2004-09-25 07:24:02

maniel
Member
From: Poland, Bialystok
Registered: 2004-08-07
Posts: 23

Re: [NEW] PyMOL

the pymol.com file is made by a setup2.py script and it's in $startdir/src/pymol-0.97 directory so it should be visible by makepkg


i don't like people saying that program doesn't work but printing on the console weird message like "bash: command_name: command not found" (it's real!!)
BTW, I'm using Jabber - the best IM protocol ever seen:)

Offline

#9 2004-09-25 11:10:30

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: [NEW] PyMOL

maniel wrote:

the pymol.com file is made by a setup2.py script and it's in $startdir/src/pymol-0.97 directory so it should be visible by makepkg

your PKGBUILD stops with this:

 Be sure to run "python setup2.py" after "python setup.py install"
 in order to complete the installation of PyMOL's files.



    The scripts "setup.py" and "setup2.py" are for performing a
 Distutils-based installation of PyMOL into an external Python
 instance (such as the shared python of a Linux distribution).

 Please run

    python setup.py install

 before running this script

    python setup2.py

cp: cannot stat `pymol.com': No such file or directory
==> ERROR: Build Failed.  Aborting...
[damir@Asteraceae pymol]$

The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB