autosuspend: initial addition
This commit is contained in:
parent
73a8b37930
commit
b11d8b1fdf
4 changed files with 59 additions and 0 deletions
1
sys-apps/autosuspend/Manifest
Normal file
1
sys-apps/autosuspend/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST autosuspend-0.3.tar.gz 15911 SHA256 b2001c7c44d651a899f215f02533353169d4f7a4ed47b690ab8043023573d524 SHA512 17e6e79d7336734fdf600e8af7f4a05822e323f3a8d1c4e0c497a3bf012baaab03ec481103b1e419f8bb4656f31ac96205a11b740db009c37281aba0a884886b WHIRLPOOL cf7a197103466999913ebc2565a7a8f8f7fa7dff6abb960292d3a95e195834399ed3c94c70272428b5261514826592934eddb80005a7cd5de87fa259f757e889
|
23
sys-apps/autosuspend/autosuspend-0.3.ebuild
Normal file
23
sys-apps/autosuspend/autosuspend-0.3.ebuild
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=(python3_4 python3_5)
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Autosuspend server"
|
||||
HOMEPAGE="https://github.com/languitar/autosuspend/"
|
||||
SRC_URI="https://github.com/languitar/${PN}/archive/release-${PV}.tar.gz -> "${P}.tar.gz""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="mpd"
|
||||
|
||||
S="${WORKDIR}/${PN}-release-${PV}/"
|
||||
PATCHES=( "${FILESDIR}"/0001-fixes-installdir-for-config-files.patch )
|
||||
DEPEND="dev-python/psutil
|
||||
mpd? ( dev-python/python-mpd )"
|
||||
RDEPEND="${DEPEND}"
|
|
@ -0,0 +1,25 @@
|
|||
From 5062d61868e8bae1caaeb6e63aa55b9ac9d21efc Mon Sep 17 00:00:00 2001
|
||||
From: Tobias Klaus <tk@meskalero.de>
|
||||
Date: Sun, 8 Jan 2017 14:25:07 +0100
|
||||
Subject: [PATCH] fixes installdir for config files
|
||||
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 946f334..9bd842f 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -22,7 +22,7 @@ setup(
|
||||
'autosuspend.py'
|
||||
],
|
||||
data_files=[
|
||||
- ('etc', ['autosuspend.conf', 'autosuspend-logging.conf']),
|
||||
+ ('/etc', ['autosuspend.conf', 'autosuspend-logging.conf']),
|
||||
('lib/systemd/system', ['autosuspend.service'])
|
||||
]
|
||||
)
|
||||
--
|
||||
2.11.0
|
||||
|
10
sys-apps/autosuspend/metadata.xml
Normal file
10
sys-apps/autosuspend/metadata.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tk@meskalero.de</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="mpd">Add support for music player daemon</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
Loading…
Add table
Reference in a new issue