You are not logged in.
Pages: 1
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
Offline
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
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
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
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 ):D
So let's stay with 'pymol' name
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
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
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
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
Pages: 1