diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-11 20:26:16 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-11 20:26:16 +0000 |
commit | f4c6d3f4d76807998e09057263ace4a818949c69 (patch) | |
tree | 931e05870fc94d8061de5436a22198d821afb20c /sci-chemistry | |
parent | Stable for HPPA (bug #288656). (diff) | |
download | historical-f4c6d3f4d76807998e09057263ace4a818949c69.tar.gz historical-f4c6d3f4d76807998e09057263ace4a818949c69.tar.bz2 historical-f4c6d3f4d76807998e09057263ace4a818949c69.zip |
Version Bump, EAPI=3 and multiple python versions support
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/pymol-apbs-plugin/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/pymol-apbs-plugin/Manifest | 12 | ||||
-rw-r--r-- | sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p15.ebuild | 54 |
3 files changed, 68 insertions, 6 deletions
diff --git a/sci-chemistry/pymol-apbs-plugin/ChangeLog b/sci-chemistry/pymol-apbs-plugin/ChangeLog index 3cc02c017335..98c110499156 100644 --- a/sci-chemistry/pymol-apbs-plugin/ChangeLog +++ b/sci-chemistry/pymol-apbs-plugin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-chemistry/pymol-apbs-plugin # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.1 2010/02/01 21:40:04 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/ChangeLog,v 1.2 2010/02/11 20:26:16 jlec Exp $ + +*pymol-apbs-plugin-0_p15 (11 Feb 2010) + + 11 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +pymol-apbs-plugin-0_p15.ebuild: + Version Bump, EAPI=3 and multiple python support *pymol-apbs-plugin-0_p11 (01 Feb 2010) diff --git a/sci-chemistry/pymol-apbs-plugin/Manifest b/sci-chemistry/pymol-apbs-plugin/Manifest index 3c6dcd851f4b..a95d2e1b1b75 100644 --- a/sci-chemistry/pymol-apbs-plugin/Manifest +++ b/sci-chemistry/pymol-apbs-plugin/Manifest @@ -2,13 +2,15 @@ Hash: SHA1 DIST pymol-apbs-plugin-0_p11.py 102097 RMD160 1ab4b3a9caa2f1e2a3a42b1072c91eea1c6be31c SHA1 3678bd0e329efd5401304e9434014f6712be1374 SHA256 ed2e5c7eaa0a0c81cf12092fd58c949bbfce93b5c1acd3d880f812823a66a450 +DIST pymol-apbs-plugin-0_p15.py 104351 RMD160 852273d6e09eb17d06b0508408f957ac547b4c12 SHA1 215a9ad498c0c28f9d8db3c18c6822b7b44917ef SHA256 c5a259ddc1931f1ec4efe0ffc3ae9e9ac4a84a28c83a4f93a06ebb7c1bef0c1d EBUILD pymol-apbs-plugin-0_p11.ebuild 1407 RMD160 17c215ca3f3c59c7887e21ff2febe16677074142 SHA1 9b54024e06c2bfbbad9e52dd109fc5708fb68841 SHA256 e6eb6d43f2c00513a8254be206ac38212d093c319fd9e794206642b239d9ec48 -MISC ChangeLog 419 RMD160 0d4789ae4528034ef07201230897553a3456013b SHA1 bcbdd2d8bccf88c7ee9c5e4f6f101fda71788245 SHA256 f634a9f2fb37c624a03abb6cfc1661ef262d8ef894ad8807eb9581df9d789788 +EBUILD pymol-apbs-plugin-0_p15.ebuild 1496 RMD160 aef286064f43de7c054d618632eb4c886558f5af SHA1 44845c056d8b20f454028a92fcfd983a65c6023a SHA256 175da8ffcc4ac8f08c07990aec8c9703ef7e0d45b0e452405808403987d9a4e5 +MISC ChangeLog 600 RMD160 cc68e00d10f222b7f6ef3b59c51256ee5c9fc0bc SHA1 ac1d0c99f62f544a035308f768076fd478c91457 SHA256 a115089edf2cd8ec84641a15a486dc8a06027938ff513fcb4c8af5fbb78a7061 MISC metadata.xml 216 RMD160 04a6fc4e2160b439296b52aa97d5b7d83af75508 SHA1 9561c9e6eada6aac9b503407917900529ce703e9 SHA256 24f5c205c2655ef27138c8aa087701626f5b4c666229c9ef7fe814e63ea2e776 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) +Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAktnSjkACgkQgAnW8HDreRbkIwCgxBiuh9wXZGA9RJS4eOP3dl/J -LB8AoI/Ewm0fOaTjRuUWx7FHb1Fg5zOS -=m7jT +iEYEARECAAYFAkt0Z+0ACgkQgAnW8HDreRahpgCgvD1oV8Hykq/RMEfP5eOc9SnT +JQkAn1xj7NLD9QGJ52QTZzOWcdQ84ky5 +=VSR1 -----END PGP SIGNATURE----- diff --git a/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p15.ebuild b/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p15.ebuild new file mode 100644 index 000000000000..3f195533f330 --- /dev/null +++ b/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p15.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pymol-apbs-plugin/pymol-apbs-plugin-0_p15.ebuild,v 1.1 2010/02/11 20:26:16 jlec Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" + +inherit python + +MY_PV="${PV##*_p}" + +DESCRIPTION="APBS plugin for pymol" +HOMEPAGE="http://sourceforge.net/projects/pymolapbsplugin/" +SRC_URI="http://pymolapbsplugin.svn.sourceforge.net/viewvc/pymolapbsplugin/trunk/src/apbsplugin.py?revision=${MY_PV} -> ${P}.py" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="pymol" +IUSE="" + +RDEPEND=" + sci-chemistry/apbs + sci-chemistry/pdb2pqr + !<sci-chemistry/pymol-1.2.2-r1" +DEPEND="${RDEPEND}" + +src_unpack() { + mkdir "${S}" + cp "${DISTDIR}"/${P}.py "${S}"/ + python_copy_sources --no-link +} + +src_install() { + installation() { + sed \ + -e "s:^APBS_BINARY_LOCATION.*:APBS_BINARY_LOCATION = \"${EPREFIX}/usr/bin/apbs\":g" \ + -e "s:^APBS_PSIZE_LOCATION.*:APBS_PSIZE_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/src/\":g" \ + -e "s:^APBS_PDB2PQR_LOCATION.*:APBS_PDB2PQR_LOCATION = \"${EPREFIX}/$(python_get_sitedir)/pdb2pqr/\":g" \ + -e "s:^TEMPORARY_FILE_DIR.*:TEMPORARY_FILE_DIR = \"./\":g" \ + -i ${P}.py + + insinto $(python_get_sitedir)/pmg_tk/startup/ + newins ${P}.py apbs_tools.py || die + } + python_execute_function -s installation +} + +pkg_postinst() { + python_mod_optimize pmg_tk/startup/apbs_tools.py +} + +pkg_postrm() { + python_mod_cleanup pmg_tk/startup/apbs_tools.py +} |