diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-06-27 22:20:25 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-06-27 23:10:04 +0200 |
commit | cb4f870ce946f36d852f1e89eb1e291e19db1e1c (patch) | |
tree | 93e463f1494d5d78abf0ca0bab4c4598277f23f1 /sci-chemistry/mgltools-networkeditor | |
parent | Python ABI fixes (diff) | |
download | sci-cb4f870ce946f36d852f1e89eb1e291e19db1e1c.tar.gz sci-cb4f870ce946f36d852f1e89eb1e291e19db1e1c.tar.bz2 sci-cb4f870ce946f36d852f1e89eb1e291e19db1e1c.zip |
Python ABI fixes
(Portage version: 2.2_rc67/git/Linux x86_64)
(Signed Manifest commit)
Diffstat (limited to 'sci-chemistry/mgltools-networkeditor')
-rw-r--r-- | sci-chemistry/mgltools-networkeditor/ChangeLog | 9 | ||||
-rw-r--r-- | sci-chemistry/mgltools-networkeditor/Manifest | 14 | ||||
-rw-r--r-- | sci-chemistry/mgltools-networkeditor/mgltools-networkeditor-1.5.4-r1.ebuild (renamed from sci-chemistry/mgltools-networkeditor/mgltools-networkeditor-1.5.4.ebuild) | 21 |
3 files changed, 39 insertions, 5 deletions
diff --git a/sci-chemistry/mgltools-networkeditor/ChangeLog b/sci-chemistry/mgltools-networkeditor/ChangeLog index b0f582cd9..803a128a5 100644 --- a/sci-chemistry/mgltools-networkeditor/ChangeLog +++ b/sci-chemistry/mgltools-networkeditor/ChangeLog @@ -1,7 +1,14 @@ # ChangeLog for sci-chemistry/mgltools-networkeditor -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*mgltools-networkeditor-1.5.4-r1 (27 Jun 2010) + + 27 Jun 2010; Justin Lecher <jlec@gentoo.org> + -mgltools-networkeditor-1.5.4.ebuild, + +mgltools-networkeditor-1.5.4-r1.ebuild: + Python ABI fixes + *mgltools-networkeditor-1.5.4 (18 May 2009) 18 May 2009; Justin Lecher (jlec) <jlec@j-schmitz.net> diff --git a/sci-chemistry/mgltools-networkeditor/Manifest b/sci-chemistry/mgltools-networkeditor/Manifest index 7721a7504..0cc2b9dfc 100644 --- a/sci-chemistry/mgltools-networkeditor/Manifest +++ b/sci-chemistry/mgltools-networkeditor/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-networkeditor-1.5.4.ebuild 974 RMD160 19e1734246048ecfe5cbd801906ccfdeea2ebdf9 SHA1 9195b69a77d8d278743091cefddaf64c4a1515e9 SHA256 e9e6a5deedb65850edad38d4f81ef565f7c29d6c61fa05d3d1f931e0b7f206c3 -MISC ChangeLog 313 RMD160 9bae1e05548ba983716be6035b8a34a42333b29f SHA1 6308f511d947d7de9ee5dfb1f3efa256b3cdaa87 SHA256 1cf083a1f949ea10696202ce212dafca8843563d065d33fb163e3c0e4b92c93a +EBUILD mgltools-networkeditor-1.5.4-r1.ebuild 1208 RMD160 3ff04ccba308aad2db28b6736f66d3eca228dcb6 SHA1 c9c59fa0e73d8234ac1271a1161b3db6a32e3931 SHA256 c39929cf316f29136d5e2a8da7bd21dcdd223303726d2c2d18af05dac762a921 +MISC ChangeLog 511 RMD160 c5b7c7af6a957334ac091c17336df63f2eb54467 SHA1 16515f0fa24e8ef3136780b3b40d980c49f53fdc SHA256 7cb16e558748a50643af22f23f7a3c9ed45a69bb8f25a91072fc787119b615e3 MISC metadata.xml 215 RMD160 bc9c07aa91f2f175542244e4e4522a73558210a1 SHA1 facb283386de1c0b6b938cdcd4dde04d1694298b SHA256 13f32353652adbd3d934d41381cfc2cacc9e1127c508cebc73806cc1026ee80c +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.15 (GNU/Linux) + +iEYEARECAAYFAkwnsokACgkQgAnW8HDreRbUpgCeLkVhIaW9Hesp6xU8yCgragRg +21MAniPZSs52kFQtQv9UXorl845JeiP3 +=Luw5 +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/mgltools-networkeditor/mgltools-networkeditor-1.5.4.ebuild b/sci-chemistry/mgltools-networkeditor/mgltools-networkeditor-1.5.4-r1.ebuild index 8b3d591f6..590d98f12 100644 --- a/sci-chemistry/mgltools-networkeditor/mgltools-networkeditor-1.5.4.ebuild +++ b/sci-chemistry/mgltools-networkeditor/mgltools-networkeditor-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="NetworkEditor-${PV}" +MY_PN="NetworkEditor" +MY_P="${MY_PN}-${PV}" DESCRIPTION="mgltools plugin -- NetworkEditor" HOMEPAGE="http://mgltools.scripps.edu" @@ -20,6 +26,7 @@ RDEPEND="" DEPEND="${RDEPEND} dev-lang/swig" +RESTRICT_PYTHON_ABIS="3.*" S="${WORKDIR}"/${MY_P} DOCS="NetworkEditor/RELNOTES" @@ -27,7 +34,9 @@ DOCS="NetworkEditor/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 +44,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} +} |