diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-29 16:40:59 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-29 20:08:21 +0200 |
commit | 3cca43db85b7ed3eba0757088a704caf7dc0b3b9 (patch) | |
tree | 067567e68621633604592d5723a253f2e50921e6 /sci-chemistry/mgltools-viewer-framework | |
parent | Import a version of maxima-5.20.1 that solve bug #255673 (diff) | |
download | sci-3cca43db85b7ed3eba0757088a704caf7dc0b3b9.tar.gz sci-3cca43db85b7ed3eba0757088a704caf7dc0b3b9.tar.bz2 sci-3cca43db85b7ed3eba0757088a704caf7dc0b3b9.zip |
Fix for Python ABIs
(Portage version: 2.2_rc67/git/Linux x86_64)
(Signed Manifest commit)
Diffstat (limited to 'sci-chemistry/mgltools-viewer-framework')
-rw-r--r-- | sci-chemistry/mgltools-viewer-framework/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/mgltools-viewer-framework/Manifest | 14 | ||||
-rw-r--r-- | sci-chemistry/mgltools-viewer-framework/mgltools-viewer-framework-1.5.4-r1.ebuild (renamed from sci-chemistry/mgltools-viewer-framework/mgltools-viewer-framework-1.5.4.ebuild) | 20 |
3 files changed, 38 insertions, 5 deletions
diff --git a/sci-chemistry/mgltools-viewer-framework/ChangeLog b/sci-chemistry/mgltools-viewer-framework/ChangeLog index 4ca181523..1ccb9ee08 100644 --- a/sci-chemistry/mgltools-viewer-framework/ChangeLog +++ b/sci-chemistry/mgltools-viewer-framework/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for sci-chemistry/mgltools-viewer-framework -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mgltools-viewer-framework-1.5.4-r1 (29 Jun 2010) + + 29 Jun 2010; Justin Lecher <jlec@gentoo.org> + -mgltools-viewer-framework-1.5.4.ebuild, + +mgltools-viewer-framework-1.5.4-r1.ebuild: + Python ABI fixes + *mgltools-viewer-framework-1.5.4 (17 May 2009) 17 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> diff --git a/sci-chemistry/mgltools-viewer-framework/Manifest b/sci-chemistry/mgltools-viewer-framework/Manifest index cb59eb0bb..5e63423aa 100644 --- a/sci-chemistry/mgltools-viewer-framework/Manifest +++ b/sci-chemistry/mgltools-viewer-framework/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-viewer-framework-1.5.4.ebuild 981 RMD160 311639c0fa1dfe9cb839209bc2b09cf0ac3d1741 SHA1 bd7acd7be34c695453bcfc84dab92f26b4895812 SHA256 959e7430667a49ea5e3b1ad796e3f1e71b59b72d473aecdcff712f63a1a2b180 -MISC ChangeLog 322 RMD160 4155282c6eb1f604128d1ec9437395f9757a9169 SHA1 a6cf434332d504094c75b8b0ce7e477456a786bb SHA256 585f9047a7444596d49dea629e79caa3223d8775de3512a09b19702581bea80c +EBUILD mgltools-viewer-framework-1.5.4-r1.ebuild 1214 RMD160 090fb710a0ddcb4550e90744f0b8c48c4136ad1f SHA1 068f52129a3d4e4075cba4d3a5cb03c312a737ce SHA256 2f9a3fce2912d3c7ac010661dac9d52c753212e091118f103a305fc370f49aa7 +MISC ChangeLog 529 RMD160 d3f64b5bc3240078da59a90964b7c66b91bf7cdb SHA1 da29d0c946320bc70388738380d8685310b0e67a SHA256 1bf4a6d965e699e65ab260d68623b55ee96370ca343d6e55a38ae95676bef1bd MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkwqBfsACgkQgAnW8HDreRYj6ACfWmm/PmsmUkys2h5w2IwmoSc4 +1V4AnibPrON/uhyL1DvcX9F9XU2XxTPK +=LpG3 +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/mgltools-viewer-framework/mgltools-viewer-framework-1.5.4.ebuild b/sci-chemistry/mgltools-viewer-framework/mgltools-viewer-framework-1.5.4-r1.ebuild index b304df7f1..7bbf63010 100644 --- a/sci-chemistry/mgltools-viewer-framework/mgltools-viewer-framework-1.5.4.ebuild +++ b/sci-chemistry/mgltools-viewer-framework/mgltools-viewer-framework-1.5.4-r1.ebuild @@ -1,10 +1,15 @@ -# 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="ViewerFramework-${PV}" +MY_PN="ViewerFramework" +MY_P="${MY_PN}-${PV}" DESCRIPTION="mgltools plugin -- Viewer-Framework" HOMEPAGE="http://mgltools.scripps.edu" @@ -20,6 +25,7 @@ RDEPEND="" DEPEND="${RDEPEND} dev-lang/swig" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}"/${MY_P} DOCS="ViewerFramework/RELNOTES" @@ -27,7 +33,9 @@ DOCS="ViewerFramework/RELNOTES" 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 @@ -35,5 +43,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} +} |