Gentoo Archives: gentoo-commits

From: Alexey Sokolov <alexey+gentoo@××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-misc/liquidctl/
Date: Fri, 28 Aug 2020 00:42:17
Message-Id: 1598575309.0440fcbb0022573e2d5e9de0e6949522257a9a86.DarthGandalf@gentoo
1 commit: 0440fcbb0022573e2d5e9de0e6949522257a9a86
2 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
3 AuthorDate: Fri Aug 28 00:41:49 2020 +0000
4 Commit: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
5 CommitDate: Fri Aug 28 00:41:49 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0440fcbb
7
8 app-misc/liquidctl: new package
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
12
13 app-misc/liquidctl/Manifest | 1 +
14 app-misc/liquidctl/liquidctl-1.4.1.ebuild | 36 +++++++++++++++++++++++++++++++
15 app-misc/liquidctl/metadata.xml | 11 ++++++++++
16 3 files changed, 48 insertions(+)
17
18 diff --git a/app-misc/liquidctl/Manifest b/app-misc/liquidctl/Manifest
19 new file mode 100644
20 index 0000000..373b6da
21 --- /dev/null
22 +++ b/app-misc/liquidctl/Manifest
23 @@ -0,0 +1 @@
24 +DIST liquidctl-1.4.1.tar.gz 149114 BLAKE2B eee91d82cd31021aa8a290844c74ff117024383f85eaa83ef89bf4f1d3e9d1af29b6b530497c356fb51aaca6f686522768eb1df0c7fb85ecdc34b630109a1db9 SHA512 f5f1e1e9f4f03ab2bc1252a65a118a1cfd2203f4cbde7e7ddb45667b20ec7757d35eff9f69922395efb1461d660b104531230942f4d537428f30ae3e59ed2594
25
26 diff --git a/app-misc/liquidctl/liquidctl-1.4.1.ebuild b/app-misc/liquidctl/liquidctl-1.4.1.ebuild
27 new file mode 100644
28 index 0000000..162b49f
29 --- /dev/null
30 +++ b/app-misc/liquidctl/liquidctl-1.4.1.ebuild
31 @@ -0,0 +1,36 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{7,8} )
38 +DISTUTILS_USE_SETUPTOOLS=rdepend
39 +inherit distutils-r1 udev
40 +
41 +DESCRIPTION="Cross-platform tool and drivers for liquid coolers and other devices"
42 +HOMEPAGE="https://github.com/jonasmalacofilho/liquidctl"
43 +SRC_URI="https://github.com/jonasmalacofilho/liquidctl/releases/download/v${PV}/${P}.tar.gz"
44 +#S="${WORKDIR}/${P}"
45 +LICENSE="GPL-3+"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +
49 +RDEPEND="
50 + dev-python/docopt[${PYTHON_USEDEP}]
51 + dev-python/hidapi[${PYTHON_USEDEP}]
52 + dev-python/pyusb[${PYTHON_USEDEP}]
53 +"
54 +
55 +distutils_enable_tests pytest
56 +
57 +src_test() {
58 + # Without this variable, it attempts to write to /var/run and fails
59 + XDG_RUNTIME_DIR="${T}/xdg" distutils-r1_src_test || die
60 +}
61 +
62 +python_install_all() {
63 + distutils-r1_python_install_all
64 + dodoc docs/*.md || die
65 + dodoc -r docs/linux/
66 + udev_dorules extra/linux/71-liquidctl.rules
67 +}
68
69 diff --git a/app-misc/liquidctl/metadata.xml b/app-misc/liquidctl/metadata.xml
70 new file mode 100644
71 index 0000000..8e9aedf
72 --- /dev/null
73 +++ b/app-misc/liquidctl/metadata.xml
74 @@ -0,0 +1,11 @@
75 +<?xml version="1.0" encoding="UTF-8"?>
76 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
77 +<pkgmetadata>
78 + <maintainer type="person">
79 + <email>alexey+gentoo@××××××××.org</email>
80 + <name>Alexey Sokolov</name>
81 + </maintainer>
82 + <upstream>
83 + <remote-id type="github">jonasmalacofilho/liquidctl</remote-id>
84 + </upstream>
85 +</pkgmetadata>