Browse Source

xap/pymol: Upgraded to pymol-2.4.0.

current-20200608
parent
commit
88df5e59ba
  1. 1
      xap/pymol/pymol-open-source-2.3.0.tar.gz.sha256
  2. 1
      xap/pymol/pymol-open-source-2.4.0.tar.gz.sha256
  3. 15
      xap/pymol/pymol.SlackBuild

1
xap/pymol/pymol-open-source-2.3.0.tar.gz.sha256

@ -1 +0,0 @@
62aa21fafd1db805c876f89466e47513809f8198395e1f00a5f5cc40d6f40ed0 pymol-open-source-2.3.0.tar.gz

1
xap/pymol/pymol-open-source-2.4.0.tar.gz.sha256

@ -0,0 +1 @@
5ede4ce2e8f53713c5ee64f5905b2d29bf01e4391da7e536ce8909d6b9116581 pymol-open-source-2.4.0.tar.gz

15
xap/pymol/pymol.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2014,2016,2019 Damien Goutte-Gattat
# Copyright (C) 2008-2014,2016,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -30,7 +30,7 @@
# Source package infos
NAMESRC=${NAMESRC:-pymol}
VERSION=${VERSION:-2.3.0}
VERSION=${VERSION:-2.4.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-open-source-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/schrodinger/pymol-open-source/archive/v$VERSION.tar.gz}
@ -46,14 +46,7 @@ OUT=${OUT:-$TMP/build}
PKG=${PKG:-$OUT/$NAMEPKG}
CWD=$(pwd)
# Get the 'site-packages' directory in the Python installation
SITEPKG=$(python3 <<EOF | tail -n 1
#!/usr/bin/python3
import sys
for p in sys.path:
if p[-13:] == 'site-packages':
print(p)
EOF
)
SITEPKG=$(python3 -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')
set -e # Quit if a command returns non-zero
@ -80,7 +73,7 @@ cd $TMP
echo "Building $NAMEPKG-$VERSION..."
tar xf $CWD/$ARCHIVE
cd $NAME
python3 setup.py build install --use-msgpackc=no --root=$PKG
python3 setup.py build install --use-msgpackc=no --no-vmd-plugins --root=$PKG
# Install desktop file
mkdir -p $PKG/usr/share/applications

Loading…
Cancel
Save