New packages: pymol-2.2.0, python3-pmw-2.0.1

Closes: #1473 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Brenton Horne 2018-08-14 23:54:51 +10:00 committed by Jürgen Buchmüller
parent c91f50240e
commit 621db1b6ac
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
4 changed files with 79 additions and 0 deletions

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Name=PyMOL
GenericName=PyMOL
Comment=PyMOL is a molecular graphics system designed for modelling large molecules
Exec=/usr/bin/pymol %f
Terminal=false
Type=Application
MimeType=text/plain;chemical/x-cml;chemical/x-pdb;application/xml;application/x-aportisdoc;chemical/x-cif;
StartupNotify=true
Icon=pymol
Categories=Education;Science;Chemistry

28
srcpkgs/pymol/template Normal file
View file

@ -0,0 +1,28 @@
# Template for 'pymol'
pkgname=pymol
version=2.2.0
revision=1
wrksrc=${pkgname}-open-source-${version}
build_style="python3-module"
makedepends="msgpack-devel python3-numpy freetype-devel libfreeglut-devel glew-devel
glm python3-devel libxml2-devel python3-PyQt5"
depends="python3-numpy tcsh python3-pmw python3-tkinter python3-PyQt5"
short_desc="PyMOL molecular visualization system"
homepage="https://${pkgname}.org/"
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
license="${pkgname}"
distfiles="https://github.com/schrodinger/pymol-open-source/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz
https://c.fsdn.com/allura/p/${pkgname}/icon>${pkgname}.png"
skip_extraction="${pkgname}.png"
checksum="58d910103dc494c49c86bc8fd6cd94b1a030647f9d72f69fbd7d7ad25fb11233
0ea81faaf336becc669a193777d0dca55475d303d1236b57df25cf67ff7c2bcd"
case $XBPS_TARGET_MACHINE in
*-musl) broken="segfaults on start";;
esac
post_install() {
vlicense LICENSE
vinstall "${FILESDIR}/${pkgname}.desktop" 755 usr/share/applications
vinstall "${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}.png" 644 usr/share/pixmaps
}

View file

@ -0,0 +1,21 @@
Copyright (c) 2007,2008 David M. Cooke <david.m.cooke@gmail.com>
Copyright (c) 2009,2010 Francesc Alted <faltet@pytables.org>
Copyright (c) 2011- See AUTHORS.txt
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View file

@ -0,0 +1,19 @@
# Template for python-pmw
pkgname=python3-pmw
version=2.0.1
revision=1
noarch=yes
short_desc="Python 3 Tkinter widget toolkit"
homepage="http://pmw.sourceforge.net/"
license="MIT"
maintainer="Brenton Horne <brentonhorne77@gmail.com>"
wrksrc=Pmw-${version}
build_style=python3-module
makedepends="python3-devel tk-devel"
depends="tk python3"
distfiles="${PYPI_SITE}/P/Pmw/Pmw-${version}.tar.gz"
checksum=0b9d28f52755a7a081b44591c3dd912054f896e56c9a627db4dd228306ad1120
post_install() {
vlicense ${FILESDIR}/LICENSE.txt
}