diff options
author | Aisha Tammy <gentoo@aisha.cc> | 2020-09-22 07:58:09 -0400 |
---|---|---|
committer | Aisha Tammy <gentoo@aisha.cc> | 2020-09-22 07:58:09 -0400 |
commit | 7776b136481f256d1cf8fcb4516b17fa7d3cd365 (patch) | |
tree | acc2946f5bcb50520ebaa59242163feede666a31 /sci-chemistry | |
parent | sci-chemistry/gnome-chemistry-utils: drop package (diff) | |
download | sci-7776b136481f256d1cf8fcb4516b17fa7d3cd365.tar.gz sci-7776b136481f256d1cf8fcb4516b17fa7d3cd365.tar.bz2 sci-7776b136481f256d1cf8fcb4516b17fa7d3cd365.zip |
sci-chemistry/pymol: drop package
present in ::gentoo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/pymol/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/pymol/metadata.xml | 14 | ||||
-rw-r--r-- | sci-chemistry/pymol/pymol-9999.ebuild | 113 |
3 files changed, 0 insertions, 128 deletions
diff --git a/sci-chemistry/pymol/Manifest b/sci-chemistry/pymol/Manifest deleted file mode 100644 index a20983695..000000000 --- a/sci-chemistry/pymol/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST pymol-1.7.0.0.png.xz 5392 BLAKE2B b61a625231c050f3244c5f1b6bd662531f67a45de82a5f4408b09de84a5548f79e3cdbd49d833970b88fe4caef46f341227f8366ffcfcfec2a17c948ed90e7ab SHA512 24bb1584b28688f5d5824e938f8500ca9887838adf490b4284c52f8c0da4c5ec4a56051ee80f48e4f34541ab53f9a4e00c849c382f1fd37c232fbea12d700105 diff --git a/sci-chemistry/pymol/metadata.xml b/sci-chemistry/pymol/metadata.xml deleted file mode 100644 index d36c262f4..000000000 --- a/sci-chemistry/pymol/metadata.xml +++ /dev/null @@ -1,14 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>jlec@gentoo.org</email> - </maintainer> - <maintainer type="project"> - <email>sci-chemistry@gentoo.org</email> - <name>Gentoo Chemistry Project</name> - </maintainer> - <use> - <flag name="web">Install Pymodule needed for web app support</flag> - </use> -</pkgmetadata> diff --git a/sci-chemistry/pymol/pymol-9999.ebuild b/sci-chemistry/pymol/pymol-9999.ebuild deleted file mode 100644 index 5a8e51c63..000000000 --- a/sci-chemistry/pymol/pymol-9999.ebuild +++ /dev/null @@ -1,113 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE="tk" - -inherit distutils-r1 eutils fdo-mime flag-o-matic subversion versionator - -DESCRIPTION="A Python-extensible molecular graphics system" -HOMEPAGE="http://www.pymol.org/" -SRC_URI="http://dev.gentoo.org/~jlec/distfiles/${PN}-1.7.0.0.png.xz" -ESVN_REPO_URI="svn://svn.code.sf.net/p/pymol/code/trunk/pymol" - -LICENSE="PSF-2.2" -SLOT="0" -KEYWORDS="" -IUSE="web" - -DEPEND=" - dev-python/numpy[${PYTHON_USEDEP}] - dev-python/pyopengl[${PYTHON_USEDEP}] - media-libs/freeglut - media-libs/freetype:2 - media-libs/glew:0= - media-libs/libpng:0= - media-video/mpeg-tools - sys-libs/zlib - virtual/python-pmw[${PYTHON_USEDEP}] - !sci-chemistry/pymol-apbs-plugin[${PYTHON_USEDEP}] - web? ( !dev-python/webpy[${PYTHON_USEDEP}] )" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - subversion_src_unpack -} - -python_prepare_all() { - sed \ - -e "s:\"/usr:\"${EPREFIX}/usr:g" \ - -e "/ext_comp_args.*+=/s:\[.*\]$:\[\]:g" \ - -e "/import/s:argparse:argparseX:g" \ - -i setup.py || die - - sed \ - -e "s:/opt/local:${EPREFIX}/usr:g" \ - -e '/ext_comp_args/s:\[.*\]:[]:g' \ - -i setup.py || die - - append-cxxflags -std=c++0x - - distutils-r1_python_prepare_all -} - -src_prepare() { - subversion_src_prepare - distutils-r1_src_prepare -} - -python_install() { - distutils-r1_python_install --pymol-path="${EPREFIX}/usr/share/pymol" - - sed \ - -e '1d' \ - -e "/APBS_BINARY_LOCATION/s:None:\"${EPREFIX}/usr/bin/apbs\":g" \ - -e "/APBS_PSIZE_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/src/\":g" \ - -e "/APBS_PDB2PQR_LOCATION/s:None:\"$(python_get_sitedir)/pdb2pqr/\":g" \ - -i "${D}/$(python_get_sitedir)"/pmg_tk/startup/apbs_tools.py || die -} - -python_install_all() { - distutils-r1_python_install_all - - sed \ - -e '1i#!/usr/bin/env python' \ - "${D}/$(python_get_sitedir)"/pymol/__init__.py > "${T}"/${PN} || die - - python_foreach_impl python_doscript "${T}"/${PN} - - # These environment variables should not go in the wrapper script, or else - # it will be impossible to use the PyMOL libraries from Python. - cat >> "${T}"/20pymol <<- EOF - PYMOL_PATH="${EPREFIX}/usr/share/pymol" - PYMOL_DATA="${EPREFIX}/usr/share/pymol/data" - PYMOL_SCRIPTS="${EPREFIX}/usr/share/pymol/scripts" - EOF - - doenvd "${T}"/20pymol - - newicon "${WORKDIR}"/${PN}-1.7.0.0.png ${PN}.png - make_desktop_entry ${PN} PyMol ${PN} \ - "Graphics;Education;Science;Chemistry;" \ - "MimeType=chemical/x-pdb;chemical/x-mdl-molfile;chemical/x-mol2;chemical/seq-aa-fasta;chemical/seq-na-fasta;chemical/x-xyz;chemical/x-mdl-sdf;" - - if ! use web; then - rm -rf "${D}/$(python_get_sitedir)/web" || die - fi - - rm -f "${ED}"/usr/share/${PN}/LICENSE || die -} - -pkg_postinst() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update - optfeature "Electrostatic calculations" sci-chemistry/apbs sci-chemistry/pdb2pqr -} - -pkg_postrm() { - fdo-mime_desktop_database_update - fdo-mime_mime_database_update -} |