public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Göktürk Yüksek" <gokturk@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/powerstat/
Date: Wed, 28 Dec 2016 17:54:20 +0000 (UTC)	[thread overview]
Message-ID: <1482947621.d9b90c53eb24ddeb33dff0c8d3d7d3e1c20a6004.gokturk@gentoo> (raw)

commit:     d9b90c53eb24ddeb33dff0c8d3d7d3e1c20a6004
Author:     Vladimir Pavljuchenkov (SpiderX) <spiderx <AT> spiderx <DOT> dp <DOT> ua>
AuthorDate: Wed Dec 28 14:16:35 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Wed Dec 28 17:53:41 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9b90c53

sys-power/powerstat: new ebuild

Powerstat measures the power consumption of a machine using the battery
stats or the Intel RAPL interface. The output is like vmstat but also
shows power consumption statistics. At the end of a run, powerstat will
calculate the average, standard deviation and min/max of the gathered data.

Package-Manager: portage-2.3.0

 sys-power/powerstat/Manifest                 |  1 +
 sys-power/powerstat/metadata.xml             | 22 ++++++++++++++++++++++
 sys-power/powerstat/powerstat-0.02.11.ebuild | 20 ++++++++++++++++++++
 sys-power/powerstat/powerstat-9999.ebuild    | 24 ++++++++++++++++++++++++
 4 files changed, 67 insertions(+)

diff --git a/sys-power/powerstat/Manifest b/sys-power/powerstat/Manifest
new file mode 100644
index 00000000..db3ea90
--- /dev/null
+++ b/sys-power/powerstat/Manifest
@@ -0,0 +1 @@
+DIST powerstat-0.02.11.tar.gz 57173 SHA256 198c472962cb14e5fcda18c0ef252bb57bdef743a84b10ad95f8a4aa2c7e17fb SHA512 ec1a00c0496997410d8a5d07e572d37ce1d7eee0fc37a6d9fdbcd9bf8bebe74cbde1f53d9b55d9bae48e8e1bc44ff61f29fed195d69499a8eed8007b67eacbe6 WHIRLPOOL cc1c2d7b050247cdaa9f765758f8a05b1ac37ef604f35977d8205d16def64c5f69026d4f044ba0a090ff8846e306ca3733b7617ddf0e5849a59527f38ada70bc

diff --git a/sys-power/powerstat/metadata.xml b/sys-power/powerstat/metadata.xml
new file mode 100644
index 00000000..7e75f57
--- /dev/null
+++ b/sys-power/powerstat/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>spiderx@spiderx.dp.ua</email>
+		<name>Vladimir Pavljuchenkov</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<longdescription lang="en">
+	Powerstat measures the power consumption of a machine using the battery
+	stats or the Intel RAPL interface. The output is like vmstat but also
+	shows power consumption statistics. At the end of a run, powerstat will
+	calculate the average, standard deviation and min/max of the gathered data.
+	</longdescription>
+	<upstream>
+		<remote-id type="launchpad">powerstat</remote-id>
+		<remote-id type="github">ColinIanKing/powerstat</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sys-power/powerstat/powerstat-0.02.11.ebuild b/sys-power/powerstat/powerstat-0.02.11.ebuild
new file mode 100644
index 00000000..fb64394
--- /dev/null
+++ b/sys-power/powerstat/powerstat-0.02.11.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Laptop power measuring tool"
+HOMEPAGE="https://launchpad.net/ubuntu/+source/${PN} https://github.com/ColinIanKing/${PN}"
+SRC_URI="https://github.com/ColinIanKing/${PN}/archive/V${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_compile() {
+	emake CC=$(tc-getCC)
+}

diff --git a/sys-power/powerstat/powerstat-9999.ebuild b/sys-power/powerstat/powerstat-9999.ebuild
new file mode 100644
index 00000000..9179c43
--- /dev/null
+++ b/sys-power/powerstat/powerstat-9999.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit git-r3 toolchain-funcs
+
+DESCRIPTION="Laptop power measuring tool"
+EGIT_REPO_URI=(
+	"git://kernel.ubuntu.com/cking/${PN}.git"
+	"https://github.com/ColinIanKing/${PN}.git"
+	)
+HOMEPAGE="https://launchpad.net/ubuntu/+source/${PN} https://github.com/ColinIanKing/${PN}"
+SRC_URI=""
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+src_compile() {
+	emake CC=$(tc-getCC)
+}


             reply	other threads:[~2016-12-28 17:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28 17:54 Göktürk Yüksek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-10 23:42 [gentoo-commits] repo/gentoo:master commit in: sys-power/powerstat/ Craig Andrews
2018-02-04 22:49 Patrice Clement
2018-06-11  6:24 Michał Górny
2018-06-11  6:24 Michał Górny
2018-06-11  6:24 Michał Górny
2018-08-06 14:32 Craig Andrews
2019-10-06 17:42 Andreas Sturmlechner
2019-10-06 17:42 Andreas Sturmlechner
2019-10-06 17:42 Andreas Sturmlechner
2020-01-20 13:03 Joonas Niilola
2020-01-20 13:03 Joonas Niilola
2020-01-20 13:03 Joonas Niilola
2020-03-03 14:54 Joonas Niilola
2020-03-03 14:54 Joonas Niilola
2020-03-03 14:54 Joonas Niilola
2022-10-27 12:26 Joonas Niilola
2022-10-27 12:26 Joonas Niilola
2024-08-05  7:18 Joonas Niilola
2024-08-05  7:18 Joonas Niilola
2024-08-21  8:19 Sam James
2024-08-23  2:08 Eli Schwartz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482947621.d9b90c53eb24ddeb33dff0c8d3d7d3e1c20a6004.gokturk@gentoo \
    --to=gokturk@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox