diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-04 16:20:34 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-06-04 16:20:34 +0000 |
commit | 0087703df6c8fd0f0b2ddceafc585029c03200e0 (patch) | |
tree | fc2aa519943d34f64034dd694b15afb4242244e5 /sci-misc | |
parent | Set SUPPORT_PYTHON_ABIS (bug #316237). (diff) | |
download | historical-0087703df6c8fd0f0b2ddceafc585029c03200e0.tar.gz historical-0087703df6c8fd0f0b2ddceafc585029c03200e0.tar.bz2 historical-0087703df6c8fd0f0b2ddceafc585029c03200e0.zip |
Use Python 2 (bug #316239).
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'sci-misc')
-rw-r--r-- | sci-misc/gato/ChangeLog | 8 | ||||
-rw-r--r-- | sci-misc/gato/Manifest | 14 | ||||
-rw-r--r-- | sci-misc/gato/gato-0.99c.ebuild | 36 |
3 files changed, 34 insertions, 24 deletions
diff --git a/sci-misc/gato/ChangeLog b/sci-misc/gato/ChangeLog index 9a473ccccf90..55adb1593368 100644 --- a/sci-misc/gato/ChangeLog +++ b/sci-misc/gato/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-misc/gato -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/ChangeLog,v 1.11 2008/10/27 12:06:52 bicatali Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/ChangeLog,v 1.12 2010/06/04 16:20:34 arfrever Exp $ + + 04 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + gato-0.99c.ebuild: + Use Python 2 (bug #316239). 27 Oct 2008; SĂ©bastien Fabbro <bicatali@gentoo.org> -files/gato-0.99-python.patch, -files/gato-python2.4-gentoo.patch, diff --git a/sci-misc/gato/Manifest b/sci-misc/gato/Manifest index 89f823cd5b19..6f96a6220888 100644 --- a/sci-misc/gato/Manifest +++ b/sci-misc/gato/Manifest @@ -1,16 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX gato-0.99c-python.patch 654 RMD160 622d25dc97ea498cccc9f8288fd321a918299cd9 SHA1 2b00aa49eb46302ce811c06e7003138f51e2728f SHA256 0ed1b4d02e893f8318ee0a3a0f28dd7bcdb9b1f5f3b590a4d60eec9724684cc3 DIST Gato-0.99C.tar.gz 194234 RMD160 220e41a80c806f548bfc22c926df7d456128e991 SHA1 c8a870f74f2e8cf75cb592c47225ed1855108ca7 SHA256 21f946ac9fa46b76e9224028d658eb8f5494c1171854efa65f3d8d3e8569c507 DIST Gato-Doc-0.99C.tar.gz 68349 RMD160 92dc6c63945cd76f639121377b996bde7a00813b SHA1 b607774f86008df5c7d12bb728c921ef4ff59cfc SHA256 542514880d40afaafb95bfd80c52f26d02d38ad25c5610f0df404d36f24a449b -EBUILD gato-0.99c.ebuild 1423 RMD160 ac454fa01fbf363f61a97677a5623a9d49d4b650 SHA1 c6f84a4f0720abfcb7107e769f444acbb5751ea6 SHA256 0ff6af57c9636f3da84e25f52b6165f756f9ce4328637d5321036f01145b0249 -MISC ChangeLog 1982 RMD160 f910f27ed8c45766499631999963bfb226cd2c48 SHA1 0bf1f20f0e2b2ee811042a2507eff2936d6552c9 SHA256 6a56e263fba75bb765f797cef00794f265fbd580ca2f676d8d4b7f97c93866f0 +EBUILD gato-0.99c.ebuild 1573 RMD160 c0c87bf5ccb63613a07c3cdfb9281117f0437761 SHA1 942806f37ef8467e61e6b6db11af847fe5a9cd4d SHA256 d09e5282410dc5756ee8f32f7114d7d5b48d5fba76ffcefdb327a319cee135bf +MISC ChangeLog 2107 RMD160 8c592a445dcdc27f8b81f069320d7ec33e3ef65c SHA1 8549c8f428eb40646599b143f74a3e9fe04eeb8f SHA256 6a7930c82c8e42a24875e5b2a4115872048e7ab373a6bdd1ade56746ad284b5e MISC metadata.xml 322 RMD160 eb8906647d81f389ea120ee66214c8b9c9bd98cd SHA1 289bd59600f0523ed11e65dac2eccd1aaf413b14 SHA256 1d2dab91c811cea360ef97069d52e624ccfb15152575869ae404ece703323334 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkkFru8ACgkQ1ycZbhPLE2CTSACdG/Iymbuca2DaQt5GfYG/CME6 -PhYAoI4rO/8IZdSpBSRfpX/ugI5flBG3 -=wTIA ------END PGP SIGNATURE----- diff --git a/sci-misc/gato/gato-0.99c.ebuild b/sci-misc/gato/gato-0.99c.ebuild index 3797259fb9b9..94d5b3bd8480 100644 --- a/sci-misc/gato/gato-0.99c.ebuild +++ b/sci-misc/gato/gato-0.99c.ebuild @@ -1,25 +1,35 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/gato-0.99c.ebuild,v 1.4 2008/10/27 12:06:52 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/gato/gato-0.99c.ebuild,v 1.5 2010/06/04 16:20:34 arfrever Exp $ -EAPI=2 -inherit python eutils multilib +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" + +inherit eutils python MY_PN="Gato" MY_PV=$(echo ${PV} | tr '[:lower:]' '[:upper:]') DESCRIPTION="Graph Animation Toolbox" -LICENSE="LGPL-2" HOMEPAGE="http://gato.sourceforge.net/" SRC_URI="http://gato.sourceforge.net/Download/${MY_PN}-${MY_PV}.tar.gz doc? ( http://gato.sourceforge.net/Download/${MY_PN}-Doc-${MY_PV}.tar.gz )" +LICENSE="LGPL-2" SLOT="0" KEYWORDS="~x86 ~ppc ~amd64" IUSE="doc" -DEPEND="dev-lang/python[tk]" -S="${WORKDIR}"/${MY_PN} +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/${MY_PN}" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} src_prepare() { # convert to python >=2.4 @@ -31,10 +41,8 @@ src_prepare() { } src_install() { - # install python code - python_version - local instdir=/usr/$(get_libdir)/python${PYVER}/${PN} + local instdir=$(python_get_sitedir)/${PN} insinto ${instdir} doins *.py || die "Failed to install python files" fperms 755 ${instdir}/{Gato,Gred}.py @@ -50,3 +58,11 @@ src_install() { use doc && dohtml -r "${WORKDIR}"/Doc/* } + +pkg_postinst() { + python_mod_optimize gato +} + +pkg_postrm() { + python_mod_cleanup gato +} |