sys-power/autosuspend: drop 5.0.0

Closes: https://bugs.gentoo.org/952748
Closes: https://bugs.gentoo.org/930178
Closes: https://bugs.gentoo.org/915684
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/703
Merges: https://codeberg.org/gentoo/gentoo/pulls/703
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-04-23 10:17:54 +03:00
committed by Sam James
parent 87f6f46b59
commit f8988d26ec
2 changed files with 0 additions and 71 deletions

View File

@@ -1,3 +1,2 @@
DIST autosuspend-10.1.0.gh.tar.gz 166538 BLAKE2B fab721de3238c4cd27d5ff75d15917bf1ceb2f0f7473c418fd5519f2ed698c95f16b0347d24750094f12dcfd990e9e4520f949871679919265ab956ee45e048a SHA512 77a10f50beb2a227267c3c71acf2881c1d2d1d5d028858b7506e97a509739aa56db7a68c132231278cabcac0f07df599ba6331d49496ee959cd1166fa5ea525a
DIST autosuspend-5.0.0.gh.tar.gz 179353 BLAKE2B 747f06ea84304acfeca78aa413745c56a63506be039696968e94a43199ee9e4cfa080b187b284a60e16e03bd22674973eaa7ed4728727016a05de12aca94fc9e SHA512 4d1d14e2cc8c7dc7ed1bfa41556ea8afe51785cef3965863fe307469a13f865b76df9a53c531aefef18308a2d57867631d86d59ea189cc56a108f1bdeaf4d369
DIST autosuspend-7.2.0.gh.tar.gz 172910 BLAKE2B 81d411196ed0953cd9aff13c52c2ad3111a861fdbc7563cd534223c7b4c04c194fce44557eebf0cef8d0a6c94f1518eb9dfcf4e43220d8aae7b0beac1783c628 SHA512 7c8dd7afec4eca6b70f7800e3a94a89d461d836e5e725376fc2ded2b4bd2ec2335bf8ceeffe83f9db513703358a5f03e258f69e9a6a92874071996f84cf7857f

View File

@@ -1,70 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_12 )
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
}