* [gentoo-commits] repo/gentoo:master commit in: sys-power/autosuspend/
@ 2023-08-15 15:53 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2023-08-15 15:53 UTC (permalink / raw
To: gentoo-commits
commit: bf85f4a8b9f78564f4cdc31b15b06c53137952fe
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 15 15:26:25 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Aug 15 15:53:12 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf85f4a8
sys-power/autosuspend: new package, add 5.0.0
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/32259
sys-power/autosuspend/Manifest | 1 +
sys-power/autosuspend/autosuspend-5.0.0.ebuild | 70 ++++++++++++++++++++++++++
sys-power/autosuspend/metadata.xml | 14 ++++++
3 files changed, 85 insertions(+)
diff --git a/sys-power/autosuspend/Manifest b/sys-power/autosuspend/Manifest
new file mode 100644
index 000000000000..4b00a2015b39
--- /dev/null
+++ b/sys-power/autosuspend/Manifest
@@ -0,0 +1 @@
+DIST autosuspend-5.0.0.gh.tar.gz 179353 BLAKE2B 747f06ea84304acfeca78aa413745c56a63506be039696968e94a43199ee9e4cfa080b187b284a60e16e03bd22674973eaa7ed4728727016a05de12aca94fc9e SHA512 4d1d14e2cc8c7dc7ed1bfa41556ea8afe51785cef3965863fe307469a13f865b76df9a53c531aefef18308a2d57867631d86d59ea189cc56a108f1bdeaf4d369
diff --git a/sys-power/autosuspend/autosuspend-5.0.0.ebuild b/sys-power/autosuspend/autosuspend-5.0.0.ebuild
new file mode 100644
index 000000000000..eb6e1694c159
--- /dev/null
+++ b/sys-power/autosuspend/autosuspend-5.0.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_11 )
+
+inherit distutils-r1
+
+DESCRIPTION="A daemon to automatically suspend and wake up a system"
+HOMEPAGE="
+ https://github.com/languitar/autosuspend
+ https://autosuspend.readthedocs.io
+"
+SRC_URI="
+ https://github.com/languitar/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="dbus mpd test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-python/portalocker[${PYTHON_USEDEP}]
+ dev-python/psutil[${PYTHON_USEDEP}]
+ dbus? ( dev-python/dbus-python[${PYTHON_USEDEP}] )
+ mpd? ( dev-python/python-mpd2[${PYTHON_USEDEP}] )
+"
+
+BDEPEND="
+ test? (
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ dev-python/icalendar[${PYTHON_USEDEP}]
+ dev-python/jsonpath-ng[${PYTHON_USEDEP}]
+ dev-python/pygobject[${PYTHON_USEDEP}]
+ dev-python/pytest-datadir[${PYTHON_USEDEP}]
+ dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/python-dbusmock[${PYTHON_USEDEP}]
+ dev-python/python-mpd2[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/tzlocal[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_DESELECT=(
+ tests/test_checks_util.py::TestNetworkMixin::test_file_url
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc/source \
+ dev-python/furo \
+ dev-python/recommonmark \
+ dev-python/sphinx-autodoc-typehints \
+ dev-python/sphinx-issues \
+ dev-python/sphinxcontrib-plantuml
+
+python_test() {
+ # Disable code coverage in tests by setting addopts to the empty value.
+ epytest -o addopts=
+}
+
+src_install() {
+ distutils-r1_src_install
+ mv "${ED}/usr/etc" "${ED}/etc" || die
+}
diff --git a/sys-power/autosuspend/metadata.xml b/sys-power/autosuspend/metadata.xml
new file mode 100644
index 000000000000..619a131e65bd
--- /dev/null
+++ b/sys-power/autosuspend/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <name>Florian Schmaus</name>
+ <email>flow@gentoo.org</email>
+ </maintainer>
+ <use>
+ <flag name="mpd">Enable support for the Music Player Daemon</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">languitar/autosuspend</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/autosuspend/
@ 2023-09-21 18:57 Arthur Zamarin
0 siblings, 0 replies; 3+ messages in thread
From: Arthur Zamarin @ 2023-09-21 18:57 UTC (permalink / raw
To: gentoo-commits
commit: 6afb7c22995a272b42a6e00b80dbedb3679ed7ee
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 18:56:39 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 18:56:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6afb7c22
sys-power/autosuspend: Stabilize 5.0.0 amd64, #914490
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sys-power/autosuspend/autosuspend-5.0.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys-power/autosuspend/autosuspend-5.0.0.ebuild b/sys-power/autosuspend/autosuspend-5.0.0.ebuild
index eb6e1694c159..09d5184d4a3b 100644
--- a/sys-power/autosuspend/autosuspend-5.0.0.ebuild
+++ b/sys-power/autosuspend/autosuspend-5.0.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
IUSE="dbus mpd test"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-power/autosuspend/
@ 2024-04-16 14:46 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2024-04-16 14:46 UTC (permalink / raw
To: gentoo-commits
commit: f1520f1524bf321879ac604284ad851681b811a4
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 16 14:45:03 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Apr 16 14:45:20 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1520f15
sys-power/autosuspend: enable py3.12
Closes: https://bugs.gentoo.org/929864
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
sys-power/autosuspend/autosuspend-5.0.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-power/autosuspend/autosuspend-5.0.0.ebuild b/sys-power/autosuspend/autosuspend-5.0.0.ebuild
index 09d5184d4a3b..75f289cc9d36 100644
--- a/sys-power/autosuspend/autosuspend-5.0.0.ebuild
+++ b/sys-power/autosuspend/autosuspend-5.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_11 )
+PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-16 14:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-21 18:57 [gentoo-commits] repo/gentoo:master commit in: sys-power/autosuspend/ Arthur Zamarin
-- strict thread matches above, loose matches on Subject: below --
2024-04-16 14:46 Florian Schmaus
2023-08-15 15:53 Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox