Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 357968 Details for
Bug 316957
sys-libs/openipmi: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
openipmi-2.0.18.ebuild.patch
openipmi-2.0.18.ebuild.patch (text/plain), 2.16 KB, created by
Alexander Tsoy
on 2013-09-05 19:41:16 UTC
(
hide
)
Description:
openipmi-2.0.18.ebuild.patch
Filename:
MIME Type:
Creator:
Alexander Tsoy
Created:
2013-09-05 19:41:16 UTC
Size:
2.16 KB
patch
obsolete
>--- openipmi-2.0.18.ebuild 2012-05-04 12:01:27.000000000 +0400 >+++ openipmi-2.0.18-r1.ebuild 2013-09-05 23:25:32.942476001 +0400 >@@ -2,7 +2,10 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-libs/openipmi/openipmi-2.0.18.ebuild,v 1.2 2012/05/04 07:33:12 jdhore Exp $ > >-inherit eutils autotools python >+EAPI=5 >+PYTHON_COMPAT=( python{2_6,2_7} ) >+ >+inherit eutils autotools python-single-r1 > > DESCRIPTION="Library interface to IPMI" > HOMEPAGE="http://sourceforge.net/projects/openipmi/" >@@ -41,9 +44,7 @@ > fi > } > >-src_unpack() { >- unpack ${A} >- cd "${S}" >+src_prepare() { > # Bug #338499: The installed OpenIPMIpthread.pc depends on a non-existing > # pthread.pc. We patch it to link -lpthread directly instead. > epatch "${FILESDIR}/${PN}-2.0.16-pthreads.patch" >@@ -53,12 +54,12 @@ > sed -r -i \ > -e '/INSTALL.*\.py[oc] /d' \ > -e '/install-exec-local/s,OpenIPMI.pyc OpenIPMI.pyo,,g' \ >- swig/python/Makefile.{am,in} >+ swig/python/Makefile.{am,in} || die > > # Bug #298250: parallel install fix. > sed -r -i \ > -e '/^install-data-local:/s,$, install-exec-am,g' \ >- cmdlang/Makefile.{am,in} >+ cmdlang/Makefile.{am,in} || die > > # We touch the .in and .am above because if we use the below, the Perl stuff > # is very fragile, and often fails to link. >@@ -67,7 +68,7 @@ > #eautoreconf > } > >-src_compile() { >+src_configure() { > local myconf="" > myconf="${myconf} `use_with snmp ucdsnmp yes`" > myconf="${myconf} `use_with crypt openssl yes`" >@@ -87,20 +88,12 @@ > myconf="${myconf} --without-tkinter" > myconf="${myconf} --with-glib --with-swig" > # these binaries are for root! >- econf ${myconf} --bindir=/usr/sbin || die "econf failed" >- emake || die "emake $i failed" >+ econf ${myconf} --bindir=/usr/sbin > } > > src_install() { >- emake DESTDIR="${D}" install || die >+ default > dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator > newdoc cmdlang/README README.cmdlang >-} >- >-pkg_postinst() { >- use python && python_mod_optimize $(python_get_sitedir)/OpenIPMI.py >-} >- >-pkg_postrm() { >- use python && python_mod_cleanup $(python_get_sitedir)/OpenIPMI.py >+ use python && python_optimize "${ED}"/$(python_get_sitedir) > }
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 316957
:
357956
|
357968
|
357982
|
363962