Version bump to pymol-0.99_rc8, big thanks to hodak at ncsu.
authorJeffrey Gardner <je_fro@gentoo.org>
Wed, 2 May 2007 16:52:04 +0000 (16:52 +0000)
committerJeffrey Gardner <je_fro@gentoo.org>
Wed, 2 May 2007 16:52:04 +0000 (16:52 +0000)
Package-Manager: portage-2.1.2.2

sci-chemistry/pymol/ChangeLog
sci-chemistry/pymol/Manifest
sci-chemistry/pymol/files/digest-pymol-0.99_rc8 [new file with mode: 0644]
sci-chemistry/pymol/pymol-0.99_rc8.ebuild [new file with mode: 0644]

index edf869348fe5a0e328de7e36626292d41821f20e..4c354a6d8c07555af847949bb16d1184e02cea32 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-chemistry/pymol
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.20 2007/02/10 03:29:43 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/ChangeLog,v 1.21 2007/05/02 16:52:04 je_fro Exp $
+
+*pymol-0.99_rc8 (02 May 2007)
+
+  02 May 2007; Jeff Gardner <je_fro@gentoo.org> +pymol-0.99_rc8.ebuild:
+  Version bump to pymol-0.99_rc8, big thanks to hodak at ncsu.
 
   10 Feb 2007; Steve Dibb <beandog@gentoo.org> pymol-0.98.ebuild:
   amd64 stable, bug 165712
index dd8c77b28bd9d8d23bae1e175026caad2b08db2f..ccd0abe6d09f2fe0bea894a7dfc7a722f4a067e1 100644 (file)
@@ -32,10 +32,14 @@ EBUILD pymol-0.99_rc6-r2.ebuild 2254 RMD160 de11b2df371b523844c7e4ad1018a4801c08
 MD5 7d91ada441eda5a381ba826df8ecedf0 pymol-0.99_rc6-r2.ebuild 2254
 RMD160 de11b2df371b523844c7e4ad1018a4801c084e37 pymol-0.99_rc6-r2.ebuild 2254
 SHA256 c0ca87c0c85b20587ed97dd837fcaa1f2efa63d01eba9b37bb0ba1794de80f95 pymol-0.99_rc6-r2.ebuild 2254
-MISC ChangeLog 5957 RMD160 22c8d79aa3870ee84156c3e46fb30da8bf556734 SHA1 16fe7636aab85c46ff397b368521c69a41ef64dd SHA256 3ce0a9fccf6bda1a508315a51ed8d6bfbd2357fd2773b8abd500483925dc25ee
-MD5 9a11f9e9cf1eb03eb7f2cdc42c6d3c33 ChangeLog 5957
-RMD160 22c8d79aa3870ee84156c3e46fb30da8bf556734 ChangeLog 5957
-SHA256 3ce0a9fccf6bda1a508315a51ed8d6bfbd2357fd2773b8abd500483925dc25ee ChangeLog 5957
+EBUILD pymol-0.99_rc8.ebuild 2157 RMD160 d8cccc8cb2751c1e79293d5d42a2b4140eab90cc SHA1 43d5a67503444047ef6c5e97c4635f3620310a64 SHA256 cdfca51040a46b536bc9b46f6f859ff243e2cfaff7929e14c50d4e19c0163df9
+MD5 332bf0260ab7e634ab206f39d7009cdb pymol-0.99_rc8.ebuild 2157
+RMD160 d8cccc8cb2751c1e79293d5d42a2b4140eab90cc pymol-0.99_rc8.ebuild 2157
+SHA256 cdfca51040a46b536bc9b46f6f859ff243e2cfaff7929e14c50d4e19c0163df9 pymol-0.99_rc8.ebuild 2157
+MISC ChangeLog 6123 RMD160 e9db0d537d7bc920ff659d0f6f25b5cd38f1227c SHA1 ef3af9b8518566bb00e848f4b7e9e4932394dd15 SHA256 c20d6baddd154a34d05ef56f29359501aa65b03fb1d7471df37f6c9eed12fc80
+MD5 bdbe5afa4cc09aad92bfd85560180f14 ChangeLog 6123
+RMD160 e9db0d537d7bc920ff659d0f6f25b5cd38f1227c ChangeLog 6123
+SHA256 c20d6baddd154a34d05ef56f29359501aa65b03fb1d7471df37f6c9eed12fc80 ChangeLog 6123
 MISC metadata.xml 166 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 SHA1 cb0b513473c0348f4f6f6cd9a132e4884155fddb SHA256 84c92b49702daf95eace8d2765215cbd8650da4ef776f9f700b5ce3785dec852
 MD5 43628e9f5743b5c3b018a82669a76bc7 metadata.xml 166
 RMD160 4452298fd03e7c9395d1182bfe69d60a14144af6 metadata.xml 166
@@ -46,3 +50,6 @@ SHA256 f6ee1c2e2a10e9b2d317a9fd3272616e39a00b51fa6af041c762eb130195ca92 files/di
 MD5 925dc45d0ae6070f5506dffc1d100975 files/digest-pymol-0.99_rc6-r2 247
 RMD160 505a34a7bebbbdd2c60913ea3ec7cd41164eeaff files/digest-pymol-0.99_rc6-r2 247
 SHA256 4644dbddb3d8af1a2956282b351c228ded4ebb2fe628a571e0e929922a1b485a files/digest-pymol-0.99_rc6-r2 247
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-pymol-0.99_rc8 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-pymol-0.99_rc8 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-pymol-0.99_rc8 0
diff --git a/sci-chemistry/pymol/files/digest-pymol-0.99_rc8 b/sci-chemistry/pymol/files/digest-pymol-0.99_rc8
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/sci-chemistry/pymol/pymol-0.99_rc8.ebuild b/sci-chemistry/pymol/pymol-0.99_rc8.ebuild
new file mode 100644 (file)
index 0000000..cc6a7fc
--- /dev/null
@@ -0,0 +1,77 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol/pymol-0.99_rc8.ebuild,v 1.1 2007/05/02 16:52:04 je_fro Exp $
+
+inherit distutils eutils multilib subversion
+
+ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/pymol/branches/b099/pymol"
+ESVN_UPDATE_CMD="svn -r 2805 update"
+
+DESCRIPTION="A Python-extensible molecular graphics system."
+HOMEPAGE="http://pymol.sourceforge.net/"
+
+LICENSE="PSF-2.2"
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="dev-lang/python
+dev-python/pmw
+dev-python/numeric
+dev-lang/tk
+media-libs/libpng
+sys-libs/zlib
+media-libs/glut"
+
+src_unpack() {
+       subversion_src_unpack
+
+       epatch "${FILESDIR}"/${P}-data-path.patch
+
+# Turn off splash screen.  Please do make a project contribution
+# if you are able.
+       [[ -n "$WANT_NOSPLASH" ]] && epatch "${FILESDIR}"/nosplash-gentoo.patch
+
+# Respect CFLAGS
+       sed -i \
+       -e "s:\(ext_comp_args=\).*:\1[]:g" \
+       "${S}"/setup.py
+}
+
+src_install() {
+       python_version
+
+       distutils_src_install
+       cd "${S}"
+
+#The following three lines probably do not do their jobs and should be
+#changed
+       PYTHONPATH="${D}/usr/$(get_libdir)/site-packages" ${python} setup2.py
+
+# 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=/usr/$(get_libdir)/python${PYVER}/site-packages/pymol
+               PYMOL_DATA="/usr/share/pymol/data"
+               PYMOL_SCRIPTS="/usr/share/pymol/scripts"
+EOF
+
+       doenvd "${T}"/20pymol || die "Failed to install env.d file."
+
+# Make our own wrapper
+               cat >> "${T}"/pymol << EOF
+#!/bin/sh
+               ${python} \${PYMOL_PATH}/__init__.py \$*
+EOF
+
+               exeinto /usr/bin
+               doexe "${T}"/pymol || die "Failed to install wrapper."
+               dodoc DEVELOPERS CHANGES || die "Failed to install docs."
+
+               mv examples "${D}"/usr/share/doc/${PF}/ || die "Failed moving docs."
+
+               dodir /usr/share/pymol
+               mv test "${D}"/usr/share/pymol/ || die "Failed moving test files."
+               mv data "${D}"/usr/share/pymol/ || die "Failed moving data files."
+               mv scripts "${D}"/usr/share/pymol/ || die "Failed moving scripts."
+}