From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 252C7158087 for ; Wed, 19 Jan 2022 23:53:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 324FA2BC002; Wed, 19 Jan 2022 23:53:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5FC42BC002 for ; Wed, 19 Jan 2022 23:53:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C946C342EE2 for ; Wed, 19 Jan 2022 23:53:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21C67287 for ; Wed, 19 Jan 2022 23:53:23 +0000 (UTC) From: "Ionen Wolkens" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ionen Wolkens" Message-ID: <1642636348.fbf1bda90b63e596432824061042127a95d47f1e.ionen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/sc-controller/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-util/sc-controller/Manifest games-util/sc-controller/sc-controller-0.4.8.6.ebuild X-VCS-Directories: games-util/sc-controller/ X-VCS-Committer: ionen X-VCS-Committer-Name: Ionen Wolkens X-VCS-Revision: fbf1bda90b63e596432824061042127a95d47f1e X-VCS-Branch: master Date: Wed, 19 Jan 2022 23:53:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 895f4ad8-9211-4cd8-9f03-2f002f29fe92 X-Archives-Hash: e972dd8114adc246b4a520612445a84e commit: fbf1bda90b63e596432824061042127a95d47f1e Author: Ionen Wolkens gentoo org> AuthorDate: Wed Jan 19 19:09:15 2022 +0000 Commit: Ionen Wolkens gentoo org> CommitDate: Wed Jan 19 23:52:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf1bda9 games-util/sc-controller: add 0.4.8.6 with PEP517, py3.10, and tests Haven't really used (don't have a steam controller for one), but added tests and they run fine. Also add check for CONFIG_INPUT_UINPUT needed for user-mode, and add introspection dependencies. Closes: https://bugs.gentoo.org/806145 Signed-off-by: Ionen Wolkens gentoo.org> games-util/sc-controller/Manifest | 1 + .../sc-controller/sc-controller-0.4.8.6.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest index b712ecee7617..9b7064f7ec97 100644 --- a/games-util/sc-controller/Manifest +++ b/games-util/sc-controller/Manifest @@ -1 +1,2 @@ DIST sc-controller-0.4.8.2.tar.gz 2520528 BLAKE2B 0c98e1fd49e846909ec0a78c5bbf48731de464ab79ebe3e1b0370e2a6f176e925e6f2b288c17358221b2e50be0cd783f31f05324ac585aec310967d148ce5011 SHA512 8d157e871fa519ebd3eee27dd1c0ff1afe6f79201df12578aa31f3cbc62974bd7ba47c8a097870b693a7abaacaadd1e502012c9664c0aecddbd982fa10c7f84d +DIST sc-controller-0.4.8.6.tar.gz 2524756 BLAKE2B b31454fde0705bd49cdf3d56aec43d230617877a1dd1f72bef84d772c28f153b2e6812fd50b096e32a2ea3be549cfd1ee5fb3f9cf138c1dbc73c004ec11984b7 SHA512 d6f8098bff0fce064e194815a6c9bbf6ee974e22af056df9a12ebc24de4f1a22decfcf5191565c81aed39e3aa73b742bdc26040945e2b87543b67202834b46ea diff --git a/games-util/sc-controller/sc-controller-0.4.8.6.ebuild b/games-util/sc-controller/sc-controller-0.4.8.6.ebuild new file mode 100644 index 000000000000..764a714fde01 --- /dev/null +++ b/games-util/sc-controller/sc-controller-0.4.8.6.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 linux-info xdg + +DESCRIPTION="User-mode driver and GTK-based GUI for Steam Controllers and others" +HOMEPAGE="https://github.com/Ryochan7/sc-controller/" +SRC_URI="https://github.com/Ryochan7/sc-controller/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 CC0-1.0 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+udev" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pygobject[${PYTHON_USEDEP},cairo] + dev-python/pylibacl[${PYTHON_USEDEP}] + dev-python/python-evdev[${PYTHON_USEDEP}] + dev-python/vdf[${PYTHON_USEDEP}]') + gnome-base/librsvg[introspection] + x11-libs/gtk+:3[introspection] + udev? ( games-util/game-device-udev-rules )" + +distutils_enable_tests pytest + +pkg_setup() { + local CONFIG_CHECK="~INPUT_UINPUT" + + linux-info_pkg_setup + python-single-r1_pkg_setup +}