add pymol folder

This commit is contained in:
2024-02-15 15:29:44 +01:00
parent 1ec0497eae
commit 6b1c9a720f
4 changed files with 46 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
pbuild.log

25
pymol/build Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env modbuild
pbuild::add_to_group 'MX'
pbuild::prep() {
git clone https://github.com/schrodinger/pymol-open-source.git
}
pbuild::configure() {
git clone -b 0.9.9.8 https://github.com/g-truc/glm.git $SRC_DIR/glm/
cp -r $SRC_DIR/glm/glm/ $SRC_DIR/pymol-open-source/include/
}
pbuild::compile() {
cd "$SRC_DIR/pymol-open-source/"
python3.8 setup.py install --prefix "$PREFIX/" --no-vmd-plugins --use-msgpackc=no
}
pbuild::install(){
:
#mkdir -p "$PREFIX/bin"
#cp "$SRC_DIR/bin/pymol" "$PREFIX/bin/pymol"
}

10
pymol/files/config.yaml Normal file
View File

@@ -0,0 +1,10 @@
format: 1
pymol:
defaults:
group: MX
overlay: base
relstage: unstable
versions:
2.5.0:
config:
build_requires: ["psi-python38/2020.11", "gcc/9.3.0", "cuda/11.0.3"]

10
pymol/modulefile Normal file
View File

@@ -0,0 +1,10 @@
#%Module1.0
module-whatis "PyMol - molecular visualization system"
module-url "https://github.com/schrodinger/pymol-open-source"
module-license "-"
module-maintainer "Greta Assmann <greta.assmann@psi.ch>"
module-help "https://pymol.org/2/"