public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
@ 2016-10-09  7:47 Pacho Ramos
  0 siblings, 0 replies; 6+ messages in thread
From: Pacho Ramos @ 2016-10-09  7:47 UTC (permalink / raw
  To: gentoo-commits

commit:     8720aa8ea2bd24feef2d373a66f32b040fc5c465
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  9 07:41:07 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  9 07:46:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8720aa8e

app-benchmarks/bootchart2: Support python 3.5

Package-Manager: portage-2.3.1

 app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild
index b652fe0..3baa36a 100644
--- a/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild
+++ b/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_{3,4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit linux-info python-r1 systemd toolchain-funcs
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
@ 2017-09-22 21:30 Mike Gilbert
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Gilbert @ 2017-09-22 21:30 UTC (permalink / raw
  To: gentoo-commits

commit:     444d582596b8696f6a470580249055badcd340e3
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 22 21:29:33 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Fri Sep 22 21:29:57 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=444d5825

app-benchmarks/bootchart2: fix pycairo dep

Closes: https://bugs.gentoo.org/629242
Package-Manager: Portage-2.3.6_p60, Repoman-2.3.3_p38

 app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild
index cd81113015f..08018cc91c6 100644
--- a/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild
+++ b/app-benchmarks/bootchart2/bootchart2-0.14.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -23,7 +23,7 @@ REQUIRED_USE="
 RDEPEND="
 	!app-benchmarks/bootchart
 	X? (
-		dev-python/pycairo[svg?,${PYTHON_USEDEP}]
+		dev-python/pycairo[svg(+)?,${PYTHON_USEDEP}]
 		dev-python/pygtk[$(python_gen_usedep 'python2*')]
 		${PYTHON_DEPS}
 		)


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
@ 2020-04-30 15:10 Andreas Sturmlechner
  0 siblings, 0 replies; 6+ messages in thread
From: Andreas Sturmlechner @ 2020-04-30 15:10 UTC (permalink / raw
  To: gentoo-commits

commit:     68f0e11f3cd97856b4e0a8942cc2ba7e77387edf
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 30 11:20:30 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Apr 30 15:10:07 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f0e11f

app-benchmarks/bootchart2: Drop 0.14.8 (r0)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild | 79 ----------------------
 1 file changed, 79 deletions(-)

diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild
deleted file mode 100644
index 9795de0b3bf..00000000000
--- a/app-benchmarks/bootchart2/bootchart2-0.14.8.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-PYTHON_COMPAT=( python2_7 python3_6 )
-
-inherit linux-info python-r1 systemd toolchain-funcs
-
-DESCRIPTION="Performance analysis and visualization of the system boot process"
-HOMEPAGE="https://github.com/mmeeks/bootchart/"
-SRC_URI="https://github.com/mmeeks/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="svg test X"
-RESTRICT="!test? ( test )"
-
-REQUIRED_USE="
-	X? ( ${PYTHON_REQUIRED_USE} )
-	test? ( X )"
-
-RDEPEND="
-	!app-benchmarks/bootchart
-	X? (
-		dev-python/pycairo[svg(+)?,${PYTHON_USEDEP}]
-		dev-python/pygtk[$(python_gen_usedep 'python2*')]
-		${PYTHON_DEPS}
-	)
-	sys-apps/lsb-release"
-DEPEND="${PYTHON_DEPS}"
-
-S="${WORKDIR}"/${PN%2}-${PV}
-
-CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-0.14.7-sysmacros.patch #579922
-	tc-export CC
-	sed -i \
-		-e "/^install/s:py-install-compile::g" \
-		-e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_unitdir):g" \
-		Makefile || die
-	sed -i \
-		-e '/^EXIT_PROC/s:^.*$:EXIT_PROC="agetty mgetty mingetty:g' \
-		bootchartd.conf bootchartd.in || die
-}
-
-src_test() {
-	python_foreach_impl emake test
-}
-
-src_install() {
-	export DOCDIR=/usr/share/doc/${PF}
-	default
-
-	# 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
-
-	installation() {
-		python_domodule pybootchartgui
-
-		python_newscript pybootchartgui.py pybootchartgui
-	}
-	use X && python_foreach_impl installation
-
-	newinitd "${FILESDIR}"/${PN}.init ${PN}
-
-}
-
-pkg_postinst() {
-	elog "If you are using an initrd during boot"
-	echo
-	elog "please add the init script to your default runlevel"
-	elog "rc-update add bootchart2 default"
-	echo
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
@ 2022-01-28 10:45 Florian Schmaus
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-01-28 10:45 UTC (permalink / raw
  To: gentoo-commits

commit:     8e37caa8b775fb233fdfb540f605bec6dc7b7534
Author:     capezotte <carana2099 <AT> gmail <DOT> com>
AuthorDate: Wed Jan 26 14:13:46 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jan 28 10:45:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e37caa8

app-benchmarks/bootchart2: bump to 0.14.9

Signed-off-by: capezotte <carana2099 <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23966
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Modified-by: Florian Schmaus <flow <AT> gentoo.org>

 app-benchmarks/bootchart2/Manifest                 |  1 +
 app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/app-benchmarks/bootchart2/Manifest b/app-benchmarks/bootchart2/Manifest
index 34f275c76d38..01604a6ee14f 100644
--- a/app-benchmarks/bootchart2/Manifest
+++ b/app-benchmarks/bootchart2/Manifest
@@ -1 +1,2 @@
 DIST bootchart2-0.14.8.tar.gz 1175527 BLAKE2B 623ca2269420eda79b09d955ab9d4a37af004e9e97ad0e0c6014e53b4b0c63239661cb5359345306504980b060ccd11488970cb0aa3d832bfb55392724e715dd SHA512 58303db91d22ccc44c0dc765e7a6672fb277840555fd87ce64b8987cba85250cfe3db17f3ec7e0e1e726ad59166a5d3d01a7a262c07b5690c595877b46c66bd0
+DIST bootchart2-0.14.9.tar.gz 1175710 BLAKE2B af472193c7de313e770da1a88baf00e9ee38e36c0d3c900bab2657bfa5d2398dd9edc616ec770f49a6c5fa8e29f738ddf2c0951ea039a48a2a89b0ffd94759fb SHA512 7ee1220b0add027fc39f710cc01119d7aaa22fe11736497b089c26955216cef10552216ed29ca55bf08aa848f92bb11d74deeb3aa69769dfecf3a55aa988e58b

diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild
new file mode 100644
index 000000000000..95f488b32786
--- /dev/null
+++ b/app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-info systemd toolchain-funcs
+
+DESCRIPTION="Performance analysis and visualization of the system boot process"
+HOMEPAGE="https://github.com/xrmx/bootchart"
+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"
+
+RESTRICT="!cairo? ( test )"
+
+RDEPEND="
+	!app-benchmarks/bootchart
+	cairo? ( dev-python/pycairo )
+	sys-apps/lsb-release"
+
+S="${WORKDIR}"/${PN%2}-${PV}
+
+CONFIG_CHECK="~PROC_EVENTS ~TASKSTATS ~TASK_DELAY_ACCT ~TMPFS"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.14.8-no-compressed-man.patch
+)
+
+src_prepare() {
+	default
+	tc-export CC
+	sed -i \
+		-e "/^SYSTEMD_UNIT_DIR/s:=.*:= $(systemd_get_systemunitdir):g" \
+		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
+}
+
+src_test() {
+	emake test
+}
+
+src_install() {
+	export DOCDIR=/usr/share/doc/${PF}
+	default
+
+	# 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
+
+	newinitd "${FILESDIR}"/${PN}.init ${PN}
+}
+
+pkg_postinst() {
+	elog "If you are using an initrd during boot"
+	elog "please add the init script to your default runlevel"
+	if has_version sys-apps/openrc; then
+		elog "rc-update add bootchart2 default"
+	fi
+}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
@ 2022-01-30 16:17 Florian Schmaus
  0 siblings, 0 replies; 6+ messages in thread
From: Florian Schmaus @ 2022-01-30 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     df7e76bc57a1389c1fb23211157973e26aa24627
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 16:13:29 2022 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 16:17:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df7e76bc

app-benchmarks/bootchart2: add 0.14.9-r1

Bump to EAPI 8 and do not call python3 directly. Based on a patch by
Carlos "capozotte" [1].

1: https://bugs.gentoo.org/832220#c3

Closes: https://bugs.gentoo.org/832220
Closes: https://bugs.gentoo.org/832219
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 ...2-0.14.9.ebuild => bootchart2-0.14.9-r1.ebuild} | 37 +++++++++++++++-------
 1 file changed, 25 insertions(+), 12 deletions(-)

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 95f488b32786..6cd79686f3af 100644
--- a/app-benchmarks/bootchart2/bootchart2-0.14.9.ebuild
+++ b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild
@@ -1,9 +1,11 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit linux-info systemd toolchain-funcs
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit linux-info python-single-r1 systemd toolchain-funcs
 
 DESCRIPTION="Performance analysis and visualization of the system boot process"
 HOMEPAGE="https://github.com/xrmx/bootchart"
@@ -14,12 +16,14 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="+cairo"
 
+REQUIRED_USE="cairo? ( ${PYTHON_REQUIRED_USE} )"
 RESTRICT="!cairo? ( test )"
 
 RDEPEND="
-	!app-benchmarks/bootchart
-	cairo? ( dev-python/pycairo )
-	sys-apps/lsb-release"
+	cairo? ( ${PYTHON_DEPS} $(python_gen_cond_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') )
+	sys-apps/lsb-release
+"
+BDEPEND="cairo? ( ${PYTHON_DEPS} )"
 
 S="${WORKDIR}"/${PN%2}-${PV}
 
@@ -31,18 +35,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 +59,16 @@ src_install() {
 	export DOCDIR=/usr/share/doc/${PF}
 	default
 
+	if use cairo; then
+		doman 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


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/
@ 2023-05-06  5:20 Miroslav Šulc
  0 siblings, 0 replies; 6+ messages in thread
From: Miroslav Šulc @ 2023-05-06  5:20 UTC (permalink / raw
  To: gentoo-commits

commit:     9dc03412ae1ba8ebc4f92f6f7e4faa840f973af8
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat May  6 05:20:43 2023 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat May  6 05:20:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc03412

app-benchmarks/bootchart2: py3.11

Closes: https://bugs.gentoo.org/896506
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild
index 723181b9bb35..fe460f6fbd0a 100644
--- a/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild
+++ b/app-benchmarks/bootchart2/bootchart2-0.14.9-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
 inherit linux-info python-single-r1 systemd toolchain-funcs
 


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-05-06  5:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-22 21:30 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/bootchart2/ Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2023-05-06  5:20 Miroslav Šulc
2022-01-30 16:17 Florian Schmaus
2022-01-28 10:45 Florian Schmaus
2020-04-30 15:10 Andreas Sturmlechner
2016-10-09  7:47 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox