From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SGvBQ-0008No-Gx for garchives@archives.gentoo.org; Sun, 08 Apr 2012 16:41:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 299A6E0AE2; Sun, 8 Apr 2012 16:41:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E132FE0AE2 for ; Sun, 8 Apr 2012 16:41:36 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F13FF1B40BA for ; Sun, 8 Apr 2012 16:41:35 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 944B9E5402 for ; Sun, 8 Apr 2012 16:41:34 +0000 (UTC) From: "Alexandre Restovtsev" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Restovtsev" Message-ID: <1333903185.44d6ec38bf33a573cf4b4d9f5ec825f1b2d163e2.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: dev-libs/libpeas/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-libs/libpeas/libpeas-1.3.0.ebuild dev-libs/libpeas/libpeas-1.4.0.ebuild dev-libs/libpeas/libpeas-9999.ebuild X-VCS-Directories: dev-libs/libpeas/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: 44d6ec38bf33a573cf4b4d9f5ec825f1b2d163e2 X-VCS-Branch: master Date: Sun, 8 Apr 2012 16:41:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 41caa532-37f5-4a79-ade9-7bb7975c0eac X-Archives-Hash: 362485869c504d68414f085a27a00f34 commit: 44d6ec38bf33a573cf4b4d9f5ec825f1b2d163e2 Author: Alexandre Rostovtsev gentoo org> AuthorDate: Sun Apr 8 16:31:09 2012 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Sun Apr 8 16:39:45 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D44d6ec38 dev-libs/libpeas: 1.3.0 =E2=86=92 1.4.0 + properly deal with .pyo/.pyc fi= les --- .../{libpeas-1.3.0.ebuild =3D> libpeas-1.4.0.ebuild} | 30 ++++++++++++= +++++-- dev-libs/libpeas/libpeas-9999.ebuild | 19 +++++++++++- 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/dev-libs/libpeas/libpeas-1.3.0.ebuild b/dev-libs/libpeas/lib= peas-1.4.0.ebuild similarity index 72% rename from dev-libs/libpeas/libpeas-1.3.0.ebuild rename to dev-libs/libpeas/libpeas-1.4.0.ebuild index 112ce17..48251f2 100644 --- a/dev-libs/libpeas/libpeas-1.3.0.ebuild +++ b/dev-libs/libpeas/libpeas-1.4.0.ebuild @@ -1,13 +1,16 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpeas/libpeas-1.2.0-r1.ebu= ild,v 1.2 2011/12/01 17:31:42 darkside Exp $ +# $Header: $ =20 EAPI=3D"4" GCONF_DEBUG=3D"no" GNOME2_LA_PUNT=3D"yes" PYTHON_DEPEND=3D"python? 2:2.5" =20 -inherit eutils gnome2 python virtualx +inherit eutils gnome2 multilib python virtualx +if [[ ${PV} =3D 9999 ]]; then + inherit gnome2-live +fi =20 DESCRIPTION=3D"A GObject plugins library" HOMEPAGE=3D"http://www.gnome.org/" @@ -15,7 +18,11 @@ HOMEPAGE=3D"http://www.gnome.org/" LICENSE=3D"LGPL-2" SLOT=3D"0" IUSE=3D"doc gjs +gtk glade +python seed vala" -KEYWORDS=3D"~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-lin= ux ~x86-linux" +if [[ ${PV} =3D 9999 ]]; then + KEYWORDS=3D"" +else + KEYWORDS=3D"~amd64 ~x86 ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-li= nux ~x86-linux" +fi =20 RDEPEND=3D">=3Ddev-libs/glib-2.31.2:2 >=3Ddev-libs/gobject-introspection-0.10.1 @@ -50,6 +57,11 @@ pkg_setup() { python_pkg_setup } =20 +src_prepare() { + use python && python_clean_py-compile_files + gnome2_src_prepare +} + src_test() { # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconThem= e # DO NOT REPORT UPSTREAM, this is not a libpeas bug. @@ -59,3 +71,13 @@ src_test() { # This should return True, it returns False for Xvfb Xemake check } + +pkg_postinst() { + gnome2_pkg_postinst + use python && python_mod_optimize /usr/$(get_libdir)/peas-demo +} + +pkg_postrm() { + gnome2_pkg_postrm + use python && python_mod_cleanup /usr/$(get_libdir)/peas-demo +} diff --git a/dev-libs/libpeas/libpeas-9999.ebuild b/dev-libs/libpeas/libp= eas-9999.ebuild index da9276d..48251f2 100644 --- a/dev-libs/libpeas/libpeas-9999.ebuild +++ b/dev-libs/libpeas/libpeas-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ =20 @@ -7,7 +7,7 @@ GCONF_DEBUG=3D"no" GNOME2_LA_PUNT=3D"yes" PYTHON_DEPEND=3D"python? 2:2.5" =20 -inherit gnome2 python virtualx +inherit eutils gnome2 multilib python virtualx if [[ ${PV} =3D 9999 ]]; then inherit gnome2-live fi @@ -57,6 +57,11 @@ pkg_setup() { python_pkg_setup } =20 +src_prepare() { + use python && python_clean_py-compile_files + gnome2_src_prepare +} + src_test() { # FIXME: Tests fail because of some bug involving Xvfb and Gtk.IconThem= e # DO NOT REPORT UPSTREAM, this is not a libpeas bug. @@ -66,3 +71,13 @@ src_test() { # This should return True, it returns False for Xvfb Xemake check } + +pkg_postinst() { + gnome2_pkg_postinst + use python && python_mod_optimize /usr/$(get_libdir)/peas-demo +} + +pkg_postrm() { + gnome2_pkg_postrm + use python && python_mod_cleanup /usr/$(get_libdir)/peas-demo +}