-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add jmol #5996
Merged
Merged
Add jmol #5996
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
mkdir "%LIBRARY_PREFIX%\share\jmol" | ||
unzip jsmol.zip -d "%LIBRARY_PREFIX%\share\jmol" | ||
xcopy /y *.jar "%LIBRARY_PREFIX%\share\jmol" | ||
echo @echo off > "%LIBRARY_PREFIX%\bin\jmol.bat" | ||
echo java -Xmx512m -jar "%LIBRARY_PREFIX%\share\jmol\Jmol.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9 >> "%LIBRARY_PREFIX%\bin\jmol.bat" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
set -ex | ||
mkdir -p "$PREFIX/share/jmol" | ||
unzip jsmol.zip -d "$PREFIX/share/jmol" | ||
cp *.jar jmol.sh "$PREFIX/share/jmol" | ||
ln -s "$PREFIX/share/jmol/jmol.sh" "$PREFIX/bin/jmol" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{% set name = "Jmol" %} | ||
{% set version = "14.29.15" %} | ||
{% set majmin = '.'.join(version.split('.')[:2]) %} | ||
{% set sha256 = "e71df634776ade7c57f58986affd2b68e0d0d61bcda7b031e0b51da9d4aa81e1" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://sourceforge.net/projects/jmol/files/Jmol/Version {{ majmin }}/Jmol {{ version }}/Jmol-{{ version }}-binary.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
build: | ||
number: 0 | ||
|
||
requirements: | ||
build: | ||
- unzip # [not win] | ||
- m2-unzip # [win] | ||
run: | ||
- openjdk | ||
|
||
test: | ||
commands: | ||
# In windows following command opens the GUI and conda build gets stuck. | ||
- jmol -n # [not win] | ||
|
||
about: | ||
home: http://www.jmol.org | ||
license: LGPL | ||
license_file: LICENSE.txt | ||
summary: 'Jmol is an open-source molecule viewer and editor' | ||
description: | | ||
Jmol is a free, open source molecule viewer for students, educators, and | ||
researchers in chemistry, biochemistry, physics, and materials science. | ||
doc_url: http://jmol.sourceforge.net/#Learn%20to%20use%20Jmol | ||
dev_url: https://github.com/BobHanson/Jmol-SwingJS | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. development has moved to github but there has been no release on github yet. |
||
|
||
extra: | ||
recipe-maintainers: | ||
- isuruf | ||
- saraedum |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I use
outputs:
to separatejsmol
andjmol
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure. What's the difference?