Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 763918 Details for
Bug 832220
app-benchmarks/bootchart2-0.14.9 calls python directly (dev-lang/python-exec[-native-symlinks])
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Rewritten with python-single-r1.eclass
bootchart2-0.14.9-r1.patch (text/plain), 2.42 KB, created by
Carlos
on 2022-01-29 21:27:17 UTC
(
hide
)
Description:
Rewritten with python-single-r1.eclass
Filename:
MIME Type:
Creator:
Carlos
Created:
2022-01-29 21:27:17 UTC
Size:
2.42 KB
patch
obsolete
>diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild >similarity index 68% >rename from app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild >rename to app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild >index 95f488b32..160382e01 100644 >--- a/app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild >+++ b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild >@@ -3,7 +3,9 @@ > > EAPI=7 > >-inherit linux-info systemd toolchain-funcs >+PYTHON_COMPAT=( python2_7 python3_{8..10} pypy3 ) >+ >+inherit python-single-r1 linux-info systemd toolchain-funcs > > DESCRIPTION="Performance analysis and visualization of the system boot process" > HOMEPAGE="https://github.com/xrmx/bootchart" >@@ -12,15 +14,18 @@ SRC_URI="https://github.com/xrmx/bootchart/archive/${PV}.tar.gz -> ${P}.tar.gz" > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" >-IUSE="+cairo" > >+IUSE="+cairo" >+REQUIRED_USE="cairo? ( ${PYTHON_REQ_USE} )" > RESTRICT="!cairo? ( test )" > > RDEPEND=" > !app-benchmarks/bootchart >- cairo? ( dev-python/pycairo ) >+ cairo? ( $(python_gen_cond_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') ) > sys-apps/lsb-release" > >+BDEPEND="cairo? ( ${PYTHON_DEPS} )" >+ > S="${WORKDIR}"/${PN%2}-${PV} > > CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS" >@@ -31,18 +36,17 @@ PATCHES=( > > src_prepare() { > default >+ python_setup > tc-export CC >+ >+ # Redirects systemd unit directory, >+ # as well as disable the built-in python setup. > sed -i \ > -e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_systemunitdir):g" \ >+ -e "/^install/s:py-install-compile::g" \ >+ -e "/pybootchartgui.1/d" \ > Makefile || die > >- if ! use cairo; then >- sed -i \ >- -e "/^install/s:py-install-compile::g" \ >- -e "/pybootchartgui.1/d" \ >- Makefile || die >- fi >- > sed -i \ > -e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \ > bootchartd.conf bootchartd.in || die >@@ -56,6 +60,18 @@ src_install() { > export DOCDIR=/usr/share/doc/${PF} > default > >+ # Install using python-utils. >+ if use cairo; then >+ insinto /usr/share/man/man1 >+ doins pybootchartgui.1 >+ >+ python_scriptinto /usr/bin >+ python_newscript pybootchartgui{.py,} >+ >+ python_domodule pybootchartgui >+ python_optimize >+ fi >+ > # Note: LIBDIR is hardcoded as /lib in collector/common.h, so we shouldn't > # just change it. Since no libraries are installed, /lib is fine. > keepdir /lib/bootchart/tmpfs
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 832220
:
763828
| 763918