diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-27 22:38:01 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-27 23:10:04 +0200 |
commit | af9988abae4b59a8f0aeaf0fee72dd89ba101cb0 (patch) | |
tree | 16c0a73e82121c31ae7986c80477490ef6874430 /sci-chemistry/mgltools-scenario | |
parent | Python ABI fixes (diff) | |
download | sci-af9988abae4b59a8f0aeaf0fee72dd89ba101cb0.tar.gz sci-af9988abae4b59a8f0aeaf0fee72dd89ba101cb0.tar.bz2 sci-af9988abae4b59a8f0aeaf0fee72dd89ba101cb0.zip |
Python ABI fixes
(Portage version: 2.2_rc67/git/Linux x86_64)
(Signed Manifest commit)
Diffstat (limited to 'sci-chemistry/mgltools-scenario')
-rw-r--r-- | sci-chemistry/mgltools-scenario/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/mgltools-scenario/Manifest | 14 | ||||
-rw-r--r-- | sci-chemistry/mgltools-scenario/mgltools-scenario-1.5.4-r1.ebuild (renamed from sci-chemistry/mgltools-scenario/mgltools-scenario-1.5.4.ebuild) | 21 |
3 files changed, 38 insertions, 5 deletions
diff --git a/sci-chemistry/mgltools-scenario/ChangeLog b/sci-chemistry/mgltools-scenario/ChangeLog index 74131e35f..cd76f3fd3 100644 --- a/sci-chemistry/mgltools-scenario/ChangeLog +++ b/sci-chemistry/mgltools-scenario/ChangeLog @@ -1,7 +1,13 @@ # ChangeLog for sci-chemistry/mgltools-scenario -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mgltools-scenario-1.5.4-r1 (27 Jun 2010) + + 27 Jun 2010; Justin Lecher <jlec@gentoo.org> + -mgltools-scenario-1.5.4.ebuild, +mgltools-scenario-1.5.4-r1.ebuild: + Python ABI fixes + *mgltools-scenario-1.5.4 (17 May 2009) 17 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> diff --git a/sci-chemistry/mgltools-scenario/Manifest b/sci-chemistry/mgltools-scenario/Manifest index 726f72f92..c9e9d5960 100644 --- a/sci-chemistry/mgltools-scenario/Manifest +++ b/sci-chemistry/mgltools-scenario/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-scenario-1.5.4.ebuild 987 RMD160 87beb046890f4ed952d3b09bb88f389a380e7b43 SHA1 440e0a8aaf993d8e1bc51b9f7668fe0a97f1af86 SHA256 35442aee971465afd06d3c2c1fe95b802351cf2fd79f60d8e16b053c437a4b15 -MISC ChangeLog 296 RMD160 0ef93d05729fb3b92de814dceb8c7d4ecdcfad7e SHA1 1ed309da31f0e36f4b4ac9e4435a7b9b1fd2e4d7 SHA256 d4fa425b2f21c007092c94306dd7fac1d86ed9759d737679f4c6ce41c04992af +EBUILD mgltools-scenario-1.5.4-r1.ebuild 1221 RMD160 9bcb13f7aac03dc89acec49575e84115eb2fa7b7 SHA1 f2d4652c5a91a07857f52cfe63a2a07456cd74a0 SHA256 2b182675052d5c2bfcf47a70991c66db56daaf22f7faefd3f3332094f2b42323 +MISC ChangeLog 477 RMD160 b287e841a809bb5f808716e948fc774abd35c96e SHA1 fb94ae44af688c0f592cad5b9b9261b6dddea422 SHA256 293d1bc7647428f00d877ef9be1501ab96d96d7f32d5c28c8fc867d2b690550d MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkwntqkACgkQgAnW8HDreRZVyACfWofiF3o0V+TjSdSuGkqXRpZk +jUwAniDxU4DZ8SNSa4BYPfLuPDlU28Ra +=UqKF +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/mgltools-scenario/mgltools-scenario-1.5.4.ebuild b/sci-chemistry/mgltools-scenario/mgltools-scenario-1.5.4-r1.ebuild index b6d6622a4..29794a6df 100644 --- a/sci-chemistry/mgltools-scenario/mgltools-scenario-1.5.4.ebuild +++ b/sci-chemistry/mgltools-scenario/mgltools-scenario-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="${P/mgltools-}" +MY_PN="scenario" +MY_P="${MY_PN}-${PV}" DESCRIPTION="mgltools plugin -- scenario" HOMEPAGE="http://mgltools.scripps.edu" @@ -21,6 +27,7 @@ RDEPEND="sci-misc/simpy DEPEND="${RDEPEND} dev-lang/swig" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}"/${MY_P} DOCS="scenario/Readme" @@ -28,7 +35,9 @@ DOCS="scenario/Readme" 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 @@ -36,5 +45,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} +} |