From: "Aisha Tammy" <gentoo@aisha.cc>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/pymol/
Date: Tue, 22 Sep 2020 11:59:21 +0000 (UTC) [thread overview]
Message-ID: <1600775889.7776b136481f256d1cf8fcb4516b17fa7d3cd365.epsilon-0@gentoo> (raw)
commit: 7776b136481f256d1cf8fcb4516b17fa7d3cd365
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 11:58:09 2020 +0000
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 11:58:09 2020 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7776b136
sci-chemistry/pymol: drop package
present in ::gentoo
Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
sci-chemistry/pymol/metadata.xml | 14 -----
sci-chemistry/pymol/pymol-9999.ebuild | 113 ----------------------------------
2 files changed, 127 deletions(-)
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
-}
next reply other threads:[~2020-09-22 11:59 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-22 11:59 Aisha Tammy [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-11-12 16:23 [gentoo-commits] proj/sci:master commit in: sci-chemistry/pymol/ Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-03-16 7:16 Justin Lecher
2015-03-14 8:21 Justin Lecher
2014-10-27 17:20 Justin Lecher
2014-10-21 6:47 Justin Lecher
2014-10-17 7:50 Justin Lecher
2014-05-01 12:23 Justin Lecher
2014-02-15 11:07 Justin Lecher
2014-01-18 7:39 Justin Lecher
2014-01-18 7:39 Justin Lecher
2014-01-18 7:38 Justin Lecher
2014-01-18 7:38 Justin Lecher
2013-07-24 9:17 Justin Lecher
2013-06-26 14:55 Justin Lecher
2013-06-26 14:45 ` Justin Lecher
2013-06-26 14:55 Justin Lecher
2013-06-26 7:39 ` Justin Lecher
2013-06-26 14:53 Justin Lecher
2013-06-26 14:53 Justin Lecher
2013-03-26 15:34 Justin Lecher
2013-03-03 17:52 Justin Lecher
2013-02-19 19:35 Justin Lecher
2013-02-19 19:35 Justin Lecher
2013-01-29 15:20 Justin Lecher
2012-10-24 6:36 Justin Lecher
2012-08-13 20:22 Justin Lecher
2012-03-29 10:44 Justin Lecher
2012-03-29 10:44 Justin Lecher
2012-03-04 8:41 Justin Lecher
2011-06-24 17:09 Justin Lecher
2011-04-04 11:18 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600775889.7776b136481f256d1cf8fcb4516b17fa7d3cd365.epsilon-0@gentoo \
--to=gentoo@aisha.cc \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox