Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 339192 Details for
Bug 440180
x11-misc/redshift: please consider using the python-r1 eclass (long story)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Eventually applied patch
redshift-ebuild-applied.patch (text/plain), 2.46 KB, created by
Sebastian Pipping
on 2013-02-17 22:41:08 UTC
(
hide
)
Description:
Eventually applied patch
Filename:
MIME Type:
Creator:
Sebastian Pipping
Created:
2013-02-17 22:41:08 UTC
Size:
2.46 KB
patch
obsolete
>diff -u -r1.5 redshift-1.7-r1.ebuild >--- redshift-1.7-r1.ebuild 16 Aug 2012 20:40:38 -0000 1.5 >+++ redshift-1.7-r1.ebuild 17 Feb 2013 22:36:29 -0000 >@@ -1,14 +1,11 @@ >-# Copyright 1999-2012 Gentoo Foundation >+# Copyright 1999-2013 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/x11-misc/redshift/redshift-1.7-r1.ebuild,v 1.5 2012/08/16 20:40:38 hasufell Exp $ > >-EAPI=4 >+EAPI=5 >+PYTHON_COMPAT=( python{2_6,2_7} ) > >-PYTHON_DEPEND="gtk? 2:2.6" >-SUPPORT_PYTHON_ABIS="1" >-RESTRICT_PYTHON_ABIS="2.[45] 3.*" >- >-inherit autotools eutils gnome2-utils python >+inherit autotools eutils gnome2-utils python-r1 > > DESCRIPTION="A screen color temperature adjusting software" > HOMEPAGE="http://jonls.dk/redshift/" >@@ -24,20 +21,23 @@ > x11-libs/libxcb > geoclue? ( app-misc/geoclue ) > gnome? ( dev-libs/glib:2 >- >=gnome-base/gconf-2 )" >+ >=gnome-base/gconf-2 ) >+ gtk? ( ${PYTHON_DEPS} )" > RDEPEND="${COMMON_DEPEND} >- gtk? ( >=dev-python/pygtk-2 >- dev-python/pyxdg )" >+ gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] >+ dev-python/pyxdg[${PYTHON_USEDEP}] )" > DEPEND="${COMMON_DEPEND} > nls? ( sys-devel/gettext )" > > src_prepare() { >- >py-compile > epatch "${FILESDIR}"/${P}-make-conditionals.patch >+ epatch_user > eautoreconf > } > > src_configure() { >+ python_export_best >+ > econf \ > --disable-silent-rules \ > $(use_enable nls) \ >@@ -50,20 +50,17 @@ > --disable-ubuntu > } > >+_impl_specific_src_install() { >+ emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" \ >+ -C src/gtk-redshift install >+} >+ > src_install() { > default > >- # handle multiple python abi support >- per_abi_install() { >- cp "${D}"/usr/bin/gtk-redshift "${D}"/usr/bin/gtk-redshift-${PYTHON_ABI} || die >- python_convert_shebangs ${PYTHON_ABI} "${D}"/usr/bin/gtk-redshift-${PYTHON_ABI} >- emake DESTDIR="${D}" pythondir="$(python_get_sitedir)" -C src/gtk-redshift install >- } >- >- if use gtk ; then >- rm -R "${D}"/usr/$(get_libdir)/python* || die >- python_execute_function per_abi_install >- python_generate_wrapper_scripts -f "${D}"/usr/bin/gtk-redshift >+ if use gtk; then >+ python_foreach_impl _impl_specific_src_install >+ python_replicate_script "${D}"/usr/bin/gtk-redshift > fi > } > >@@ -72,9 +69,9 @@ > } > > pkg_postinst() { >- use gtk && { gnome2_icon_cache_update; python_mod_optimize gtk_${PN}; } >+ use gtk && gnome2_icon_cache_update > } > > pkg_postrm() { >- use gtk && { gnome2_icon_cache_update; python_mod_cleanup gtk_${PN}; } >+ use gtk && gnome2_icon_cache_update > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 440180
:
327718
| 339192