diff --git a/srcpkgs/pymol/files/pymol.desktop b/srcpkgs/pymol/files/pymol.desktop new file mode 100644 index 0000000000..5086b3d69a --- /dev/null +++ b/srcpkgs/pymol/files/pymol.desktop @@ -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 diff --git a/srcpkgs/pymol/template b/srcpkgs/pymol/template new file mode 100644 index 0000000000..1f6b529c99 --- /dev/null +++ b/srcpkgs/pymol/template @@ -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 " +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 +} diff --git a/srcpkgs/python3-pmw/files/LICENSE.txt b/srcpkgs/python3-pmw/files/LICENSE.txt new file mode 100644 index 0000000000..de9a582603 --- /dev/null +++ b/srcpkgs/python3-pmw/files/LICENSE.txt @@ -0,0 +1,21 @@ +Copyright (c) 2007,2008 David M. Cooke +Copyright (c) 2009,2010 Francesc Alted +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. diff --git a/srcpkgs/python3-pmw/template b/srcpkgs/python3-pmw/template new file mode 100644 index 0000000000..7ace077e61 --- /dev/null +++ b/srcpkgs/python3-pmw/template @@ -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 " +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 +}