/[gentoo-x86]/eclass/gnome-python-common.eclass
Gentoo

Diff of /eclass/gnome-python-common.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gnome-python-common.eclass,v 1.5 2008/10/25 13:27:18 remi Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/gnome-python-common.eclass,v 1.6 2008/12/01 14:29:06 eva Exp $
4 4
5# Original Author: Arun Raghavan <ford_prefect@gentoo.org> (based on the 5# Original Author: Arun Raghavan <ford_prefect@gentoo.org> (based on the
6# gnome-python-desktop eclass by Jim Ramsay <lack@gentoo.org>) 6# gnome-python-desktop eclass by Jim Ramsay <lack@gentoo.org>)
7# 7#
8# Purpose: Provides common functionality required for building the gnome-python* 8# Purpose: Provides common functionality required for building the gnome-python*
34SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2" 34SRC_URI="mirror://gnome/sources/${G_PY_PN}/${PVP}/${G_PY_PN}-${PV}.tar.bz2"
35HOMEPAGE="http://pygtk.org/" 35HOMEPAGE="http://pygtk.org/"
36 36
37RESTRICT="${RESTRICT} test" 37RESTRICT="${RESTRICT} test"
38 38
39GCONF_DEBUG="no"
39DOCS="AUTHORS ChangeLog NEWS README" 40DOCS="AUTHORS ChangeLog NEWS README"
41
40if [[ ${G_PY_PN} != "gnome-python" ]]; then 42if [[ ${G_PY_PN} != "gnome-python" ]]; then
41 DOCS="${DOCS} MAINTAINERS" 43 DOCS="${DOCS} MAINTAINERS"
42fi 44fi
43 45
44S="${WORKDIR}/${G_PY_PN}-${PV}" 46S="${WORKDIR}/${G_PY_PN}-${PV}"
94 fi 96 fi
95} 97}
96 98
97gnome-python-common_pkg_postinst() { 99gnome-python-common_pkg_postinst() {
98 python_version 100 python_version
101 python_need_rebuild
99 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0 102 python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/gtk-2.0
100} 103}
101 104
102gnome-python-common_pkg_postrm() { 105gnome-python-common_pkg_postrm() {
103 python_mod_cleanup 106 python_mod_cleanup

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20