summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-02-07 22:06:44 +0000
committerMike Gilbert <floppym@gentoo.org>2012-02-07 22:06:44 +0000
commitf12bc32af4745c3bedb3ae49740973d25b79940a (patch)
tree3c555d134db13cfd3fda4cb859139494c34fd59b /net-misc/gnome-blog
parentAdded all-gentoo-1.js to FILESDIR (bug #402583). Adjusted dependency on libvpx (diff)
downloadhistorical-f12bc32af4745c3bedb3ae49740973d25b79940a.tar.gz
historical-f12bc32af4745c3bedb3ae49740973d25b79940a.tar.bz2
historical-f12bc32af4745c3bedb3ae49740973d25b79940a.zip
Python cleanup. Patch by Arfrever.
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'net-misc/gnome-blog')
-rw-r--r--net-misc/gnome-blog/ChangeLog7
-rw-r--r--net-misc/gnome-blog/Manifest14
-rw-r--r--net-misc/gnome-blog/gnome-blog-0.9.2.ebuild21
3 files changed, 25 insertions, 17 deletions
diff --git a/net-misc/gnome-blog/ChangeLog b/net-misc/gnome-blog/ChangeLog
index ffa17157bde0..567fb6c76345 100644
--- a/net-misc/gnome-blog/ChangeLog
+++ b/net-misc/gnome-blog/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/gnome-blog
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v 1.29 2010/10/08 23:08:03 eva Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/ChangeLog,v 1.30 2012/02/07 22:06:44 floppym Exp $
+
+ 07 Feb 2012; Mike Gilbert <floppym@gentoo.org> gnome-blog-0.9.2.ebuild:
+ Python cleanup. Patch by Arfrever.
08 Oct 2010; Gilles Dartiguelongue <eva@gentoo.org>
-gnome-blog-0.9.1.ebuild:
diff --git a/net-misc/gnome-blog/Manifest b/net-misc/gnome-blog/Manifest
index 9eacdb162d9a..51ccb7d016da 100644
--- a/net-misc/gnome-blog/Manifest
+++ b/net-misc/gnome-blog/Manifest
@@ -1,14 +1,14 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA256
DIST gnome-blog-0.9.2.tar.bz2 189405 RMD160 e3615aa1a9a10cf7cbaa8bbd6762d2681287ffbe SHA1 8998e055ec91d7180466f5d81b16fc1585b71faa SHA256 d2b68017d31af7dcb29cddc16a1ad8f33f58bcc2834bb1740c47b4ef75856e80
-EBUILD gnome-blog-0.9.2.ebuild 1330 RMD160 4dbf79f5f2476d96bfd072e169256b7d1c7c3c23 SHA1 dea85b8f1f5495406cb9fdafac7f0bed5df51cf0 SHA256 f1006fa40e6ef4c9b060feaea633a44fb9a2d53e6389ed90e08e7c9b6662178f
-MISC ChangeLog 3716 RMD160 2590b14363655775e811b1a599348583045e7278 SHA1 a45427ce2673ed3adaafd8cd2e21bd299ac19179 SHA256 e3aa0734d95cd6c0964715f5c2bd2a7c9d379a2432d39edc0569f693ee1df1e4
+EBUILD gnome-blog-0.9.2.ebuild 1319 RMD160 352fd2fc14ac7cefddf3f913da0fa346e0db10ab SHA1 9f9188bf7ac7169c20e41dfedfec60a10d7f7f7e SHA256 3e43ebcc1d6371aaf44dfb91c3120e1e06aa1c7c9783f9ee7c7aee35aa9994ea
+MISC ChangeLog 3832 RMD160 de1e808920de06cce3364ddcf651cbce5d8e4ab4 SHA1 1176bc85fb424c7b8ac195c29d2f30fefd3eb2f5 SHA256 f64b3134d3e9ac2ce1b8d364ee09af560739bb5db98344cd2309b9ffedda897f
MISC metadata.xml 624 RMD160 4e9fe26949b0d661b14977d8de86674f42be1f30 SHA1 75817c25ec000dd231a4cbe67688a10d6e392432 SHA256 a44f2ebb211e0b6eb3587249c0b1e1b8da9d86702b0ea0ba9be1357b16dbbf80
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkyvpFgACgkQ1fmVwcYIWAbK0gCg7b3x525cZyFIllz+afp90SxH
-HJ4AniVBAODjgH1VABsePiy4BDqsHBht
-=qR0M
+iF4EAREIAAYFAk8xoHkACgkQC77qH+pIQ6Qq+QD9ED9qUqFfYeMN+7JYCqX6X81T
+k2kHKPmefzGUANY2HQIBAIrph8OXPk5TeUEv7uxGrdFtHiE7+Hth86Qdd4KV8M6F
+=uvKj
-----END PGP SIGNATURE-----
diff --git a/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild b/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild
index f3b10f520451..c876d4466d8a 100644
--- a/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild
+++ b/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild,v 1.4 2010/05/24 17:38:25 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gnome-blog/gnome-blog-0.9.2.ebuild,v 1.5 2012/02/07 22:06:44 floppym Exp $
-EAPI="2"
+EAPI="3"
GCONF_DEBUG="no"
+PYTHON_DEPEND="2"
inherit gnome2 python
@@ -31,24 +32,28 @@ DEPEND="${RDEPEND}
DOCS="AUTHORS ChangeLog NEWS README TODO"
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+
src_prepare() {
gnome2_src_prepare
+ python_convert_shebangs -r 2 .
# Let this file be re-created so the path in the <oaf_server> element is
# correct. See bug #93612.
rm -f GNOME_BlogApplet.server.in || die "rm failed"
- # disable pyc compiling
- mv py-compile py-compile.orig
- ln -s $(type -P true) py-compile
+ python_clean_py-compile_files
}
pkg_postinst() {
gnome2_pkg_postinst
- python_mod_optimize $(python_get_sitedir)/gnomeblog
+ python_mod_optimize gnomeblog
}
pkg_postrm() {
gnome2_pkg_postrm
- python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gnomeblog
+ python_mod_cleanup gnomeblog
}