diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-27 22:33:13 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-27 23:10:04 +0200 |
commit | 2605d02f53346aed451d3f600d900e4e3fc66a63 (patch) | |
tree | f60a3ff9ad210c07b0a731c837fd4f1da6f266ea /sci-chemistry/mgltools-pyautodock | |
parent | Python ABI fixes (diff) | |
download | sci-2605d02f53346aed451d3f600d900e4e3fc66a63.tar.gz sci-2605d02f53346aed451d3f600d900e4e3fc66a63.tar.bz2 sci-2605d02f53346aed451d3f600d900e4e3fc66a63.zip |
Python ABI fixes
(Portage version: 2.2_rc67/git/Linux x86_64)
(Signed Manifest commit)
Diffstat (limited to 'sci-chemistry/mgltools-pyautodock')
-rw-r--r-- | sci-chemistry/mgltools-pyautodock/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/mgltools-pyautodock/Manifest | 14 | ||||
-rw-r--r-- | sci-chemistry/mgltools-pyautodock/mgltools-pyautodock-1.5.4-r1.ebuild (renamed from sci-chemistry/mgltools-pyautodock/mgltools-pyautodock-1.5.4.ebuild) | 21 |
3 files changed, 38 insertions, 5 deletions
diff --git a/sci-chemistry/mgltools-pyautodock/ChangeLog b/sci-chemistry/mgltools-pyautodock/ChangeLog index 13ec8f0e3..18e117a66 100644 --- a/sci-chemistry/mgltools-pyautodock/ChangeLog +++ b/sci-chemistry/mgltools-pyautodock/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sci-chemistry/mgltools-pyautodock -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mgltools-pyautodock-1.5.4-r1 (27 Jun 2010) + + 27 Jun 2010; Justin Lecher <jlec@gentoo.org> + -mgltools-pyautodock-1.5.4.ebuild, +mgltools-pyautodock-1.5.4-r1.ebuild: + Python ABI fixes + *mgltools-pyautodock-1.5.4 (18 May 2009) 18 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> diff --git a/sci-chemistry/mgltools-pyautodock/Manifest b/sci-chemistry/mgltools-pyautodock/Manifest index 2fb31bac6..d247df145 100644 --- a/sci-chemistry/mgltools-pyautodock/Manifest +++ b/sci-chemistry/mgltools-pyautodock/Manifest @@ -1,4 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST mgltools_source_1.5.4.tar.gz 21591865 RMD160 faa158477c4e9156ee5fd23b89251e5bedbd689d SHA1 3b3056a75cd944a4aa46771e09916a4e85052b88 SHA256 d0c614e167512bd19127c741cb2d9860443c097f7ccf0bbe244c0b155e59a9c2 -EBUILD mgltools-pyautodock-1.5.4.ebuild 937 RMD160 aa63981c8b0b13e679a945e7d3c054e34671889d SHA1 dfe743da4249251d60d8800eea5eeed10c968ad7 SHA256 1969475f796a810a5dccfe90a78adf44db23e1dc5a48bb6876cf07fcc7259326 -MISC ChangeLog 304 RMD160 1214c1a8de3db230ad9c0a67406bb0422427ec1c SHA1 9a6d39cc1052ab5b42a008a8e7fe20aa9167dadc SHA256 644fb655532398aa872256347e8f294d1e9f89d635492b94655998f35e7a6612 +EBUILD mgltools-pyautodock-1.5.4-r1.ebuild 1171 RMD160 fcab5f36f96dcced6cbdc605fde210992a7b1509 SHA1 25d88baa022f1b0a95a39ecb75a7774fce234bec SHA256 a297caf7b0ab811d6e662efe0ca3952e29f21b82e945af6a4184dddc08b0dfe2 +MISC ChangeLog 491 RMD160 71d7a77bce399cb595d94325bd109acff7ad83e6 SHA1 da45182a16613d0d06678dcb982273a56772c4f4 SHA256 730a3570e944d53f01bb76428a0b44875331d97bef24a2530b1b85c14f75742a MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkwntYkACgkQgAnW8HDreRbitwCfd4DXqQJzv7OpcGDANd1iQI/T +eJQAn2v3Ulv5apGYXEFdX3xUKdb72m3r +=NdZH +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/mgltools-pyautodock/mgltools-pyautodock-1.5.4.ebuild b/sci-chemistry/mgltools-pyautodock/mgltools-pyautodock-1.5.4-r1.ebuild index 470e0fdbc..3fc1aa3fa 100644 --- a/sci-chemistry/mgltools-pyautodock/mgltools-pyautodock-1.5.4.ebuild +++ b/sci-chemistry/mgltools-pyautodock/mgltools-pyautodock-1.5.4-r1.ebuild @@ -1,10 +1,16 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ +EAPI="3" + +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + inherit distutils -MY_P="PyAutoDock-${PV}" +MY_PN="PyAutoDock" +MY_P="${MY_PN}-${PV}" DESCRIPTION="mgltools plugin -- PyAutoDock" HOMEPAGE="http://mgltools.scripps.edu" @@ -20,12 +26,15 @@ RDEPEND="" DEPEND="${RDEPEND} dev-lang/swig" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}"/${MY_P} src_unpack() { tar xzpf "${DISTDIR}"/${A} mgltools_source_${PV}/MGLPACKS/${MY_P}.tar.gz tar xzpf mgltools_source_${PV}/MGLPACKS/${MY_P}.tar.gz +} +src_prepare() { find "${S}" -name CVS -type d -exec rm -rf '{}' \; >& /dev/null find "${S}" -name LICENSE -type f -exec rm -f '{}' \; >& /dev/null @@ -33,5 +42,13 @@ src_unpack() { -e 's:^.*CVS:#&1:g' \ -e 's:^.*LICENSE:#&1:g' \ -i "${S}"/MANIFEST.in + distutils_src_prepare } +pkg_postinst() { + python_mod_optimize ${MY_PN} +} + +pkg_postrm() { + python_mod_cleanup ${MY_PN} +} |