Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338978 Details for
Bug 457686
media-gfx/graphviz: python-single-r1 conversion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch converting ebuild to -r1
graphviz-2.28.0.ebuild.diff (text/plain), 1.82 KB, created by
Michał Górny
on 2013-02-15 11:14:17 UTC
(
hide
)
Description:
Patch converting ebuild to -r1
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2013-02-15 11:14:17 UTC
Size:
1.82 KB
patch
obsolete
>--- graphviz-2.28.0.ebuild 2012-12-17 21:35:03.000000000 +0100 >+++ graphviz-2.28.0-r1.ebuild 2013-02-15 11:59:33.366661647 +0100 >@@ -2,10 +2,11 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.28.0.ebuild,v 1.15 2012/12/17 20:35:03 ago Exp $ > >-EAPI=4 >-PYTHON_DEPEND="python? 2" >+EAPI=5 > >-inherit eutils autotools multilib python flag-o-matic >+PYTHON_COMPAT=( python{2_5,2_6,2_7} ) >+ >+inherit autotools eutils flag-o-matic multilib python-single-r1 > > DESCRIPTION="Open Source Graph Visualization Software" > HOMEPAGE="http://www.graphviz.org/" >@@ -47,6 +48,7 @@ RDEPEND=" > gtk? ( x11-libs/gtk+:2 ) > gts? ( sci-libs/gts ) > lasi? ( media-libs/lasi ) >+ python? ( ${PYTHON_DEPS} ) > qt4? ( > x11-libs/qt-core:4 > x11-libs/qt-gui:4 >@@ -60,7 +62,10 @@ DEPEND="${RDEPEND} > java? ( dev-lang/swig ) > nls? ( >=sys-devel/gettext-0.14.5 ) > perl? ( dev-lang/swig ) >- python? ( dev-lang/swig ) >+ python? ( >+ dev-lang/swig >+ ${PYTHON_DEPS} >+ ) > ruby? ( dev-lang/swig ) > tcl? ( dev-lang/swig )" > REQUIRED_USE="!cairo? ( !X !gtk !postscript !lasi )" >@@ -125,10 +130,7 @@ REQUIRED_USE="!cairo? ( !X !gtk !postscr > # with flags enabled at configure time > > pkg_setup() { >- if use python; then >- python_set_active_version 2 >- python_pkg_setup >- fi >+ use python && python-single-r1_pkg_setup > } > > src_prepare() { >@@ -237,15 +239,14 @@ src_install() { > use static-libs || find "${ED}" -name '*.la' -exec rm -f {} + > > dodoc AUTHORS ChangeLog NEWS README >+ >+ use python && python_optimize \ >+ "${D}$(python_get_sitedir)" \ >+ "${D}/usr/$(get_libdir)/graphviz/python" > } > > pkg_postinst() { > # This actually works if --enable-ltdl is passed > # to configure > dot -c >- use python && python_mod_optimize gv.py >-} >- >-pkg_postrm() { >- use python && python_mod_cleanup gv.py > }
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 457686
: 338978