[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2024-02-25 Thread Yixun Lan
commit: d3189c4e2c57a3463c86b4dbf4d27a482d5c5df6
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Feb 26 01:28:05 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb 26 01:29:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3189c4e

sys-apps/tuned: drop 2.21.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.21.0.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 1561fdcceb93..2dec83d7e17f 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.21.0.tar.gz 245442 BLAKE2B 
7b5bd75a026b871153a7340fbdfca690f2ff5723295d019260391b431d6b327ee445c44dff2755e6fc0e672af806e8cba96bea9122ef3efeafb8ec4269c34877
 SHA512 
f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0
 DIST tuned-2.22.0.tar.gz 254613 BLAKE2B 
5354181ab300125d7011aa12c208bc9973c19bd34018ba83d772a9e2fa1598cb6582f952afb35d586bb24a2e3af077bdff22fa6e1e39fcdbe94bee090b2032a2
 SHA512 
653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc
 DIST tuned-2.22.1.tar.gz 254690 BLAKE2B 
1942aed859425494df702a45900d6e0c26c799f19427cb1ff18160ed49cf8ac78ae3b73a39f1120a1dc5d344c3c1e61298085c54655aa13052600b946cb16a41
 SHA512 
160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f

diff --git a/sys-apps/tuned/tuned-2.21.0.ebuild 
b/sys-apps/tuned/tuned-2.21.0.ebuild
deleted file mode 100644
index 574731427297..
--- a/sys-apps/tuned/tuned-2.21.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit optfeature python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   app-emulation/virt-what
-   dev-debug/systemtap
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   "
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-
-   optfeature_header
-   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
-   optfeature "Get hardware info" sys-apps/dmidecode
-   optfeature "Optimize network txqueuelen" sys-apps/iproute2
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2024-02-25 Thread Yixun Lan
commit: 1f7a9f1cf423d27c45f0390c63a90664dde2b5f5
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Feb 26 01:27:28 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb 26 01:29:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7a9f1c

sys-apps/tuned: add 2.22.1

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.22.1.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 0b8a7fa16d35..1561fdcceb93 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.21.0.tar.gz 245442 BLAKE2B 
7b5bd75a026b871153a7340fbdfca690f2ff5723295d019260391b431d6b327ee445c44dff2755e6fc0e672af806e8cba96bea9122ef3efeafb8ec4269c34877
 SHA512 
f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0
 DIST tuned-2.22.0.tar.gz 254613 BLAKE2B 
5354181ab300125d7011aa12c208bc9973c19bd34018ba83d772a9e2fa1598cb6582f952afb35d586bb24a2e3af077bdff22fa6e1e39fcdbe94bee090b2032a2
 SHA512 
653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc
+DIST tuned-2.22.1.tar.gz 254690 BLAKE2B 
1942aed859425494df702a45900d6e0c26c799f19427cb1ff18160ed49cf8ac78ae3b73a39f1120a1dc5d344c3c1e61298085c54655aa13052600b946cb16a41
 SHA512 
160b1cab5477d84a0da89f584fe646b32162527a138d9b5957799c5f26598b98449733040710133a1c5bdd5588eee72549131ff163e777a105fc24e92edc6d8f

diff --git a/sys-apps/tuned/tuned-2.22.1.ebuild 
b/sys-apps/tuned/tuned-2.22.1.ebuild
new file mode 100644
index ..574731427297
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.22.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit optfeature python-single-r1 tmpfiles xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   app-emulation/virt-what
+   dev-debug/systemtap
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   "
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
+
+   optfeature_header
+   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
+   optfeature "Get hardware info" sys-apps/dmidecode
+   optfeature "Optimize network txqueuelen" sys-apps/iproute2
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2024-02-17 Thread Yixun Lan
commit: fa98ea253fc8cacb893590ffef4156e708a57fd1
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Feb 18 01:09:16 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Feb 18 01:09:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa98ea25

sys-apps/tuned: drop 2.20.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.20.0.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 76266d103187..0b8a7fa16d35 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.20.0.tar.gz 241286 BLAKE2B 
0057f41221dcf076c30cf1366cb94ffcc000d08b23f88c2af2488fee4cb43b2f06d0fdcd15d21c1984e08d0d8b31a1ee64029cf36cd3f398d3541f6ff327dc8c
 SHA512 
c8b9fc5bdc684b3c518267875b3757fce5d607bec0df7946fe3a7d345683ea0baa2f8b9bbfb741083b82fd9ca7c825506ca86ea530551837b42c11b45f24ccea
 DIST tuned-2.21.0.tar.gz 245442 BLAKE2B 
7b5bd75a026b871153a7340fbdfca690f2ff5723295d019260391b431d6b327ee445c44dff2755e6fc0e672af806e8cba96bea9122ef3efeafb8ec4269c34877
 SHA512 
f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0
 DIST tuned-2.22.0.tar.gz 254613 BLAKE2B 
5354181ab300125d7011aa12c208bc9973c19bd34018ba83d772a9e2fa1598cb6582f952afb35d586bb24a2e3af077bdff22fa6e1e39fcdbe94bee090b2032a2
 SHA512 
653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc

diff --git a/sys-apps/tuned/tuned-2.20.0.ebuild 
b/sys-apps/tuned/tuned-2.20.0.ebuild
deleted file mode 100644
index 574731427297..
--- a/sys-apps/tuned/tuned-2.20.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit optfeature python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   app-emulation/virt-what
-   dev-debug/systemtap
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   "
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-
-   optfeature_header
-   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
-   optfeature "Get hardware info" sys-apps/dmidecode
-   optfeature "Optimize network txqueuelen" sys-apps/iproute2
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2024-02-17 Thread Yixun Lan
commit: e9f941a51607d5eeed5bb1b34b72521c2285ac09
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun Feb 18 01:08:48 2024 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun Feb 18 01:08:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9f941a5

sys-apps/tuned: add 2.22.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.22.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 2de6ab7407e2..76266d103187 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.20.0.tar.gz 241286 BLAKE2B 
0057f41221dcf076c30cf1366cb94ffcc000d08b23f88c2af2488fee4cb43b2f06d0fdcd15d21c1984e08d0d8b31a1ee64029cf36cd3f398d3541f6ff327dc8c
 SHA512 
c8b9fc5bdc684b3c518267875b3757fce5d607bec0df7946fe3a7d345683ea0baa2f8b9bbfb741083b82fd9ca7c825506ca86ea530551837b42c11b45f24ccea
 DIST tuned-2.21.0.tar.gz 245442 BLAKE2B 
7b5bd75a026b871153a7340fbdfca690f2ff5723295d019260391b431d6b327ee445c44dff2755e6fc0e672af806e8cba96bea9122ef3efeafb8ec4269c34877
 SHA512 
f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0
+DIST tuned-2.22.0.tar.gz 254613 BLAKE2B 
5354181ab300125d7011aa12c208bc9973c19bd34018ba83d772a9e2fa1598cb6582f952afb35d586bb24a2e3af077bdff22fa6e1e39fcdbe94bee090b2032a2
 SHA512 
653f946e8eff57eaa7e26b05c9215d60c8dcec6760b4a41a2855328e86b65f4dcbc0b2fd7d9f9355d00aae93f601c035a38d4e1611f30cb5003b417e31bea4dc

diff --git a/sys-apps/tuned/tuned-2.22.0.ebuild 
b/sys-apps/tuned/tuned-2.22.0.ebuild
new file mode 100644
index ..574731427297
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.22.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit optfeature python-single-r1 tmpfiles xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   app-emulation/virt-what
+   dev-debug/systemtap
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   "
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
+
+   optfeature_header
+   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
+   optfeature "Get hardware info" sys-apps/dmidecode
+   optfeature "Optimize network txqueuelen" sys-apps/iproute2
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2023-08-30 Thread Yixun Lan
commit: b9315e05cad44fa162960974248e37561b8347e1
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Aug 30 09:43:26 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug 30 09:55:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9315e05

sys-apps/tuned: add 2.21.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.21.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 3cb4b265b98b..832bb84f2342 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.19.0.tar.gz 233481 BLAKE2B 
9bbd759af69938c8a31b0bb7d746b54f035dc11e3fad2bf8e77d4b318e01f59f51af1d8a5bb8105bdbd9a1393932a27fa2664f529121c956081e92a5f96e2e45
 SHA512 
64ed338398f7ae73cdf4de04ce24dec6869abf3f399459f13de792edfd965da4efdab0fb1337749556f2868d1769dcb55df9e13983d1e0bc2769fb5fc791cfb8
 DIST tuned-2.20.0.tar.gz 241286 BLAKE2B 
0057f41221dcf076c30cf1366cb94ffcc000d08b23f88c2af2488fee4cb43b2f06d0fdcd15d21c1984e08d0d8b31a1ee64029cf36cd3f398d3541f6ff327dc8c
 SHA512 
c8b9fc5bdc684b3c518267875b3757fce5d607bec0df7946fe3a7d345683ea0baa2f8b9bbfb741083b82fd9ca7c825506ca86ea530551837b42c11b45f24ccea
+DIST tuned-2.21.0.tar.gz 245442 BLAKE2B 
7b5bd75a026b871153a7340fbdfca690f2ff5723295d019260391b431d6b327ee445c44dff2755e6fc0e672af806e8cba96bea9122ef3efeafb8ec4269c34877
 SHA512 
f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0

diff --git a/sys-apps/tuned/tuned-2.21.0.ebuild 
b/sys-apps/tuned/tuned-2.21.0.ebuild
new file mode 100644
index ..3be0719a79c1
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.21.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit optfeature python-single-r1 tmpfiles xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   app-emulation/virt-what
+   dev-util/systemtap
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   "
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
+
+   optfeature_header
+   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
+   optfeature "Get hardware info" sys-apps/dmidecode
+   optfeature "Optimize network txqueuelen" sys-apps/iproute2
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2023-08-30 Thread Yixun Lan
commit: bef7307eb7e4e2faae422daa4a1ca954e26e7679
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Aug 30 09:44:10 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Aug 30 09:55:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef7307e

sys-apps/tuned: drop 2.19.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.19.0.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 832bb84f2342..2de6ab7407e2 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.19.0.tar.gz 233481 BLAKE2B 
9bbd759af69938c8a31b0bb7d746b54f035dc11e3fad2bf8e77d4b318e01f59f51af1d8a5bb8105bdbd9a1393932a27fa2664f529121c956081e92a5f96e2e45
 SHA512 
64ed338398f7ae73cdf4de04ce24dec6869abf3f399459f13de792edfd965da4efdab0fb1337749556f2868d1769dcb55df9e13983d1e0bc2769fb5fc791cfb8
 DIST tuned-2.20.0.tar.gz 241286 BLAKE2B 
0057f41221dcf076c30cf1366cb94ffcc000d08b23f88c2af2488fee4cb43b2f06d0fdcd15d21c1984e08d0d8b31a1ee64029cf36cd3f398d3541f6ff327dc8c
 SHA512 
c8b9fc5bdc684b3c518267875b3757fce5d607bec0df7946fe3a7d345683ea0baa2f8b9bbfb741083b82fd9ca7c825506ca86ea530551837b42c11b45f24ccea
 DIST tuned-2.21.0.tar.gz 245442 BLAKE2B 
7b5bd75a026b871153a7340fbdfca690f2ff5723295d019260391b431d6b327ee445c44dff2755e6fc0e672af806e8cba96bea9122ef3efeafb8ec4269c34877
 SHA512 
f1f58d582997db7789af990895c63c1fd4f6329b95cda7fa0fb314f95f05be120b90228e347d0239e4a4bed13baad66a42f006880e369f46741ecf8705bb92d0

diff --git a/sys-apps/tuned/tuned-2.19.0.ebuild 
b/sys-apps/tuned/tuned-2.19.0.ebuild
deleted file mode 100644
index 096c844a1c3d..
--- a/sys-apps/tuned/tuned-2.19.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit optfeature python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   app-emulation/virt-what
-   dev-util/systemtap
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   "
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-
-   optfeature_header
-   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
-   optfeature "Get hardware info" sys-apps/dmidecode
-   optfeature "Optimize network txqueuelen" sys-apps/iproute2
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2023-03-11 Thread Yixun Lan
commit: d067f3d1e3a7819a2086b5f05ef89d42ba6695eb
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Mar 11 11:05:21 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Mar 11 11:06:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d067f3d1

sys-apps/tuned: add 2.20.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.20.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 240dd15019d0..8a28800c136e 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.18.0.tar.gz 218252 BLAKE2B 
25bf078ea4e616830fa8b125251e24afbe2a566fcdd1050b2e1ac95125e22e8276b61f23a0236380bf1aec5ce892e1832230a800356460b5af21346c8825269d
 SHA512 
9508bfad6502b7b9a72fb84d29308cbc10b3cb663b367c821e79ad4d57c2349086c199bf884440c46d230d08d0ad3df17d4f31ebdc03b68c7ba2695b6e18bcc9
 DIST tuned-2.19.0.tar.gz 233481 BLAKE2B 
9bbd759af69938c8a31b0bb7d746b54f035dc11e3fad2bf8e77d4b318e01f59f51af1d8a5bb8105bdbd9a1393932a27fa2664f529121c956081e92a5f96e2e45
 SHA512 
64ed338398f7ae73cdf4de04ce24dec6869abf3f399459f13de792edfd965da4efdab0fb1337749556f2868d1769dcb55df9e13983d1e0bc2769fb5fc791cfb8
+DIST tuned-2.20.0.tar.gz 241286 BLAKE2B 
0057f41221dcf076c30cf1366cb94ffcc000d08b23f88c2af2488fee4cb43b2f06d0fdcd15d21c1984e08d0d8b31a1ee64029cf36cd3f398d3541f6ff327dc8c
 SHA512 
c8b9fc5bdc684b3c518267875b3757fce5d607bec0df7946fe3a7d345683ea0baa2f8b9bbfb741083b82fd9ca7c825506ca86ea530551837b42c11b45f24ccea

diff --git a/sys-apps/tuned/tuned-2.20.0.ebuild 
b/sys-apps/tuned/tuned-2.20.0.ebuild
new file mode 100644
index ..3be0719a79c1
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.20.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit optfeature python-single-r1 tmpfiles xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   app-emulation/virt-what
+   dev-util/systemtap
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   "
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
+
+   optfeature_header
+   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
+   optfeature "Get hardware info" sys-apps/dmidecode
+   optfeature "Optimize network txqueuelen" sys-apps/iproute2
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2023-03-11 Thread Yixun Lan
commit: 5e9dddcc66edff16b6888b202a6329fd544ac8a3
Author: Yixun Lan  gentoo  org>
AuthorDate: Sat Mar 11 11:05:45 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Mar 11 11:06:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e9dddcc

sys-apps/tuned: drop 2.18.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.18.0.ebuild | 70 --
 2 files changed, 71 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 8a28800c136e..3cb4b265b98b 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.18.0.tar.gz 218252 BLAKE2B 
25bf078ea4e616830fa8b125251e24afbe2a566fcdd1050b2e1ac95125e22e8276b61f23a0236380bf1aec5ce892e1832230a800356460b5af21346c8825269d
 SHA512 
9508bfad6502b7b9a72fb84d29308cbc10b3cb663b367c821e79ad4d57c2349086c199bf884440c46d230d08d0ad3df17d4f31ebdc03b68c7ba2695b6e18bcc9
 DIST tuned-2.19.0.tar.gz 233481 BLAKE2B 
9bbd759af69938c8a31b0bb7d746b54f035dc11e3fad2bf8e77d4b318e01f59f51af1d8a5bb8105bdbd9a1393932a27fa2664f529121c956081e92a5f96e2e45
 SHA512 
64ed338398f7ae73cdf4de04ce24dec6869abf3f399459f13de792edfd965da4efdab0fb1337749556f2868d1769dcb55df9e13983d1e0bc2769fb5fc791cfb8
 DIST tuned-2.20.0.tar.gz 241286 BLAKE2B 
0057f41221dcf076c30cf1366cb94ffcc000d08b23f88c2af2488fee4cb43b2f06d0fdcd15d21c1984e08d0d8b31a1ee64029cf36cd3f398d3541f6ff327dc8c
 SHA512 
c8b9fc5bdc684b3c518267875b3757fce5d607bec0df7946fe3a7d345683ea0baa2f8b9bbfb741083b82fd9ca7c825506ca86ea530551837b42c11b45f24ccea

diff --git a/sys-apps/tuned/tuned-2.18.0.ebuild 
b/sys-apps/tuned/tuned-2.18.0.ebuild
deleted file mode 100644
index 096c844a1c3d..
--- a/sys-apps/tuned/tuned-2.18.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-
-inherit optfeature python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   app-emulation/virt-what
-   dev-util/systemtap
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   "
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-
-   optfeature_header
-   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
-   optfeature "Get hardware info" sys-apps/dmidecode
-   optfeature "Optimize network txqueuelen" sys-apps/iproute2
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2022-09-05 Thread Yixun Lan
commit: 99bfd7c133c532c666a3267fc188c0dfc43cb404
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Sep  5 13:10:09 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Sep  5 13:10:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99bfd7c1

sys-apps/tuned: add 2.19.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.19.0.ebuild | 70 ++
 2 files changed, 71 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 4f6f73cf6dfd..4dc54dc33bea 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.17.0.tar.gz 214983 BLAKE2B 
76c9609b91910cb5c4da67a18ba7d0c3dd7348e02360084ae6ca9e6b17832071314f5e4e84a4700789ae6c456aebb7c60c44e9951687d43a5e3a82fdbdddaa33
 SHA512 
e2521caa47c3176528ea1fd595d30c483aec4623eeccc9a7c1aa3b3781c7c9bdc48625488b313d7aaebbfecbae8f540029d2159d522574e334096094da54e868
 DIST tuned-2.18.0.tar.gz 218252 BLAKE2B 
25bf078ea4e616830fa8b125251e24afbe2a566fcdd1050b2e1ac95125e22e8276b61f23a0236380bf1aec5ce892e1832230a800356460b5af21346c8825269d
 SHA512 
9508bfad6502b7b9a72fb84d29308cbc10b3cb663b367c821e79ad4d57c2349086c199bf884440c46d230d08d0ad3df17d4f31ebdc03b68c7ba2695b6e18bcc9
+DIST tuned-2.19.0.tar.gz 233481 BLAKE2B 
9bbd759af69938c8a31b0bb7d746b54f035dc11e3fad2bf8e77d4b318e01f59f51af1d8a5bb8105bdbd9a1393932a27fa2664f529121c956081e92a5f96e2e45
 SHA512 
64ed338398f7ae73cdf4de04ce24dec6869abf3f399459f13de792edfd965da4efdab0fb1337749556f2868d1769dcb55df9e13983d1e0bc2769fb5fc791cfb8

diff --git a/sys-apps/tuned/tuned-2.19.0.ebuild 
b/sys-apps/tuned/tuned-2.19.0.ebuild
new file mode 100644
index ..8443e063fd1c
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.19.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit optfeature python-single-r1 tmpfiles xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   app-emulation/virt-what
+   dev-util/systemtap
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   "
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
+
+   optfeature_header
+   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
+   optfeature "Get hardware info" sys-apps/dmidecode
+   optfeature "Optimize network txqueuelen" sys-apps/iproute2
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2022-09-05 Thread Yixun Lan
commit: 000e42f20308a4ccb56bb896b6f7aff60d185c97
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Sep  5 13:10:59 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Sep  5 13:10:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000e42f2

sys-apps/tuned: drop 2.17.0

Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.17.0.ebuild | 69 --
 2 files changed, 70 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 4dc54dc33bea..240dd15019d0 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.17.0.tar.gz 214983 BLAKE2B 
76c9609b91910cb5c4da67a18ba7d0c3dd7348e02360084ae6ca9e6b17832071314f5e4e84a4700789ae6c456aebb7c60c44e9951687d43a5e3a82fdbdddaa33
 SHA512 
e2521caa47c3176528ea1fd595d30c483aec4623eeccc9a7c1aa3b3781c7c9bdc48625488b313d7aaebbfecbae8f540029d2159d522574e334096094da54e868
 DIST tuned-2.18.0.tar.gz 218252 BLAKE2B 
25bf078ea4e616830fa8b125251e24afbe2a566fcdd1050b2e1ac95125e22e8276b61f23a0236380bf1aec5ce892e1832230a800356460b5af21346c8825269d
 SHA512 
9508bfad6502b7b9a72fb84d29308cbc10b3cb663b367c821e79ad4d57c2349086c199bf884440c46d230d08d0ad3df17d4f31ebdc03b68c7ba2695b6e18bcc9
 DIST tuned-2.19.0.tar.gz 233481 BLAKE2B 
9bbd759af69938c8a31b0bb7d746b54f035dc11e3fad2bf8e77d4b318e01f59f51af1d8a5bb8105bdbd9a1393932a27fa2664f529121c956081e92a5f96e2e45
 SHA512 
64ed338398f7ae73cdf4de04ce24dec6869abf3f399459f13de792edfd965da4efdab0fb1337749556f2868d1769dcb55df9e13983d1e0bc2769fb5fc791cfb8

diff --git a/sys-apps/tuned/tuned-2.17.0.ebuild 
b/sys-apps/tuned/tuned-2.17.0.ebuild
deleted file mode 100644
index ee2397ad3175..
--- a/sys-apps/tuned/tuned-2.17.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit optfeature python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   app-emulation/virt-what
-   dev-util/systemtap
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   "
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-
-   optfeature_header
-   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
-   optfeature "Get hardware info" sys-apps/dmidecode
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2022-02-14 Thread Yixun Lan
commit: 64b3c53b47c1d4ed963283eb8af9a345ac3d3897
Author: Francisco Javier Félix  inode64  com>
AuthorDate: Thu Feb 10 17:27:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb 14 14:30:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b3c53b

sys-apps/tuned: version bump, 2.18.0

requiere app-emulation/virt-what from spec
Include optional features (hdparm, dmidecode, iproute2)

Closes: https://github.com/gentoo/gentoo/pull/24149
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: INODE64  inode64.com>
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest  |  1 +
 sys-apps/tuned/tuned-2.16.0.ebuild   | 16 +++-
 sys-apps/tuned/tuned-2.17.0.ebuild   | 14 ++
 .../tuned/{tuned-2.17.0.ebuild => tuned-2.18.0.ebuild}   | 15 +++
 4 files changed, 33 insertions(+), 13 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 71d63c7625cd..2e205cc48127 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.16.0.tar.gz 213111 BLAKE2B 
865cfffc89459396aa50c7908c88de405dea365084cf1592134391da961e88cc5610b663d93d531febdf881182624a13771493c61915003c59ad24bc64dd8a5c
 SHA512 
35f04e1ee1ab3d8be711f0787db92c089cc210c75a3be0bc60389effaed8dc3fb502eff54ea0336154563f7b194f8ff286a2e408ab439a472b6d4922c64d5b03
 DIST tuned-2.17.0.tar.gz 214983 BLAKE2B 
76c9609b91910cb5c4da67a18ba7d0c3dd7348e02360084ae6ca9e6b17832071314f5e4e84a4700789ae6c456aebb7c60c44e9951687d43a5e3a82fdbdddaa33
 SHA512 
e2521caa47c3176528ea1fd595d30c483aec4623eeccc9a7c1aa3b3781c7c9bdc48625488b313d7aaebbfecbae8f540029d2159d522574e334096094da54e868
+DIST tuned-2.18.0.tar.gz 218252 BLAKE2B 
25bf078ea4e616830fa8b125251e24afbe2a566fcdd1050b2e1ac95125e22e8276b61f23a0236380bf1aec5ce892e1832230a800356460b5af21346c8825269d
 SHA512 
9508bfad6502b7b9a72fb84d29308cbc10b3cb663b367c821e79ad4d57c2349086c199bf884440c46d230d08d0ad3df17d4f31ebdc03b68c7ba2695b6e18bcc9

diff --git a/sys-apps/tuned/tuned-2.16.0.ebuild 
b/sys-apps/tuned/tuned-2.16.0.ebuild
index cceedf446eba..7ce4188e8394 100644
--- a/sys-apps/tuned/tuned-2.16.0.ebuild
+++ b/sys-apps/tuned/tuned-2.16.0.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9} )
 
-inherit python-single-r1 tmpfiles xdg-utils
+inherit optfeature python-single-r1 tmpfiles xdg-utils
 
 DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
 HOMEPAGE="https://github.com/redhat-performance/tuned;
@@ -21,19 +21,21 @@ DEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
')"
 
 RDEPEND="
${DEPEND}
+   app-emulation/virt-what
+   dev-util/systemtap
sys-apps/dbus
sys-apps/ethtool
sys-power/powertop
-   dev-util/systemtap"
+   "
 
 RESTRICT="test"
 
@@ -60,4 +62,8 @@ src_install() {
 pkg_postinst() {
tmpfiles_process ${PN}.conf
xdg_icon_cache_update
+
+   optfeature_header
+   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
+   optfeature "Get hardware info" sys-apps/dmidecode
 }

diff --git a/sys-apps/tuned/tuned-2.17.0.ebuild 
b/sys-apps/tuned/tuned-2.17.0.ebuild
index d43f6e41ed30..ee2397ad3175 100644
--- a/sys-apps/tuned/tuned-2.17.0.ebuild
+++ b/sys-apps/tuned/tuned-2.17.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{8..10} )
 
-inherit python-single-r1 tmpfiles xdg-utils
+inherit optfeature python-single-r1 tmpfiles xdg-utils
 
 DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
 HOMEPAGE="https://github.com/redhat-performance/tuned;
@@ -21,19 +21,21 @@ DEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
')"
 
 RDEPEND="
${DEPEND}
+   app-emulation/virt-what
+   dev-util/systemtap
sys-apps/dbus
sys-apps/ethtool

[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2022-02-14 Thread Yixun Lan
commit: 911867bd5f45e4e740c511107287f7121ee6a525
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Feb 14 14:33:23 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb 14 14:33:23 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911867bd

sys-apps/tuned: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.16.0.ebuild | 69 --
 2 files changed, 70 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 2e205cc48127..4f6f73cf6dfd 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.16.0.tar.gz 213111 BLAKE2B 
865cfffc89459396aa50c7908c88de405dea365084cf1592134391da961e88cc5610b663d93d531febdf881182624a13771493c61915003c59ad24bc64dd8a5c
 SHA512 
35f04e1ee1ab3d8be711f0787db92c089cc210c75a3be0bc60389effaed8dc3fb502eff54ea0336154563f7b194f8ff286a2e408ab439a472b6d4922c64d5b03
 DIST tuned-2.17.0.tar.gz 214983 BLAKE2B 
76c9609b91910cb5c4da67a18ba7d0c3dd7348e02360084ae6ca9e6b17832071314f5e4e84a4700789ae6c456aebb7c60c44e9951687d43a5e3a82fdbdddaa33
 SHA512 
e2521caa47c3176528ea1fd595d30c483aec4623eeccc9a7c1aa3b3781c7c9bdc48625488b313d7aaebbfecbae8f540029d2159d522574e334096094da54e868
 DIST tuned-2.18.0.tar.gz 218252 BLAKE2B 
25bf078ea4e616830fa8b125251e24afbe2a566fcdd1050b2e1ac95125e22e8276b61f23a0236380bf1aec5ce892e1832230a800356460b5af21346c8825269d
 SHA512 
9508bfad6502b7b9a72fb84d29308cbc10b3cb663b367c821e79ad4d57c2349086c199bf884440c46d230d08d0ad3df17d4f31ebdc03b68c7ba2695b6e18bcc9

diff --git a/sys-apps/tuned/tuned-2.16.0.ebuild 
b/sys-apps/tuned/tuned-2.16.0.ebuild
deleted file mode 100644
index 7ce4188e8394..
--- a/sys-apps/tuned/tuned-2.16.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit optfeature python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   app-emulation/virt-what
-   dev-util/systemtap
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   "
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-
-   optfeature_header
-   optfeature "Optimize for power saving by spinning-down rotational 
disks" sys-apps/hdparm
-   optfeature "Get hardware info" sys-apps/dmidecode
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2022-01-31 Thread Yixun Lan
commit: b2e22e27aefbf6152fd39ce89d65df68352089c6
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jan 31 14:52:50 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jan 31 14:52:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2e22e27

sys-apps/tuned: drop old

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest   |  1 -
 sys-apps/tuned/tuned-2.15.0-r1.ebuild | 63 ---
 2 files changed, 64 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index e206f07ebda0..71d63c7625cd 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.15.0.tar.gz 207775 BLAKE2B 
307b0598d9e99831526f2b26d5544df3832db7e17f28935c6f8d9293ec0d03729fb66906dca4739d48690e488f05383d448e7e714f6ae4824489564c295784c9
 SHA512 
67acdf10ecccd7910c4dcfd737610b4cb7651c7bf937bc0ed9c51869262d9f3a46f262d0b7636bc7a86a8abf579542a46f551e4f6c7561a061d8d58459be4589
 DIST tuned-2.16.0.tar.gz 213111 BLAKE2B 
865cfffc89459396aa50c7908c88de405dea365084cf1592134391da961e88cc5610b663d93d531febdf881182624a13771493c61915003c59ad24bc64dd8a5c
 SHA512 
35f04e1ee1ab3d8be711f0787db92c089cc210c75a3be0bc60389effaed8dc3fb502eff54ea0336154563f7b194f8ff286a2e408ab439a472b6d4922c64d5b03
 DIST tuned-2.17.0.tar.gz 214983 BLAKE2B 
76c9609b91910cb5c4da67a18ba7d0c3dd7348e02360084ae6ca9e6b17832071314f5e4e84a4700789ae6c456aebb7c60c44e9951687d43a5e3a82fdbdddaa33
 SHA512 
e2521caa47c3176528ea1fd595d30c483aec4623eeccc9a7c1aa3b3781c7c9bdc48625488b313d7aaebbfecbae8f540029d2159d522574e334096094da54e868

diff --git a/sys-apps/tuned/tuned-2.15.0-r1.ebuild 
b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
deleted file mode 100644
index cceedf446eba..
--- a/sys-apps/tuned/tuned-2.15.0-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit python-single-r1 tmpfiles xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   dev-util/systemtap"
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   tmpfiles_process ${PN}.conf
-   xdg_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2022-01-31 Thread Yixun Lan
commit: 29be1d13f5c32323afe204e1a305c9005d9da21e
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Jan 31 14:45:12 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Jan 31 14:45:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29be1d13

sys-apps/tuned: version bump 2.17.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.17.0.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 086fe3abac9f..e206f07ebda0 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.15.0.tar.gz 207775 BLAKE2B 
307b0598d9e99831526f2b26d5544df3832db7e17f28935c6f8d9293ec0d03729fb66906dca4739d48690e488f05383d448e7e714f6ae4824489564c295784c9
 SHA512 
67acdf10ecccd7910c4dcfd737610b4cb7651c7bf937bc0ed9c51869262d9f3a46f262d0b7636bc7a86a8abf579542a46f551e4f6c7561a061d8d58459be4589
 DIST tuned-2.16.0.tar.gz 213111 BLAKE2B 
865cfffc89459396aa50c7908c88de405dea365084cf1592134391da961e88cc5610b663d93d531febdf881182624a13771493c61915003c59ad24bc64dd8a5c
 SHA512 
35f04e1ee1ab3d8be711f0787db92c089cc210c75a3be0bc60389effaed8dc3fb502eff54ea0336154563f7b194f8ff286a2e408ab439a472b6d4922c64d5b03
+DIST tuned-2.17.0.tar.gz 214983 BLAKE2B 
76c9609b91910cb5c4da67a18ba7d0c3dd7348e02360084ae6ca9e6b17832071314f5e4e84a4700789ae6c456aebb7c60c44e9951687d43a5e3a82fdbdddaa33
 SHA512 
e2521caa47c3176528ea1fd595d30c483aec4623eeccc9a7c1aa3b3781c7c9bdc48625488b313d7aaebbfecbae8f540029d2159d522574e334096094da54e868

diff --git a/sys-apps/tuned/tuned-2.17.0.ebuild 
b/sys-apps/tuned/tuned-2.17.0.ebuild
new file mode 100644
index ..d43f6e41ed30
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.17.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit python-single-r1 tmpfiles xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   dev-util/systemtap"
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-09-26 Thread Conrad Kostecki
commit: 1ccf0627edc9055e4d291ad1a8600686ac737380
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Sep 26 19:24:30 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Sep 26 19:36:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ccf0627

sys-apps/tuned: fix tmpfiles

Closes: https://bugs.gentoo.org/810832
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-apps/tuned/tuned-2.15.0-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-apps/tuned/tuned-2.15.0-r1.ebuild 
b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
index 050ad815152..cceedf446eb 100644
--- a/sys-apps/tuned/tuned-2.15.0-r1.ebuild
+++ b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9} )
 
-inherit python-single-r1 xdg-utils
+inherit python-single-r1 tmpfiles xdg-utils
 
 DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
 HOMEPAGE="https://github.com/redhat-performance/tuned;
@@ -58,5 +58,6 @@ src_install() {
 }
 
 pkg_postinst() {
+   tmpfiles_process ${PN}.conf
xdg_icon_cache_update
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-09-26 Thread Conrad Kostecki
commit: ff73401329314db5453511af1f64f972bd6daa5d
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Sep 26 19:23:35 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Sep 26 19:36:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff734013

sys-apps/tuned: sort inherit

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 sys-apps/tuned/tuned-2.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/tuned/tuned-2.16.0.ebuild 
b/sys-apps/tuned/tuned-2.16.0.ebuild
index bb7ae49d1f9..cceedf446eb 100644
--- a/sys-apps/tuned/tuned-2.16.0.ebuild
+++ b/sys-apps/tuned/tuned-2.16.0.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 PYTHON_COMPAT=( python3_{8,9} )
 
-inherit python-single-r1 xdg-utils tmpfiles
+inherit python-single-r1 tmpfiles xdg-utils
 
 DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
 HOMEPAGE="https://github.com/redhat-performance/tuned;
@@ -58,6 +58,6 @@ src_install() {
 }
 
 pkg_postinst() {
-   xdg_icon_cache_update
tmpfiles_process ${PN}.conf
+   xdg_icon_cache_update
 }



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-09-23 Thread Yixun Lan
commit: 7dd90ee56dbbf12d43eb5982feee8b5d85f4c677
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Sep 24 01:51:58 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Sep 24 01:51:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dd90ee5

sys-apps/tuned: version bump, 2.16.0

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.16.0.ebuild | 63 ++
 2 files changed, 64 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 28fa06f019e..086fe3abac9 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1 +1,2 @@
 DIST tuned-2.15.0.tar.gz 207775 BLAKE2B 
307b0598d9e99831526f2b26d5544df3832db7e17f28935c6f8d9293ec0d03729fb66906dca4739d48690e488f05383d448e7e714f6ae4824489564c295784c9
 SHA512 
67acdf10ecccd7910c4dcfd737610b4cb7651c7bf937bc0ed9c51869262d9f3a46f262d0b7636bc7a86a8abf579542a46f551e4f6c7561a061d8d58459be4589
+DIST tuned-2.16.0.tar.gz 213111 BLAKE2B 
865cfffc89459396aa50c7908c88de405dea365084cf1592134391da961e88cc5610b663d93d531febdf881182624a13771493c61915003c59ad24bc64dd8a5c
 SHA512 
35f04e1ee1ab3d8be711f0787db92c089cc210c75a3be0bc60389effaed8dc3fb502eff54ea0336154563f7b194f8ff286a2e408ab439a472b6d4922c64d5b03

diff --git a/sys-apps/tuned/tuned-2.16.0.ebuild 
b/sys-apps/tuned/tuned-2.16.0.ebuild
new file mode 100644
index 000..bb7ae49d1f9
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.16.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+
+inherit python-single-r1 xdg-utils tmpfiles
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   dev-util/systemtap"
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+   tmpfiles_process ${PN}.conf
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-07-17 Thread David Seifert
commit: e72d58941dcccfbdc8428112b9c76cf9af7e52ec
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jul 17 18:17:15 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jul 17 18:17:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e72d5894

sys-apps/tuned: PYTHON_MULTI_USEDEP -> PYTHON_USEDEP

Signed-off-by: David Seifert  gentoo.org>

 sys-apps/tuned/tuned-2.15.0-r1.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/sys-apps/tuned/tuned-2.15.0-r1.ebuild 
b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
index e39575c6a99..050ad815152 100644
--- a/sys-apps/tuned/tuned-2.15.0-r1.ebuild
+++ b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
 
 inherit python-single-r1 xdg-utils
 
@@ -20,12 +20,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 DEPEND="
${PYTHON_DEPS}
$(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_MULTI_USEDEP}]
-   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
-   dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
-   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]
')"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-05-31 Thread Michał Górny
commit: af309185792801e391f1885afc7f73e10685d7b6
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 31 20:58:28 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 31 20:58:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af309185

sys-apps/tuned: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/tuned/Manifest   |  1 -
 sys-apps/tuned/tuned-2.13.0-r1.ebuild | 61 ---
 2 files changed, 62 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index b0f48328bb6..28fa06f019e 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1 @@
-DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 
1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15
 SHA512 
d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927
 DIST tuned-2.15.0.tar.gz 207775 BLAKE2B 
307b0598d9e99831526f2b26d5544df3832db7e17f28935c6f8d9293ec0d03729fb66906dca4739d48690e488f05383d448e7e714f6ae4824489564c295784c9
 SHA512 
67acdf10ecccd7910c4dcfd737610b4cb7651c7bf937bc0ed9c51869262d9f3a46f262d0b7636bc7a86a8abf579542a46f551e4f6c7561a061d8d58459be4589

diff --git a/sys-apps/tuned/tuned-2.13.0-r1.ebuild 
b/sys-apps/tuned/tuned-2.13.0-r1.ebuild
deleted file mode 100644
index 7dc2f7cefc0..000
--- a/sys-apps/tuned/tuned-2.13.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_7 )
-
-inherit python-single-r1 xdg-utils
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://github.com/redhat-performance/tuned;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DEPEND="
-   ${PYTHON_DEPS}
-   $(python_gen_cond_dep '
-   dev-python/configobj[${PYTHON_MULTI_USEDEP}]
-   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
-   dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
-   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
-   ')"
-
-RDEPEND="
-   ${DEPEND}
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   dev-util/systemtap"
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${D}"
-   python_optimize
-}
-
-pkg_postinst() {
-   xdg_icon_cache_update
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-02-03 Thread Yixun Lan
commit: 74296c306cad179bacb3caaf7958fb817d1eced3
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Feb  3 13:59:45 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Feb  3 14:04:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74296c30

sys-apps/tuned: fix wrong python shebang error

thanks Ionen Wolkens for reporting

Closes: https://bugs.gentoo.org/768411
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/{tuned-2.15.0.ebuild => tuned-2.15.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild 
b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
similarity index 95%
rename from sys-apps/tuned/tuned-2.15.0.ebuild
rename to sys-apps/tuned/tuned-2.15.0-r1.ebuild
index 371dfed0725..e39575c6a99 100644
--- a/sys-apps/tuned/tuned-2.15.0.ebuild
+++ b/sys-apps/tuned/tuned-2.15.0-r1.ebuild
@@ -41,7 +41,7 @@ src_prepare() {
default
 
sed -i \
-   -e "/^PYTHON/s:/usr/bin/python3:${EPYTHON}:" \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPREFIX}/usr/bin/${EPYTHON}:" 
\
-e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-e "/\$(DESTDIR)\/run\/tuned/d" \
-e "/\$(DESTDIR)\/var\/lib\/tuned/d" \



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-01-14 Thread Yixun Lan
commit: 3fe8932064015c6f559f0614e8321074c8e06f32
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Jan 14 14:35:40 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Jan 14 14:37:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fe89320

sys-apps/tuned: fix python shebang error

Closes: https://bugs.gentoo.org/765391
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/tuned-2.15.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild 
b/sys-apps/tuned/tuned-2.15.0.ebuild
index 9c35900cbdd..58b76e9dde2 100644
--- a/sys-apps/tuned/tuned-2.15.0.ebuild
+++ b/sys-apps/tuned/tuned-2.15.0.ebuild
@@ -41,6 +41,7 @@ src_prepare() {
default
 
sed -i \
+   -e "/^PYTHON/s:/usr/bin/python3:${EPYTHON}:" \
-e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
-e "/\$(DESTDIR)\/run\/tuned/d" \
-e "/\$(DESTDIR)\/var\/lib\/tuned/d" \



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2021-01-13 Thread Yixun Lan
commit: b74c983eca0ae6cdb5e78ae99820b28fd042bfe8
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jan 13 10:51:25 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 13 23:03:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b74c983e

sys-apps/tuned: version bump 2.15.0

Closes: https://bugs.gentoo.org/758362
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.15.0.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 42b4090aa23..b0f48328bb6 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1 +1,2 @@
 DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 
1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15
 SHA512 
d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927
+DIST tuned-2.15.0.tar.gz 207775 BLAKE2B 
307b0598d9e99831526f2b26d5544df3832db7e17f28935c6f8d9293ec0d03729fb66906dca4739d48690e488f05383d448e7e714f6ae4824489564c295784c9
 SHA512 
67acdf10ecccd7910c4dcfd737610b4cb7651c7bf937bc0ed9c51869262d9f3a46f262d0b7636bc7a86a8abf579542a46f551e4f6c7561a061d8d58459be4589

diff --git a/sys-apps/tuned/tuned-2.15.0.ebuild 
b/sys-apps/tuned/tuned-2.15.0.ebuild
new file mode 100644
index 000..9c35900cbdd
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.15.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit python-single-r1 xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_MULTI_USEDEP}]
+   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
+   dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
+   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
+   ')"
+
+RDEPEND="
+   ${DEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   dev-util/systemtap"
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2020-02-09 Thread Michał Górny
commit: bcb664a7f130f2b6a3c449a4106a0027cc4dae67
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Feb  7 20:19:39 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Feb  9 16:37:05 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb664a7

sys-apps/tuned: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny  gentoo.org>

 .../tuned/{tuned-2.13.0.ebuild => tuned-2.13.0-r1.ebuild}  | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/sys-apps/tuned/tuned-2.13.0.ebuild 
b/sys-apps/tuned/tuned-2.13.0-r1.ebuild
similarity index 75%
rename from sys-apps/tuned/tuned-2.13.0.ebuild
rename to sys-apps/tuned/tuned-2.13.0-r1.ebuild
index fe231367c6c..89a8dadb552 100644
--- a/sys-apps/tuned/tuned-2.13.0.ebuild
+++ b/sys-apps/tuned/tuned-2.13.0-r1.ebuild
@@ -19,12 +19,14 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="
${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]"
+   $(python_gen_cond_dep '
+   dev-python/configobj[${PYTHON_MULTI_USEDEP}]
+   dev-python/decorator[${PYTHON_MULTI_USEDEP}]
+   dev-python/pyudev[${PYTHON_MULTI_USEDEP}]
+   dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_MULTI_USEDEP}]
+   ')"
 
 RDEPEND="
${DEPEND}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2020-02-05 Thread Michał Górny
commit: e30e3568bf273907a81626604490fb0e1c4e0f08
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Feb  5 20:21:08 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Feb  5 20:46:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e30e3568

sys-apps/tuned: Remove old (py2)

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/tuned/Manifest|  1 -
 sys-apps/tuned/tuned-2.10.0.ebuild | 59 --
 2 files changed, 60 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index f25e76d623c..42b4090aa23 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1 @@
-DIST tuned-2.10.0.tar.gz 160254 BLAKE2B 
0a09b4b870ec153adc62de7811af561ddb3967d459b1d5e8b6f02c5ac036ed170ad3368d18fc1b3fd40649335035cce971a54e1eda8745c77e836a3b2d892a83
 SHA512 
e0674533f17ac27cd3647808cda1f51d9905f563521af8cb3ffd1854098d6e2ca1adac82e542e6bdf86cce7e659303464eac50b8823167360783a75843d02a60
 DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 
1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15
 SHA512 
d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927

diff --git a/sys-apps/tuned/tuned-2.10.0.ebuild 
b/sys-apps/tuned/tuned-2.10.0.ebuild
deleted file mode 100644
index 0d0931ccad3..000
--- a/sys-apps/tuned/tuned-2.10.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-CDEPEND="
-   ${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-   dev-python/python-linux-procfs[${PYTHON_USEDEP}]"
-
-DEPEND="
-   ${CDEPEND}"
-
-RDEPEND="
-   ${CDEPEND}
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   sys-process/procps
-   dev-util/systemtap"
-
-RESTRICT="test"
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e "/^PYTHON/s/= python3/= python2/g" \
-   -e "/^DOCDIR/s/$/&\-\$(VERSION)/g" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
-   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
-   Makefile || die
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
-   python_fix_shebang "${ED}"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2020-01-21 Thread Yixun Lan
commit: 208e6cae7a28c505808777b7d0546aa7a93d9d9a
Author: Ewoud Kohl van Wijngaarden  kohlvanwijngaarden  nl>
AuthorDate: Sat Jan  4 17:40:09 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 22 06:34:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=208e6cae

sys-apps/tuned: Add 2.13.0

* Move from Python 2 to Python 3.
* Correct DOCDIR patching
* Optimize Python files
* Update XDG icon cache

Closes: https://bugs.gentoo.org/704760
Closes: https://github.com/gentoo/gentoo/pull/14248
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Ewoud Kohl van Wijngaarden  kohlvanwijngaarden.nl>
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.13.0.ebuild | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 1b78512c74a..48a49f8969e 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,4 @@
 DIST tuned-2.10.0.tar.gz 160254 BLAKE2B 
0a09b4b870ec153adc62de7811af561ddb3967d459b1d5e8b6f02c5ac036ed170ad3368d18fc1b3fd40649335035cce971a54e1eda8745c77e836a3b2d892a83
 SHA512 
e0674533f17ac27cd3647808cda1f51d9905f563521af8cb3ffd1854098d6e2ca1adac82e542e6bdf86cce7e659303464eac50b8823167360783a75843d02a60
+DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 
1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15
 SHA512 
d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927
 DIST tuned-2.7.0.tar.bz2 107541 BLAKE2B 
b26924a091fd78bbc7e61c8a45b49808d132eb5ebd3fdc00f96be7eaddcffd88183fa59595a29e2c402b2c434bfdb706601d397c2ebca9a5822c6a3416373465
 SHA512 
ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
 DIST tuned-2.7.1.tar.bz2 107471 BLAKE2B 
c9259ee5ce502100edc7c537f6857de3a6af4af0be1773e0c9422c10de16b4a513d514532da26764b0a743f943577d527919f329ff48a012e269fd2a0ac59f10
 SHA512 
4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833

diff --git a/sys-apps/tuned/tuned-2.13.0.ebuild 
b/sys-apps/tuned/tuned-2.13.0.ebuild
new file mode 100644
index 000..fe231367c6c
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.13.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit python-single-r1 xdg-utils
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://github.com/redhat-performance/tuned;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+   ${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]"
+
+RDEPEND="
+   ${DEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   dev-util/systemtap"
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^export DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${D}"
+   python_optimize
+}
+
+pkg_postinst() {
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/files/, sys-apps/tuned/

2020-01-21 Thread Yixun Lan
commit: 0b853f0f984325e04f0b0e235cb45f1eef92b337
Author: Yixun Lan  gentoo  org>
AuthorDate: Wed Jan 22 06:41:24 2020 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jan 22 06:41:24 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b853f0f

sys-apps/tuned: drop old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  2 -
 sys-apps/tuned/files/tuned-2.7.0-upstream.patch| 39 --
 .../tuned/files/tuned-2.7.1-makefile-rpm.patch | 19 ---
 sys-apps/tuned/files/tuned-2.7.1-sysctl.patch  | 11 
 sys-apps/tuned/tuned-2.7.0.ebuild  | 49 --
 sys-apps/tuned/tuned-2.7.1-r2.ebuild   | 51 ---
 sys-apps/tuned/tuned-2.7.1-r3.ebuild   | 59 --
 7 files changed, 230 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 48a49f8969e..f25e76d623c 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,4 +1,2 @@
 DIST tuned-2.10.0.tar.gz 160254 BLAKE2B 
0a09b4b870ec153adc62de7811af561ddb3967d459b1d5e8b6f02c5ac036ed170ad3368d18fc1b3fd40649335035cce971a54e1eda8745c77e836a3b2d892a83
 SHA512 
e0674533f17ac27cd3647808cda1f51d9905f563521af8cb3ffd1854098d6e2ca1adac82e542e6bdf86cce7e659303464eac50b8823167360783a75843d02a60
 DIST tuned-2.13.0.tar.gz 193816 BLAKE2B 
1e51a9da855f54db9ac8ed6e764c091d513c1101771422a62c7c501dc3c8741430eb3503803b408709868d16d4791fbedb9dbc088b36fb693f065a1b6054fa15
 SHA512 
d81b0a80f911fe808ca324319da3e42c3c15196c0c37343d33b45c2b34f33e205e2913d77ffda8598379a91ef72ab73d88d7b83a4684b6a067e3f36d98a85927
-DIST tuned-2.7.0.tar.bz2 107541 BLAKE2B 
b26924a091fd78bbc7e61c8a45b49808d132eb5ebd3fdc00f96be7eaddcffd88183fa59595a29e2c402b2c434bfdb706601d397c2ebca9a5822c6a3416373465
 SHA512 
ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
-DIST tuned-2.7.1.tar.bz2 107471 BLAKE2B 
c9259ee5ce502100edc7c537f6857de3a6af4af0be1773e0c9422c10de16b4a513d514532da26764b0a743f943577d527919f329ff48a012e269fd2a0ac59f10
 SHA512 
4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833

diff --git a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch 
b/sys-apps/tuned/files/tuned-2.7.0-upstream.patch
deleted file mode 100644
index f864433b194..000
--- a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-diff --git a/tuned-gui.py b/tuned-gui.py
-index 0555404..b169dec 100755
 a/tuned-gui.py
-+++ b/tuned-gui.py
-@@ -89,7 +89,7 @@ class Base(object):
-   try:
-   self.controller = \
-   tuned.admin.DBusController(consts.DBUS_BUS,
--  consts.DBUS_OBJECT, 
consts.DBUS_INTERFACE)
-+  consts.DBUS_INTERFACE, 
consts.DBUS_OBJECT)
-   self.controller.is_running()
-   except tuned.admin.exceptions.TunedAdminDBusException, ex:
-   response = self.tuned_daemon_exception_dialog.run()
-diff --git a/tuned.spec b/tuned.spec
-index 3a2dcec..1b46daf 100644
 a/tuned.spec
-+++ b/tuned.spec
-@@ -334,8 +334,6 @@ fi
- %changelog
- * Tue Jul 19 2016 Jaroslav Škarvada  - 2.7.0-1
- - new-release
--  - rebase tuned to latest upstream
--resolves: rhbz#1289048
-   - gui: fixed save profile
- resolves: rhbz#1242491
-   - tuned-adm: added --ignore-missing parameter
-diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py
-index ad501c0..cbdd1be 100644
 a/tuned/admin/admin.py
-+++ b/tuned/admin/admin.py
-@@ -98,7 +98,7 @@ class Admin(object):
- 
-   def _action_list(self):
-   
self._print_profiles(self._profiles_locator.get_known_names_summary())
--  self._action_dbus_active()
-+  self._action_active()
-   return True
- 
-   def _dbus_get_active_profile(self):

diff --git a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch 
b/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch
deleted file mode 100644
index 408ef2b73c3..000
--- a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/Makefile b/Makefile
-index df2a139..6200cae 100644
 a/Makefile
-+++ b/Makefile
-@@ -19,8 +19,12 @@ else
-   GIT_PSUFFIX = .$(GIT_SUFFIX)
-   RPM_VERSION = $(NAME)-$(VERSION)-1$(GIT_PSUFFIX)
- endif
--UNITDIR = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo 
/usr/lib/systemd/system)
--TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo 
/usr/lib/tmpfiles.d)
-+UNITDIR_FALLBACK = /usr/lib/systemd/system
-+UNITDIR_DETECT = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo 
$(UNITDIR_FALLBACK))
-+UNITDIR = $(UNITDIR_DETECT:%{_unitdir}=$(UNITDIR_FALLBACK))

[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2019-08-13 Thread Michał Górny
commit: c6a7a652cdb63b6c5bd712e981b7cc61c5071878
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Aug 13 13:50:06 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 13 14:10:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a7a652

sys-apps/tuned: Add missing PYTHON_DEPS

Signed-off-by: Michał Górny  gentoo.org>

 sys-apps/tuned/tuned-2.10.0.ebuild   | 3 ++-
 sys-apps/tuned/tuned-2.7.1-r3.ebuild | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys-apps/tuned/tuned-2.10.0.ebuild 
b/sys-apps/tuned/tuned-2.10.0.ebuild
index 133b2755a18..0d0931ccad3 100644
--- a/sys-apps/tuned/tuned-2.10.0.ebuild
+++ b/sys-apps/tuned/tuned-2.10.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,6 +18,7 @@ KEYWORDS="~amd64"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 CDEPEND="
+   ${PYTHON_DEPS}
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/pyudev[${PYTHON_USEDEP}]

diff --git a/sys-apps/tuned/tuned-2.7.1-r3.ebuild 
b/sys-apps/tuned/tuned-2.7.1-r3.ebuild
index d8d3a5fb28a..99c6ce5840b 100644
--- a/sys-apps/tuned/tuned-2.7.1-r3.ebuild
+++ b/sys-apps/tuned/tuned-2.7.1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -18,6 +18,7 @@ KEYWORDS="~amd64 ~x86"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 CDEPEND="
+   ${PYTHON_DEPS}
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/pyudev[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2018-11-19 Thread Yixun Lan
commit: ced5658b20ceb2b385067f4dc3c5546eb50929c3
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Nov 20 06:28:21 2018 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Nov 20 06:30:02 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ced5658b

sys-apps/tuned: bump to version 2.10.0

1) only force to make it work with python2,
fail to find 'procfs' in python3
2) drop x86 keyword due to dev-python/python-linux-procfs

Closes: https://bugs.gentoo.org/671052
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/Manifest|  1 +
 sys-apps/tuned/tuned-2.10.0.ebuild | 58 ++
 2 files changed, 59 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 38b23aafddb..1b78512c74a 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
+DIST tuned-2.10.0.tar.gz 160254 BLAKE2B 
0a09b4b870ec153adc62de7811af561ddb3967d459b1d5e8b6f02c5ac036ed170ad3368d18fc1b3fd40649335035cce971a54e1eda8745c77e836a3b2d892a83
 SHA512 
e0674533f17ac27cd3647808cda1f51d9905f563521af8cb3ffd1854098d6e2ca1adac82e542e6bdf86cce7e659303464eac50b8823167360783a75843d02a60
 DIST tuned-2.7.0.tar.bz2 107541 BLAKE2B 
b26924a091fd78bbc7e61c8a45b49808d132eb5ebd3fdc00f96be7eaddcffd88183fa59595a29e2c402b2c434bfdb706601d397c2ebca9a5822c6a3416373465
 SHA512 
ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
 DIST tuned-2.7.1.tar.bz2 107471 BLAKE2B 
c9259ee5ce502100edc7c537f6857de3a6af4af0be1773e0c9422c10de16b4a513d514532da26764b0a743f943577d527919f329ff48a012e269fd2a0ac59f10
 SHA512 
4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833

diff --git a/sys-apps/tuned/tuned-2.10.0.ebuild 
b/sys-apps/tuned/tuned-2.10.0.ebuild
new file mode 100644
index 000..133b2755a18
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.10.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://github.com/redhat-performance/tuned/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+   dev-python/python-linux-procfs[${PYTHON_USEDEP}]"
+
+DEPEND="
+   ${CDEPEND}"
+
+RDEPEND="
+   ${CDEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   sys-process/procps
+   dev-util/systemtap"
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/^PYTHON/s/= python3/= python2/g" \
+   -e "/^DOCDIR/s/$/&\-\$(VERSION)/g" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/lib\/tuned/d" \
+   -e "/\$(DESTDIR)\/var\/log\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2017-07-26 Thread Patrice Clement
commit: 9be727961766f916a8f4a71236ec465095329fd3
Author: Patrice Clement  gentoo  org>
AuthorDate: Wed Jul 26 09:18:52 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Wed Jul 26 09:19:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9be72796

sys-apps/tuned: EAPI 6 bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sys-apps/tuned/tuned-2.7.1-r3.ebuild | 58 
 1 file changed, 58 insertions(+)

diff --git a/sys-apps/tuned/tuned-2.7.1-r3.ebuild 
b/sys-apps/tuned/tuned-2.7.1-r3.ebuild
new file mode 100644
index 000..d8d3a5fb28a
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.7.1-r3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/${PN}/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+CDEPEND="
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]"
+
+DEPEND="
+   ${CDEPEND}"
+
+RDEPEND="
+   ${CDEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   sys-process/procps
+   dev-util/systemtap"
+
+PATCHES=(
+   "${FILESDIR}/${P}-sysctl.patch"
+   "${FILESDIR}/${P}-makefile-rpm.patch"
+)
+
+RESTRICT="test"
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile || die
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2016-11-03 Thread Yixun Lan
commit: e88c7f37314361f24bccf55cc15cb3593a704f3f
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Nov  4 02:57:23 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Nov  4 03:02:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88c7f37

sys-apps/tuned: drop old

Package-Manager: portage-2.3.2

 sys-apps/tuned/tuned-2.7.1-r1.ebuild | 51 
 sys-apps/tuned/tuned-2.7.1.ebuild| 47 -
 2 files changed, 98 deletions(-)

diff --git a/sys-apps/tuned/tuned-2.7.1-r1.ebuild 
b/sys-apps/tuned/tuned-2.7.1-r1.ebuild
deleted file mode 100644
index 6a2d718..
--- a/sys-apps/tuned/tuned-2.7.1-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/dbus
-   sys-apps/ethtool
-   sys-power/powertop
-   sys-process/procps
-   dev-util/systemtap
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   epatch "${FILESDIR}"/${P}-sysctl.patch
-
-   sed -i \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   Makefile ||die
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}"/tuned.initd  tuned
-
-   python_fix_shebang "${ED}"
-}

diff --git a/sys-apps/tuned/tuned-2.7.1.ebuild 
b/sys-apps/tuned/tuned-2.7.1.ebuild
deleted file mode 100644
index b4a69cf..
--- a/sys-apps/tuned/tuned-2.7.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-   dev-python/pygobject:3[${PYTHON_USEDEP}]
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/dbus
-   sys-power/powertop
-   dev-util/systemtap
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   sed -i \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   Makefile ||die
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}"/tuned.initd  tuned
-
-   python_fix_shebang "${ED}"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/files/, sys-apps/tuned/

2016-11-03 Thread Yixun Lan
commit: 8651869c1abe8dc845ca153d3e779ab3892aa27c
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Nov  4 02:54:49 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Nov  4 03:02:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8651869c

sys-apps/tuned: fix wrong systemd path if rpm installed

Gentoo-Bug: 563396

Package-Manager: portage-2.3.2

 sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch | 19 +++
 sys-apps/tuned/files/tuned-2.7.1-makefile.patch | 15 ---
 sys-apps/tuned/tuned-2.7.1-r2.ebuild|  2 +-
 3 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch 
b/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch
new file mode 100644
index ..408ef2b
--- /dev/null
+++ b/sys-apps/tuned/files/tuned-2.7.1-makefile-rpm.patch
@@ -0,0 +1,19 @@
+diff --git a/Makefile b/Makefile
+index df2a139..6200cae 100644
+--- a/Makefile
 b/Makefile
+@@ -19,8 +19,12 @@ else
+   GIT_PSUFFIX = .$(GIT_SUFFIX)
+   RPM_VERSION = $(NAME)-$(VERSION)-1$(GIT_PSUFFIX)
+ endif
+-UNITDIR = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo 
/usr/lib/systemd/system)
+-TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo 
/usr/lib/tmpfiles.d)
++UNITDIR_FALLBACK = /usr/lib/systemd/system
++UNITDIR_DETECT = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo 
$(UNITDIR_FALLBACK))
++UNITDIR = $(UNITDIR_DETECT:%{_unitdir}=$(UNITDIR_FALLBACK))
++TMPFILESDIR_FALLBACK = /usr/lib/tmpfiles.d
++TMPFILESDIR_DETECT = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo 
$(TMPFILESDIR_FALLBACK))
++TMPFILESDIR = $(TMPFILESDIR_DETECT:%{_tmpfilesdir}=$(TMPFILESDIR_FALLBACK))
+ VERSIONED_NAME = $(NAME)-$(VERSION)$(GIT_PSUFFIX)
+ 
+ DATADIR = /usr/share

diff --git a/sys-apps/tuned/files/tuned-2.7.1-makefile.patch 
b/sys-apps/tuned/files/tuned-2.7.1-makefile.patch
deleted file mode 100644
index 54e89a1..
--- a/sys-apps/tuned/files/tuned-2.7.1-makefile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 9e2d8fe..6de30d0 100644
 a/Makefile
-+++ b/Makefile
-@@ -19,8 +19,8 @@ else
-   GIT_PSUFFIX = .$(GIT_SUFFIX)
-   RPM_VERSION = $(NAME)-$(VERSION)-1$(GIT_PSUFFIX)
- endif
--UNITDIR = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo 
/usr/lib/systemd/system)
--TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo 
/usr/lib/tmpfiles.d)
-+UNITDIR = $(shell if which rpm > /dev/null 2>&1; then rpm --eval 
'%{_unitdir}' 2>/dev/null; else echo /usr/lib/systemd/system; fi)
-+TMPFILESDIR = $(shell if which rpm > /dev/null 2>&1; then rpm --eval 
'%{_tmpfilesdir}' 2>/dev/null; else echo /usr/lib/tmpfiles.d; fi)
- VERSIONED_NAME = $(NAME)-$(VERSION)$(GIT_PSUFFIX)
- 
- DATADIR = /usr/share

diff --git a/sys-apps/tuned/tuned-2.7.1-r2.ebuild 
b/sys-apps/tuned/tuned-2.7.1-r2.ebuild
index 6c58913..eed443e 100644
--- a/sys-apps/tuned/tuned-2.7.1-r2.ebuild
+++ b/sys-apps/tuned/tuned-2.7.1-r2.ebuild
@@ -37,7 +37,7 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 src_prepare() {
epatch "${FILESDIR}"/${P}-sysctl.patch
-   epatch "${FILESDIR}"/${P}-makefile.patch
+   epatch "${FILESDIR}"/${P}-makefile-rpm.patch
 
sed -i \
-e "/\$(DESTDIR)\/run\/tuned/d" \



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/, sys-apps/tuned/files/

2016-11-01 Thread Yixun Lan
commit: 880e3375c1d7a09c7f8372065279032cba474e96
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Nov  1 16:13:25 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Nov  1 16:15:25 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880e3375

sys-apps/tuned: fix rpm lookup err

Gentoo-Bug: 563396

Package-Manager: portage-2.3.2

 sys-apps/tuned/files/tuned-2.7.1-makefile.patch | 15 +++
 sys-apps/tuned/tuned-2.7.1-r2.ebuild| 52 +
 2 files changed, 67 insertions(+)

diff --git a/sys-apps/tuned/files/tuned-2.7.1-makefile.patch 
b/sys-apps/tuned/files/tuned-2.7.1-makefile.patch
new file mode 100644
index ..54e89a1
--- /dev/null
+++ b/sys-apps/tuned/files/tuned-2.7.1-makefile.patch
@@ -0,0 +1,15 @@
+diff --git a/Makefile b/Makefile
+index 9e2d8fe..6de30d0 100644
+--- a/Makefile
 b/Makefile
+@@ -19,8 +19,8 @@ else
+   GIT_PSUFFIX = .$(GIT_SUFFIX)
+   RPM_VERSION = $(NAME)-$(VERSION)-1$(GIT_PSUFFIX)
+ endif
+-UNITDIR = $(shell rpm --eval '%{_unitdir}' 2>/dev/null || echo 
/usr/lib/systemd/system)
+-TMPFILESDIR = $(shell rpm --eval '%{_tmpfilesdir}' 2>/dev/null || echo 
/usr/lib/tmpfiles.d)
++UNITDIR = $(shell if which rpm > /dev/null 2>&1; then rpm --eval 
'%{_unitdir}' 2>/dev/null; else echo /usr/lib/systemd/system; fi)
++TMPFILESDIR = $(shell if which rpm > /dev/null 2>&1; then rpm --eval 
'%{_tmpfilesdir}' 2>/dev/null; else echo /usr/lib/tmpfiles.d; fi)
+ VERSIONED_NAME = $(NAME)-$(VERSION)$(GIT_PSUFFIX)
+ 
+ DATADIR = /usr/share

diff --git a/sys-apps/tuned/tuned-2.7.1-r2.ebuild 
b/sys-apps/tuned/tuned-2.7.1-r2.ebuild
new file mode 100644
index ..6c58913
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.7.1-r2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   sys-process/procps
+   dev-util/systemtap
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-sysctl.patch
+   epatch "${FILESDIR}"/${P}-makefile.patch
+
+   sed -i \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile ||die
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}"/tuned.initd  tuned
+
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/files/, sys-apps/tuned/

2016-09-08 Thread Yixun Lan
commit: ebeb57ae19319675794d976c9935b9989b248442
Author: Yixun Lan  gentoo  org>
AuthorDate: Thu Sep  8 08:58:25 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Thu Sep  8 08:59:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebeb57ae

sys-apps/tuned: remove 'sysctl' hardcoded path

Gentoo-Bug: 590914

Package-Manager: portage-2.3.0

 sys-apps/tuned/files/tuned-2.7.1-sysctl.patch | 11 ++
 sys-apps/tuned/tuned-2.7.1-r1.ebuild  | 51 +++
 2 files changed, 62 insertions(+)

diff --git a/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch 
b/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch
new file mode 100644
index ..8e2a70f
--- /dev/null
+++ b/sys-apps/tuned/files/tuned-2.7.1-sysctl.patch
@@ -0,0 +1,11 @@
+--- a/tuned/plugins/plugin_sysctl.py
 b/tuned/plugins/plugin_sysctl.py
+@@ -67,7 +67,7 @@
+   self._write_sysctl(option, value)
+ 
+   def _execute_sysctl(self, arguments):
+-  execute = ["/sbin/sysctl"] + arguments
++  execute = ["sysctl"] + arguments
+   log.debug("executing %s" % execute)
+   return self._cmd.execute(execute)
+ 

diff --git a/sys-apps/tuned/tuned-2.7.1-r1.ebuild 
b/sys-apps/tuned/tuned-2.7.1-r1.ebuild
new file mode 100644
index ..6a2d718
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.7.1-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/dbus
+   sys-apps/ethtool
+   sys-power/powertop
+   sys-process/procps
+   dev-util/systemtap
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-sysctl.patch
+
+   sed -i \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile ||die
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}"/tuned.initd  tuned
+
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/, sys-apps/tuned/files/

2016-08-15 Thread Yixun Lan
commit: ea9c4bec20b6bfe89b481d94c77a8823b7a7cd1a
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Aug 15 07:19:40 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Aug 15 07:51:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea9c4bec

sys-apps/tuned: drop old

Package-Manager: portage-2.3.0

 sys-apps/tuned/Manifest  |  1 -
 sys-apps/tuned/files/tuned-2.6.0-pygobject.patch | 46 
 sys-apps/tuned/tuned-2.6.0-r1.ebuild | 47 -
 sys-apps/tuned/tuned-2.6.0-r2.ebuild | 54 
 4 files changed, 148 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 4a62b83..8441980 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,2 @@
-DIST tuned-2.6.0.tar.bz2 98362 SHA256 
945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 
da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d
 WHIRLPOOL 
23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045
 DIST tuned-2.7.0.tar.bz2 107541 SHA256 
8f50718264690732504486a65931d7ef558d4d43da9a86bc6f5c6855e3a7e448 SHA512 
ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
 WHIRLPOOL 
272e77e429097f9c14beb31f5d911762837008a0e8affeb9abbcaf03172edd8296064b1926ff56f0c1272a9a51d88cf9044ee4b45676844cb249d5be1865983c
 DIST tuned-2.7.1.tar.bz2 107471 SHA256 
0eda9f3744ec214b1c20d0f79528a6438dafd5c79ff459b411414491802d SHA512 
4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833
 WHIRLPOOL 
847d37179190565299350796b7f548b342db309d6cadd7856b575c614cee38dcbcf856079fb59a565b536fadfb49c7ff2ab7068b38dab4a8ce12868baa16d968

diff --git a/sys-apps/tuned/files/tuned-2.6.0-pygobject.patch 
b/sys-apps/tuned/files/tuned-2.6.0-pygobject.patch
deleted file mode 100644
index 832a413..000
--- a/sys-apps/tuned/files/tuned-2.6.0-pygobject.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 8b60a06dbc90e96c5b08a43e062286c979f7b333 Mon Sep 17 00:00:00 2001
-From: Yixun Lan 
-Date: Fri, 15 Jul 2016 14:17:47 +0800
-Subject: [PATCH] pygobject: fix import Gtk without specify version error
-
-Signed-off-by: Yixun Lan 

- tuned-gui.py | 22 +++---
- 1 file changed, 19 insertions(+), 3 deletions(-)
-
-diff --git a/tuned-gui.py b/tuned-gui.py
-index b525e8d..0555404 100755
 a/tuned-gui.py
-+++ b/tuned-gui.py
-@@ -24,9 +24,25 @@ Created on Oct 15, 2013
- 
- @author: mstana
- '''
--
--import gi.repository.GObject as GObject
--import gi.repository.Gtk as Gtk
-+try:
-+import gi
-+except ImportError:
-+raise ImportError("Gtk3 backend requires pygobject to be installed.")
-+
-+try:
-+gi.require_version("Gtk", "3.0")
-+except AttributeError:
-+raise ImportError(
-+"pygobject version too old -- it must have require_version")
-+except ValueError:
-+raise ImportError(
-+"Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
-+"to be installed.")
-+
-+try:
-+from gi.repository import Gtk, GObject
-+except ImportError:
-+raise ImportError("Gtk3 backend requires pygobject to be installed.")
- 
- import sys
- import os
--- 
-2.9.0
-

diff --git a/sys-apps/tuned/tuned-2.6.0-r1.ebuild 
b/sys-apps/tuned/tuned-2.6.0-r1.ebuild
deleted file mode 100644
index 94208cb..000
--- a/sys-apps/tuned/tuned-2.6.0-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-   dev-python/dbus-python[${PYTHON_USEDEP}]
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   sys-apps/dbus
-   sys-power/powertop
-   dev-util/systemtap
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   sed -i \
-   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   Makefile ||die
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}"/tuned.initd  tuned
-
-   python_fix_shebang "${ED}"
-}

diff --git a/sys-apps/tuned/tuned-2.6.0-r2.ebuild 

[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2016-08-15 Thread Yixun Lan
commit: 5ce2fda1f9f6df5613bb1c785e33e42feedb825e
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Aug 15 07:17:53 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Aug 15 07:51:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce2fda1

sys-apps/tuned: version bump 2.7.1

Package-Manager: portage-2.3.0

 sys-apps/tuned/Manifest   |  1 +
 sys-apps/tuned/tuned-2.7.1.ebuild | 47 +++
 2 files changed, 48 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index a59333d..4a62b83 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1,3 @@
 DIST tuned-2.6.0.tar.bz2 98362 SHA256 
945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 
da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d
 WHIRLPOOL 
23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045
 DIST tuned-2.7.0.tar.bz2 107541 SHA256 
8f50718264690732504486a65931d7ef558d4d43da9a86bc6f5c6855e3a7e448 SHA512 
ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
 WHIRLPOOL 
272e77e429097f9c14beb31f5d911762837008a0e8affeb9abbcaf03172edd8296064b1926ff56f0c1272a9a51d88cf9044ee4b45676844cb249d5be1865983c
+DIST tuned-2.7.1.tar.bz2 107471 SHA256 
0eda9f3744ec214b1c20d0f79528a6438dafd5c79ff459b411414491802d SHA512 
4a4785e3d20ed7f1c2969066676f5fa3d8286b500de1c63169d745e701e1410092d29429d25c13c3515d37ef73dd297945d69db176d693d4152bfbe9ba626833
 WHIRLPOOL 
847d37179190565299350796b7f548b342db309d6cadd7856b575c614cee38dcbcf856079fb59a565b536fadfb49c7ff2ab7068b38dab4a8ce12868baa16d968

diff --git a/sys-apps/tuned/tuned-2.7.1.ebuild 
b/sys-apps/tuned/tuned-2.7.1.ebuild
new file mode 100644
index 000..b4a69cf
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.7.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/dbus
+   sys-power/powertop
+   dev-util/systemtap
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   sed -i \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile ||die
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}"/tuned.initd  tuned
+
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/, sys-apps/tuned/files/

2016-07-26 Thread Yixun Lan
commit: cdaadf65e31a8b72908898fd9ee1da7108fdcc42
Author: Yixun Lan  gentoo  org>
AuthorDate: Tue Jul 26 06:23:00 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Jul 26 06:23:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdaadf65

sys-apps/tuned: version bump 2.7.0

Package-Manager: portage-2.3.0

 sys-apps/tuned/Manifest |  1 +
 sys-apps/tuned/files/tuned-2.7.0-upstream.patch | 39 +++
 sys-apps/tuned/tuned-2.7.0.ebuild   | 50 +
 3 files changed, 90 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 240ac2f..a59333d 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1 +1,2 @@
 DIST tuned-2.6.0.tar.bz2 98362 SHA256 
945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 
da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d
 WHIRLPOOL 
23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045
+DIST tuned-2.7.0.tar.bz2 107541 SHA256 
8f50718264690732504486a65931d7ef558d4d43da9a86bc6f5c6855e3a7e448 SHA512 
ce09dd854e89762fa376f7f63a59feb384940b5dbc5ad74370b33bbda3f060f09e79d2988de3535b072ad749ab7be43ccaaa46a343a9df50eec6c40d7ab85d55
 WHIRLPOOL 
272e77e429097f9c14beb31f5d911762837008a0e8affeb9abbcaf03172edd8296064b1926ff56f0c1272a9a51d88cf9044ee4b45676844cb249d5be1865983c

diff --git a/sys-apps/tuned/files/tuned-2.7.0-upstream.patch 
b/sys-apps/tuned/files/tuned-2.7.0-upstream.patch
new file mode 100644
index 000..f864433
--- /dev/null
+++ b/sys-apps/tuned/files/tuned-2.7.0-upstream.patch
@@ -0,0 +1,39 @@
+diff --git a/tuned-gui.py b/tuned-gui.py
+index 0555404..b169dec 100755
+--- a/tuned-gui.py
 b/tuned-gui.py
+@@ -89,7 +89,7 @@ class Base(object):
+   try:
+   self.controller = \
+   tuned.admin.DBusController(consts.DBUS_BUS,
+-  consts.DBUS_OBJECT, 
consts.DBUS_INTERFACE)
++  consts.DBUS_INTERFACE, 
consts.DBUS_OBJECT)
+   self.controller.is_running()
+   except tuned.admin.exceptions.TunedAdminDBusException, ex:
+   response = self.tuned_daemon_exception_dialog.run()
+diff --git a/tuned.spec b/tuned.spec
+index 3a2dcec..1b46daf 100644
+--- a/tuned.spec
 b/tuned.spec
+@@ -334,8 +334,6 @@ fi
+ %changelog
+ * Tue Jul 19 2016 Jaroslav Škarvada  - 2.7.0-1
+ - new-release
+-  - rebase tuned to latest upstream
+-resolves: rhbz#1289048
+   - gui: fixed save profile
+ resolves: rhbz#1242491
+   - tuned-adm: added --ignore-missing parameter
+diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py
+index ad501c0..cbdd1be 100644
+--- a/tuned/admin/admin.py
 b/tuned/admin/admin.py
+@@ -98,7 +98,7 @@ class Admin(object):
+ 
+   def _action_list(self):
+   
self._print_profiles(self._profiles_locator.get_known_names_summary())
+-  self._action_dbus_active()
++  self._action_active()
+   return True
+ 
+   def _dbus_get_active_profile(self):

diff --git a/sys-apps/tuned/tuned-2.7.0.ebuild 
b/sys-apps/tuned/tuned-2.7.0.ebuild
new file mode 100644
index 000..33e0073
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.7.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/dbus
+   sys-power/powertop
+   dev-util/systemtap
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-upstream.patch
+
+   sed -i \
+   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile ||die
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}"/tuned.initd  tuned
+
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/, sys-apps/tuned/files/

2016-07-15 Thread Yixun Lan
commit: 519ea089efa6a481624a643cea7d143f702a8681
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Jul 15 06:36:17 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Jul 15 06:40:22 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=519ea089

sys-apps/tuned: fix missing dev-python/pygobject dep

Gentoo-Bug: 587636

Package-Manager: portage-2.3.0_rc1
Signed-off-by: Yixun Lan  gentoo.org>

 sys-apps/tuned/files/tuned-2.6.0-pygobject.patch | 46 
 sys-apps/tuned/tuned-2.6.0-r2.ebuild | 54 
 2 files changed, 100 insertions(+)

diff --git a/sys-apps/tuned/files/tuned-2.6.0-pygobject.patch 
b/sys-apps/tuned/files/tuned-2.6.0-pygobject.patch
new file mode 100644
index 000..832a413
--- /dev/null
+++ b/sys-apps/tuned/files/tuned-2.6.0-pygobject.patch
@@ -0,0 +1,46 @@
+From 8b60a06dbc90e96c5b08a43e062286c979f7b333 Mon Sep 17 00:00:00 2001
+From: Yixun Lan 
+Date: Fri, 15 Jul 2016 14:17:47 +0800
+Subject: [PATCH] pygobject: fix import Gtk without specify version error
+
+Signed-off-by: Yixun Lan 
+---
+ tuned-gui.py | 22 +++---
+ 1 file changed, 19 insertions(+), 3 deletions(-)
+
+diff --git a/tuned-gui.py b/tuned-gui.py
+index b525e8d..0555404 100755
+--- a/tuned-gui.py
 b/tuned-gui.py
+@@ -24,9 +24,25 @@ Created on Oct 15, 2013
+ 
+ @author: mstana
+ '''
+-
+-import gi.repository.GObject as GObject
+-import gi.repository.Gtk as Gtk
++try:
++import gi
++except ImportError:
++raise ImportError("Gtk3 backend requires pygobject to be installed.")
++
++try:
++gi.require_version("Gtk", "3.0")
++except AttributeError:
++raise ImportError(
++"pygobject version too old -- it must have require_version")
++except ValueError:
++raise ImportError(
++"Gtk3 backend requires the GObject introspection bindings for Gtk 3 "
++"to be installed.")
++
++try:
++from gi.repository import Gtk, GObject
++except ImportError:
++raise ImportError("Gtk3 backend requires pygobject to be installed.")
+ 
+ import sys
+ import os
+-- 
+2.9.0
+

diff --git a/sys-apps/tuned/tuned-2.6.0-r2.ebuild 
b/sys-apps/tuned/tuned-2.6.0-r2.ebuild
new file mode 100644
index 000..728b7de
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.6.0-r2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   dev-python/pygobject:3[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   sys-apps/dbus
+   sys-power/powertop
+   dev-util/systemtap
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   epatch "${FILESDIR}"/${P}-pygobject.patch
+
+   sed -i \
+   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile ||die
+
+   sed -i \
+   -i "s:/usr/bin/lsblk:/bin/lsblk:g" \
+   tuned/plugins/plugin_mounts.py || die
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}"/tuned.initd  tuned
+
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2016-05-29 Thread Yixun Lan
commit: 9e3044ebcd3bd9dbdaab48eae1577b29c3e1fedd
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun May 29 12:19:27 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun May 29 12:22:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e3044eb

sys-apps/tuned: add dbus as dependecies

Gentoo-Bug: 579504

Package-Manager: portage-2.2.28

 sys-apps/tuned/{tuned-2.6.0.ebuild => tuned-2.6.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-apps/tuned/tuned-2.6.0.ebuild 
b/sys-apps/tuned/tuned-2.6.0-r1.ebuild
similarity index 90%
rename from sys-apps/tuned/tuned-2.6.0.ebuild
rename to sys-apps/tuned/tuned-2.6.0-r1.ebuild
index 4060a0a..94208cb 100644
--- a/sys-apps/tuned/tuned-2.6.0.ebuild
+++ b/sys-apps/tuned/tuned-2.6.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -21,9 +21,11 @@ COMMON_DEPEND="${PYTHON_DEPS}
dev-python/configobj[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
dev-python/pyudev[${PYTHON_USEDEP}]
+   dev-python/dbus-python[${PYTHON_USEDEP}]
 "
 DEPEND="${COMMON_DEPEND}"
 RDEPEND="${COMMON_DEPEND}
+   sys-apps/dbus
sys-power/powertop
dev-util/systemtap
 "



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2016-05-29 Thread Yixun Lan
commit: 6deb2d296e73555f18b2fce9edcdee8b2534e09a
Author: Yixun Lan  gentoo  org>
AuthorDate: Sun May 29 12:20:06 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sun May 29 12:22:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6deb2d29

sys-apps/tuned: drop old

Package-Manager: portage-2.2.28

 sys-apps/tuned/Manifest   |  1 -
 sys-apps/tuned/tuned-2.5.1.ebuild | 45 ---
 2 files changed, 46 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 69e9566..240ac2f 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,2 +1 @@
-DIST tuned-2.5.1.tar.bz2 96319 SHA256 
7eccf1d0807e8e0774e7969f9dbe5173cd85b2449f1f259a3b31ecb022cfbe88 SHA512 
5d818f15a439f85fa26cefcc3dcc7968d23f3f29f26bbf99480ccbde90d87d6f5f81709820232b127d435c30d59a00c9d50f630c7c2b83f249f485c3f50305a5
 WHIRLPOOL 
55ec1e65925a1e06fee2dffb2ff004503a2e2d53933c530bbac081e30180684760fac16da79039a77751c36983c641b920473d9ef2ee8235dd4415f6d986f468
 DIST tuned-2.6.0.tar.bz2 98362 SHA256 
945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 
da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d
 WHIRLPOOL 
23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045

diff --git a/sys-apps/tuned/tuned-2.5.1.ebuild 
b/sys-apps/tuned/tuned-2.5.1.ebuild
deleted file mode 100644
index 4060a0a..000
--- a/sys-apps/tuned/tuned-2.5.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   sys-power/powertop
-   dev-util/systemtap
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   sed -i \
-   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   Makefile ||die
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}"/tuned.initd  tuned
-
-   python_fix_shebang "${ED}"
-}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2016-01-31 Thread Yixun Lan
commit: c6befe3696531c32a92c5c2aa4ebaf7042a3782a
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Feb  1 03:05:12 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb  1 03:05:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6befe36

sys-apps/tuned: version bump 2.6.0

Package-Manager: portage-2.2.26

 sys-apps/tuned/Manifest   |  1 +
 sys-apps/tuned/tuned-2.6.0.ebuild | 45 +++
 2 files changed, 46 insertions(+)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index c72573f..5ed85a1 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,3 +1,4 @@
 DIST tuned-2.4.1.tar.bz2 81052 SHA256 
fd2514ec269387c7c555b5d12534ce258ecdb021cd66f64c5678eea7dcbda54f SHA512 
12106f441cda10d1ddb5d4fc4e64be7100ec2b1d48117a9c83bbc11e093a59c1a5e8effa22ea563481b66748db38ebb8a493dbb1e4707b16f6f3cae2de966bf1
 WHIRLPOOL 
21011bbdfb170c5f85313a5cfd7c26bf7e57a3693a0a56c0a096b788b2fee6d390e7391b1083ec5fd610d34caf1985ffa310b6befc7950080cf99931db99430d
 DIST tuned-2.5.0.tar.bz2 95651 SHA256 
2d7fe44626d236b158b0259938d757846d2455f5a91ab6412a134e6ac2db7feb SHA512 
59d3014cc2c04f2cffbde02f46fdbce223bff827fba1c07e5dd5e821fc9d7ea2867c24c5d5fc42ef294fb31d24cad3c8715fec7d3113b25ce316b457fd40bc22
 WHIRLPOOL 
4e48dfc4fd89de061a099ccfef70103d4920f3eb06ccb09e767e525bafcae700386b47b776009488f0e8c0bdfdf0ddac2bf72cf8a1b9f3935879fb1691d08c0a
 DIST tuned-2.5.1.tar.bz2 96319 SHA256 
7eccf1d0807e8e0774e7969f9dbe5173cd85b2449f1f259a3b31ecb022cfbe88 SHA512 
5d818f15a439f85fa26cefcc3dcc7968d23f3f29f26bbf99480ccbde90d87d6f5f81709820232b127d435c30d59a00c9d50f630c7c2b83f249f485c3f50305a5
 WHIRLPOOL 
55ec1e65925a1e06fee2dffb2ff004503a2e2d53933c530bbac081e30180684760fac16da79039a77751c36983c641b920473d9ef2ee8235dd4415f6d986f468
+DIST tuned-2.6.0.tar.bz2 98362 SHA256 
945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 
da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d
 WHIRLPOOL 
23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045

diff --git a/sys-apps/tuned/tuned-2.6.0.ebuild 
b/sys-apps/tuned/tuned-2.6.0.ebuild
new file mode 100644
index 000..4060a0a
--- /dev/null
+++ b/sys-apps/tuned/tuned-2.6.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 systemd
+
+DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
+HOMEPAGE="https://fedorahosted.org/tuned/;
+SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+COMMON_DEPEND="${PYTHON_DEPS}
+   dev-python/configobj[${PYTHON_USEDEP}]
+   dev-python/decorator[${PYTHON_USEDEP}]
+   dev-python/pyudev[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+   sys-power/powertop
+   dev-util/systemtap
+"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+   sed -i \
+   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
+   -e "/\$(DESTDIR)\/run\/tuned/d" \
+   Makefile ||die
+}
+
+src_install() {
+   default
+   newinitd "${FILESDIR}"/tuned.initd  tuned
+
+   python_fix_shebang "${ED}"
+}



[gentoo-commits] repo/gentoo:master commit in: sys-apps/tuned/

2016-01-31 Thread Yixun Lan
commit: 75db546964b2fa16a3563497be35005094bdd34c
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Feb  1 03:05:47 2016 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon Feb  1 03:05:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75db5469

sys-apps/tuned: cleanup old versions

Package-Manager: portage-2.2.26

 sys-apps/tuned/Manifest   |  2 --
 sys-apps/tuned/tuned-2.4.1.ebuild | 45 ---
 sys-apps/tuned/tuned-2.5.0.ebuild | 45 ---
 3 files changed, 92 deletions(-)

diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest
index 5ed85a1..69e9566 100644
--- a/sys-apps/tuned/Manifest
+++ b/sys-apps/tuned/Manifest
@@ -1,4 +1,2 @@
-DIST tuned-2.4.1.tar.bz2 81052 SHA256 
fd2514ec269387c7c555b5d12534ce258ecdb021cd66f64c5678eea7dcbda54f SHA512 
12106f441cda10d1ddb5d4fc4e64be7100ec2b1d48117a9c83bbc11e093a59c1a5e8effa22ea563481b66748db38ebb8a493dbb1e4707b16f6f3cae2de966bf1
 WHIRLPOOL 
21011bbdfb170c5f85313a5cfd7c26bf7e57a3693a0a56c0a096b788b2fee6d390e7391b1083ec5fd610d34caf1985ffa310b6befc7950080cf99931db99430d
-DIST tuned-2.5.0.tar.bz2 95651 SHA256 
2d7fe44626d236b158b0259938d757846d2455f5a91ab6412a134e6ac2db7feb SHA512 
59d3014cc2c04f2cffbde02f46fdbce223bff827fba1c07e5dd5e821fc9d7ea2867c24c5d5fc42ef294fb31d24cad3c8715fec7d3113b25ce316b457fd40bc22
 WHIRLPOOL 
4e48dfc4fd89de061a099ccfef70103d4920f3eb06ccb09e767e525bafcae700386b47b776009488f0e8c0bdfdf0ddac2bf72cf8a1b9f3935879fb1691d08c0a
 DIST tuned-2.5.1.tar.bz2 96319 SHA256 
7eccf1d0807e8e0774e7969f9dbe5173cd85b2449f1f259a3b31ecb022cfbe88 SHA512 
5d818f15a439f85fa26cefcc3dcc7968d23f3f29f26bbf99480ccbde90d87d6f5f81709820232b127d435c30d59a00c9d50f630c7c2b83f249f485c3f50305a5
 WHIRLPOOL 
55ec1e65925a1e06fee2dffb2ff004503a2e2d53933c530bbac081e30180684760fac16da79039a77751c36983c641b920473d9ef2ee8235dd4415f6d986f468
 DIST tuned-2.6.0.tar.bz2 98362 SHA256 
945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876 SHA512 
da818cb6c04e10d97b7eb52fb37500128ca5b37c79428d1b84578d4147507a210052c395f523f91907a112e282a47f9a5d4745fe2960471f42d5d09f87a3c57d
 WHIRLPOOL 
23457c5e161675f90326060d485626f2d176e6c42b34f21fceecf7299c21607b8537ff741742015c0045c8150ce379a7274b11da547581e18bea97671c1b4045

diff --git a/sys-apps/tuned/tuned-2.4.1.ebuild 
b/sys-apps/tuned/tuned-2.4.1.ebuild
deleted file mode 100644
index 38ae2c6..000
--- a/sys-apps/tuned/tuned-2.4.1.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   sys-power/powertop
-   dev-util/systemtap
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   sed -i \
-   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   Makefile ||die
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}"/tuned.initd  tuned
-
-   python_fix_shebang "${ED}"
-}

diff --git a/sys-apps/tuned/tuned-2.5.0.ebuild 
b/sys-apps/tuned/tuned-2.5.0.ebuild
deleted file mode 100644
index 4060a0a..000
--- a/sys-apps/tuned/tuned-2.5.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 systemd
-
-DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices"
-HOMEPAGE="https://fedorahosted.org/tuned/;
-SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-COMMON_DEPEND="${PYTHON_DEPS}
-   dev-python/configobj[${PYTHON_USEDEP}]
-   dev-python/decorator[${PYTHON_USEDEP}]
-   dev-python/pyudev[${PYTHON_USEDEP}]
-"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}
-   sys-power/powertop
-   dev-util/systemtap
-"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-src_prepare() {
-   sed -i \
-   -e "/^UNITDIR = /s:\$(shell rpm --eval 
'%{_unitdir}'):$(systemd_get_unitdir):" \
-   -e "/\$(DESTDIR)\/run\/tuned/d" \
-   Makefile ||die
-}
-
-src_install() {
-   default
-   newinitd "${FILESDIR}"/tuned.initd  tuned
-
-   python_fix_shebang "${ED}"
-}