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 3B27D158003 for ; Thu, 13 Oct 2022 20:59:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D409E0867; Thu, 13 Oct 2022 20:59:03 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41998E0867 for ; Thu, 13 Oct 2022 20:59:03 +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 2E189340D1F for ; Thu, 13 Oct 2022 20:59:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 77B4A5F1 for ; Thu, 13 Oct 2022 20:59:00 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1665694716.1f9899c6fcd6abbfab180cbe5f3822f8e3e7f5c8.chewi@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.9.ebuild X-VCS-Directories: games-util/sc-controller/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 1f9899c6fcd6abbfab180cbe5f3822f8e3e7f5c8 X-VCS-Branch: master Date: Thu, 13 Oct 2022 20:59:00 +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: 5110c087-4639-4a28-8ce7-e8ab4af93acb X-Archives-Hash: ba4495543fd3d50086504dab1fc4db88 commit: 1f9899c6fcd6abbfab180cbe5f3822f8e3e7f5c8 Author: James Le Cuirot gentoo org> AuthorDate: Thu Oct 13 20:58:36 2022 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Oct 13 20:58:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f9899c6 games-util/sc-controller: Version bump to 0.4.8.9 Closes: https://bugs.gentoo.org/876733 Signed-off-by: James Le Cuirot gentoo.org> games-util/sc-controller/Manifest | 1 + .../sc-controller/sc-controller-0.4.8.9.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest index 44645c2ec9c7..cb4dcb8a51f7 100644 --- a/games-util/sc-controller/Manifest +++ b/games-util/sc-controller/Manifest @@ -1 +1,2 @@ DIST sc-controller-0.4.8.6_p20211211.tar.gz 2527489 BLAKE2B e04e2a9d617b6cfb3b0709f37bbbbb7384ac0c516f1f30a23547f1132c562cafeb8972f23e9cc93967187c881fd78fe6e6d102451aa5afc4bf8fce619e86820b SHA512 9d1030ed2766b9a0984852eafc343e265768489f3d01833e6633019276c0559cb4265d72013c0bc2ecb57ac35c95791ee8e2285f8c45917695ea92826bca6dc3 +DIST sc-controller-0.4.8.9.tar.gz 2541647 BLAKE2B f4e4ebcd15f8c32f292293ea21a0c30655fedefba310991082ece3b9159b52700178a31da4b3e7a172e40fde4e718403c0945387f3781628e09fa1fc086eee93 SHA512 e0848d366f6f80c36670adcda717b792b6993e7383c01e969c0478cf187bcdb891ea9c434271f24e7f5dfc96d8f321f953f610bb8efeb6ed843b7cd069b9b18f diff --git a/games-util/sc-controller/sc-controller-0.4.8.9.ebuild b/games-util/sc-controller/sc-controller-0.4.8.9.ebuild new file mode 100644 index 000000000000..48016b53a7df --- /dev/null +++ b/games-util/sc-controller/sc-controller-0.4.8.9.ebuild @@ -0,0 +1,52 @@ +# 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 BSD CC-BY-3.0 CC0-1.0 LGPL-2.1 MIT PSF-2 ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+udev wayland" + +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] + virtual/libusb + x11-libs/gtk+:3[introspection] + udev? ( games-util/game-device-udev-rules ) + wayland? ( gui-libs/gtk-layer-shell[introspection(+)] ) +" + +distutils_enable_tests pytest + +pkg_setup() { + local CONFIG_CHECK="~INPUT_UINPUT" + + linux-info_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + default + + # This test fails. Don't know why but seems unimportant. + rm -v tests/test_glade.py || die +} + +src_install() { + distutils-r1_src_install + rm -r "${ED}"/usr/lib/udev/ || die +}