diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-18 00:02:41 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2008-02-18 00:02:41 +0000 |
commit | aad5229faf1d383baf25889d184b9b654f761c89 (patch) | |
tree | 0ebda2012708e4a0d9a1a0b52999028bcd40c222 | |
parent | - stable on x86 and remove old ebuilds (diff) | |
download | historical-aad5229faf1d383baf25889d184b9b654f761c89.tar.gz historical-aad5229faf1d383baf25889d184b9b654f761c89.tar.bz2 historical-aad5229faf1d383baf25889d184b9b654f761c89.zip |
fix python eclass use, bug #207667
Package-Manager: portage-2.1.4.4
-rw-r--r-- | dev-util/gquilt/ChangeLog | 7 | ||||
-rw-r--r-- | dev-util/gquilt/Manifest | 14 | ||||
-rw-r--r-- | dev-util/gquilt/gquilt-0.20.ebuild | 29 |
3 files changed, 43 insertions, 7 deletions
diff --git a/dev-util/gquilt/ChangeLog b/dev-util/gquilt/ChangeLog index bb9d05a763c9..9aabda0838e7 100644 --- a/dev-util/gquilt/ChangeLog +++ b/dev-util/gquilt/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/gquilt -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gquilt/ChangeLog,v 1.13 2007/04/05 06:14:20 nerdboy Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gquilt/ChangeLog,v 1.14 2008/02/18 00:02:41 eva Exp $ + + 17 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org> gquilt-0.20.ebuild: + fix python eclass use, bug #207667 *gquilt-0.19 (05 Apr 2007) *gquilt-0.18 (05 Apr 2007) diff --git a/dev-util/gquilt/Manifest b/dev-util/gquilt/Manifest index 8565b67f4975..24052ace1668 100644 --- a/dev-util/gquilt/Manifest +++ b/dev-util/gquilt/Manifest @@ -1,8 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + DIST gquilt-0.18.tar.gz 55342 RMD160 fc9364d2819ac455f8f71b87007f6d40da11c646 SHA1 fb8d386666052e0078987f2a80ab41bdde25f56c SHA256 d7cafadc81ed718654fec2f6d1bee258aa0fd89097508430223463964322ecfb DIST gquilt-0.19.tar.gz 55543 RMD160 b2c2485ddfb727d31cab9d3efaad92fbfa4b8b28 SHA1 a651d74ee5efdc52a0148cdfb094cb0102c8f540 SHA256 104370ec9c7bba7547cfa2bb6a60241b256c25e02cfd40d38c062cdaca8c164d DIST gquilt-0.20.tar.gz 56738 RMD160 a29ec1b095558b343c6fd55ca0f0321dd3a3051b SHA1 a5c515d302764a125daacb186200fc493b0dcda2 SHA256 8f43278e069848f025f84f898b34ca2a4b340f08fad8b8d800f375113abe19ae EBUILD gquilt-0.18.ebuild 586 RMD160 515624322c4c0def296040f47ece0e840f1ba4b4 SHA1 d48b0102b9ec208e2bbd5e070d5b3152e83a1f4b SHA256 a1c702fa8207381bea9cb711448fcdaa3e5db5063f61b2fa63ab57cedfa10011 EBUILD gquilt-0.19.ebuild 586 RMD160 e717f53a14c05012ea5a2f3b320f15730b79f796 SHA1 262cf99357e0011110c0222293fb50fd4b0e6f30 SHA256 961cf2258be5d465397ae281bae73a91db1bf2aeb509009146c881ebb95fa3b2 -EBUILD gquilt-0.20.ebuild 586 RMD160 f40f8c0a71fd4a933a20ef8b96032a1b538b89d8 SHA1 13bcd32a55c73c56ac16c5cc60cef3a75c3c2c29 SHA256 6f22bb7dbbd70a0031be4cf9197a96de0d5b592ececaa0f06e755fb26141304b -MISC ChangeLog 2514 RMD160 eb9faae9c72d6938c4483fdc0d6eb02fad5b7a7e SHA1 2b438b2587613261bb0e018994632aef98a7df9d SHA256 a9d4d21cb8285123e0ff80ab2ab203c66e2e157a27a15873a46d5dbb3bb40e62 +EBUILD gquilt-0.20.ebuild 1001 RMD160 c1521e40f0c73673820f054eb8e1c25bcac03ee4 SHA1 4bf208a0fbc62c93099bc5d836d521fc83491d3b SHA256 6524c8fc742ecbe6217079c02ab85ce707b04a4f47731e577472e7c8b94fa747 +MISC ChangeLog 2622 RMD160 527e79b07e77295d93349735f32b73cb4ba96c54 SHA1 e2860c4631037e21ae391fa9d514fad1e9866bf6 SHA256 1a44213622d4aa784ca1c052e750b72503b5cadb3c12e14857f079e5e3f40d88 MISC metadata.xml 163 RMD160 550da6b3a781aa96ffd5e99e373bde49cdc2ed30 SHA1 d44678d395f91799e0cff5b808e227a203520bd5 SHA256 4284d1b30ef24759f1c34ce51225d46b7312913508acf3469f8b66d72b176524 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.7 (GNU/Linux) + +iD8DBQFHuMso1fmVwcYIWAYRArmuAKC+LLGpb4Ua4E5uy8+tCdAq0jEcTACeIU5v +KBsFhBiSwIfB4X0MBKmH73c= +=YkgI +-----END PGP SIGNATURE----- diff --git a/dev-util/gquilt/gquilt-0.20.ebuild b/dev-util/gquilt/gquilt-0.20.ebuild index 49d4040a8c95..64b0770b5ec4 100644 --- a/dev-util/gquilt/gquilt-0.20.ebuild +++ b/dev-util/gquilt/gquilt-0.20.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/gquilt/gquilt-0.20.ebuild,v 1.1 2007/04/05 06:14:20 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/gquilt/gquilt-0.20.ebuild,v 1.2 2008/02/18 00:02:41 eva Exp $ + +inherit python DESCRIPTION="A Python/GTK wrapper for quilt" HOMEPAGE="http://users.bigpond.net.au/Peter-Williams/" @@ -14,7 +16,28 @@ IUSE="" RDEPEND="dev-util/quilt >=dev-python/pygtk-2" +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i "s/MODULES_BIN=.*/MODULES_BIN=/; + s/MODULES_OPT=.*/MODULES_OPT=/" Makefile + sed -i -e '/install -m 0644 $(MODULES_OPT)/s/\t/&#/g' Makefile + sed -i -e '/install -m 0644 $(MODULES_BIN)/s/\t/&#/g' Makefile +} + src_install() { - make DESTDIR="${D}" PREFIX="/usr" install || die "make install failed" + emake DESTDIR="${D}" PREFIX="/usr" install || die "make install failed" dodoc ChangeLog } + +pkg_postinst() { + python_version + python_mod_optimize /usr/share/gquilt +} + + +pkg_prerm() { + python_version + python_mod_cleanup /usr/share/gquilt +} |