summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-03-18 10:22:58 +0000
committerJustin Lecher <jlec@gentoo.org>2011-03-18 10:22:58 +0000
commit550b256d99c0616c8d88ea3a97820beb87864ebe (patch)
treea167b7ea3768d86f5ef1671542be4b27d6ead12d /sci-chemistry/pymol-plugins-caver
parentFix slot-deps on gtk+ and other libs (diff)
downloadhistorical-550b256d99c0616c8d88ea3a97820beb87864ebe.tar.gz
historical-550b256d99c0616c8d88ea3a97820beb87864ebe.tar.bz2
historical-550b256d99c0616c8d88ea3a97820beb87864ebe.zip
Moved from sci-chemistry/caver to sci-chemistry/pymol-plugins-caver, Version Bump
Package-Manager: portage-2.2.0_alpha27/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/pymol-plugins-caver')
-rw-r--r--sci-chemistry/pymol-plugins-caver/ChangeLog13
-rw-r--r--sci-chemistry/pymol-plugins-caver/Manifest16
-rw-r--r--sci-chemistry/pymol-plugins-caver/metadata.xml5
-rw-r--r--sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.1.ebuild66
-rw-r--r--sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.2.ebuild66
5 files changed, 166 insertions, 0 deletions
diff --git a/sci-chemistry/pymol-plugins-caver/ChangeLog b/sci-chemistry/pymol-plugins-caver/ChangeLog
new file mode 100644
index 000000000000..b41e77a946b0
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-caver/ChangeLog
@@ -0,0 +1,13 @@
+# ChangeLog for sci-chemistry/pymol-plugins-caver
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-caver/ChangeLog,v 1.1 2011/03/18 10:22:58 jlec Exp $
+
+*pymol-plugins-caver-2.1.2 (18 Mar 2011)
+*pymol-plugins-caver-2.1.1 (18 Mar 2011)
+
+ 18 Mar 2011; Justin Lecher <jlec@gentoo.org>
+ +pymol-plugins-caver-2.1.1.ebuild, +pymol-plugins-caver-2.1.2.ebuild,
+ +metadata.xml:
+ Moved from sci-chemistry/caver to sci-chemistry/pymol-plugins-caver, Version
+ Bump
+
diff --git a/sci-chemistry/pymol-plugins-caver/Manifest b/sci-chemistry/pymol-plugins-caver/Manifest
new file mode 100644
index 000000000000..7731b17b3b6a
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-caver/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST Caver2_1_1_pymol_plugin.zip 5695137 RMD160 205cc36a040b7dcc1112e2e747d4d0c97806c285 SHA1 a7a2849c75074f596bb583d90679e96356622cda SHA256 367e3e37569219ef011d769e9109897c3e26a870a94e9132480768c027571da3
+DIST Caver2_1_2_pymol_plugin.zip 5698331 RMD160 497c21bd26e20af77d2504b128f35e51e7852e1b SHA1 caac1f15716e5cc0888df7d6f017152cedeb7dc9 SHA256 1dcc61ba13247c05710c4cd68491d0c867ce1d0c11c824be85a516250b2874e3
+EBUILD pymol-plugins-caver-2.1.1.ebuild 1558 RMD160 793758f496d45ce1984dd777c0045715a0ab8928 SHA1 5cde71c9dfae5a26698b17a4ec4518fc3c4118db SHA256 45c363d0f0aa6b927ddd61af1d5e7f57e7bc58694684b51ec6efbc9b6af11c6b
+EBUILD pymol-plugins-caver-2.1.2.ebuild 1558 RMD160 5cb73d2472587ce1944615834f19b42ded063913 SHA1 081aac0da9e31d8005b22f512074f9626ae1d12a SHA256 2bc55ae57121147251fcd0869879fd15cf257c4b143d7cd5e6080549308b2f66
+MISC ChangeLog 543 RMD160 4aaa7b155b2e3a9db9855366675f3be2ed78694b SHA1 79d2c56fed8935a32c1c6a7e0c752d504a34593a SHA256 8c473004253447cd4ac153d0350dfcb9b45bcfb5533fb951e25ff61150292586
+MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iEYEARECAAYFAk2DMogACgkQgAnW8HDreRbCogCghcKv5UbLsPXbcTiOXsrbd3cu
+8EwAnRwZ4rpOjQ+wPlKfmSf+cSvQTpKX
+=wdM9
+-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/pymol-plugins-caver/metadata.xml b/sci-chemistry/pymol-plugins-caver/metadata.xml
new file mode 100644
index 000000000000..9ac9ffdb3a41
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-caver/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-chemistry</herd>
+</pkgmetadata>
diff --git a/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.1.ebuild b/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.1.ebuild
new file mode 100644
index 000000000000..7e044a08f28f
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.1.ebuild,v 1.1 2011/03/18 10:22:58 jlec Exp $
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit multilib python eutils versionator java-utils-2
+
+MY_PV="$(replace_all_version_separators _)"
+MY_P="Caver${MY_PV}_pymol_plugin"
+
+DESCRIPTION="Calculation of pathways from buried cavities to outside solvent in protein structures"
+HOMEPAGE="http://loschmidt.chemi.muni.cz/caver/"
+SRC_URI="${MY_P}.zip"
+
+LICENSE="CAVER"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.6
+ sci-chemistry/pymol"
+DEPEND="app-arch/unzip"
+
+RESTRICT="fetch"
+
+S="${WORKDIR}/${MY_P}"/linux_mac
+
+pkg_nofetch() {
+ elog "Download ${A}"
+ elog "from ${HOMEPAGE}. This requires registration."
+ elog "Place tarballs in ${DISTDIR}."
+}
+
+src_prepare() {
+ python_copy_sources
+}
+
+src_install() {
+ java-pkg_dojar Caver${MY_PV}/*.jar
+
+ java-pkg_jarinto /usr/share/${PN}/lib/lib/
+ java-pkg_dojar Caver${MY_PV}/lib/*.jar
+
+ installation() {
+ sed \
+ -e "s:directory/where/jar/with/plugin/is/located:${EPREFIX}/usr/share/${PN}/lib/:g" \
+ -i Caver${MY_PV}.py || die
+
+ insinto $(python_get_sitedir)/pmg_tk/startup/
+ doins Caver${MY_PV}.py || die
+ }
+ python_execute_function -s installation
+}
+
+pkg_postinst() {
+ python_mod_optimize pmg_tk/startup/Caver${MY_PV}.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup pmg_tk/startup/Caver${MY_PV}.py
+}
diff --git a/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.2.ebuild b/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.2.ebuild
new file mode 100644
index 000000000000..87f97bb1cf2d
--- /dev/null
+++ b/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-plugins-caver/pymol-plugins-caver-2.1.2.ebuild,v 1.1 2011/03/18 10:22:58 jlec Exp $
+
+EAPI="3"
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 3.*"
+
+inherit multilib python eutils versionator java-utils-2
+
+MY_PV="$(replace_all_version_separators _)"
+MY_P="Caver${MY_PV}_pymol_plugin"
+
+DESCRIPTION="Calculation of pathways from buried cavities to outside solvent in protein structures"
+HOMEPAGE="http://loschmidt.chemi.muni.cz/caver/"
+SRC_URI="${MY_P}.zip"
+
+LICENSE="CAVER"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+ >=virtual/jre-1.6
+ sci-chemistry/pymol"
+DEPEND="app-arch/unzip"
+
+RESTRICT="fetch"
+
+S="${WORKDIR}/${MY_P}"/linux_mac
+
+pkg_nofetch() {
+ elog "Download ${A}"
+ elog "from ${HOMEPAGE}. This requires registration."
+ elog "Place tarballs in ${DISTDIR}."
+}
+
+src_prepare() {
+ python_copy_sources
+}
+
+src_install() {
+ java-pkg_dojar Caver${MY_PV}/*.jar
+
+ java-pkg_jarinto /usr/share/${PN}/lib/lib/
+ java-pkg_dojar Caver${MY_PV}/lib/*.jar
+
+ installation() {
+ sed \
+ -e "s:directory/where/jar/with/plugin/is/located:${EPREFIX}/usr/share/${PN}/lib/:g" \
+ -i Caver${MY_PV}.py || die
+
+ insinto $(python_get_sitedir)/pmg_tk/startup/
+ doins Caver${MY_PV}.py || die
+ }
+ python_execute_function -s installation
+}
+
+pkg_postinst() {
+ python_mod_optimize pmg_tk/startup/Caver${MY_PV}.py
+}
+
+pkg_postrm() {
+ python_mod_cleanup pmg_tk/startup/Caver${MY_PV}.py
+}