summaryrefslogtreecommitdiff
path: root/games-util/sc-controller
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-23 00:11:31 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-23 00:11:31 +0100
commitbff543bb632933380da922cbfc07c67157d72d42 (patch)
treedf2e5eebc3dbd8e29153ab3a869b3be8d9be9f19 /games-util/sc-controller
parent491d0101c89d81dec507f28215b3cb094800d600 (diff)
gentoo auto-resync : 23:06:2024 - 00:11:30
Diffstat (limited to 'games-util/sc-controller')
-rw-r--r--games-util/sc-controller/Manifest9
-rw-r--r--games-util/sc-controller/files/sc-controller-0.4.8.9-python3_11.patch24
-rw-r--r--games-util/sc-controller/metadata.xml2
-rw-r--r--games-util/sc-controller/sc-controller-0.4.8.16.ebuild (renamed from games-util/sc-controller/sc-controller-0.4.8.11.ebuild)6
-rw-r--r--games-util/sc-controller/sc-controller-0.4.8.9-r1.ebuild58
5 files changed, 7 insertions, 92 deletions
diff --git a/games-util/sc-controller/Manifest b/games-util/sc-controller/Manifest
index ffd8ce1e740c..651e61700a66 100644
--- a/games-util/sc-controller/Manifest
+++ b/games-util/sc-controller/Manifest
@@ -1,6 +1,3 @@
-AUX sc-controller-0.4.8.9-python3_11.patch 744 BLAKE2B 4cbaafa7f941e9e2135883fd7ae60519b70a76e5e0a3d9cabde9b087ad9d13c931220a6f2c7a6b6dce84ad5a3e940779ad50367a1e697cf689484d0150339210 SHA512 6e786253236db297bd1b169a7a6db1f44fb8485f8f4361113b3116aad95e17c51fdd72082c5dd45b30115fdef380b8482389b71470f4c2911ee778b42257538b
-DIST sc-controller-0.4.8.11.tar.gz 2566642 BLAKE2B 64e910e27ceb93938d6250ae058a5df102922f36f4e1e7aa5d2f761b93bbcf34296eefabb10145b4e1b7030c05af341ccb6cbe01df7ce891c69f8d8fceefdb30 SHA512 e591e1c44763c38a18f09f8d5d9fcdb7f46c60d8f4dc040d82e48617d0f960abb6ec608188724838060dbe532589453b0be2c1d94686decef657205f8e8efcec
-DIST sc-controller-0.4.8.9.tar.gz 2541647 BLAKE2B f4e4ebcd15f8c32f292293ea21a0c30655fedefba310991082ece3b9159b52700178a31da4b3e7a172e40fde4e718403c0945387f3781628e09fa1fc086eee93 SHA512 e0848d366f6f80c36670adcda717b792b6993e7383c01e969c0478cf187bcdb891ea9c434271f24e7f5dfc96d8f321f953f610bb8efeb6ed843b7cd069b9b18f
-EBUILD sc-controller-0.4.8.11.ebuild 1321 BLAKE2B e780a2f4c0eeb4f931b6d03261eb1c41480bc19b99a5015466d67e6b6446c0666ac8c7caeec40ef802efb79553a39a759c7f0224bc7c563fc2f9048ca629b190 SHA512 03001aaab8d2f1d5071d3a2598d2fe0bcc750841273051a79b48d66e65de70f44116cce407b1bf24140b5ff60db5ec813cd94eb935d9f2c4f4122cb06bc8263d
-EBUILD sc-controller-0.4.8.9-r1.ebuild 1408 BLAKE2B daa69aae769d96c52999f4ec4f0d254914adb09e211fb7cf012890f6cdd63b5810eccf3c5070490da4ab5d2890e8530e85893c30aaf3350817ec1c212c5a066f SHA512 c6ab6025924c717cb77cdaab6120bd9029ee4f36c53a693a23711bcd0c117e23bdb871ce17fbe9634203e8b3cc4883c13ecc453f5411f0a21331801a4f899548
-MISC metadata.xml 341 BLAKE2B 8bfad400d398e07b5c8ba2c0a54c3fb3768d6748df641c4d2ad75a8032fd7f351f023acf791b9b61da0e70500cfdb1b669eaaa140f6351a851b6b2e23d3c5147 SHA512 4f17d6bd17da51eec7d7b90a3c72b9ef29bb6780dc4b67245ca4ce17a62128eb800ae1e519d2b136763c3c26cf89473fb23a7e878c1e4b19b116ed9546547f58
+DIST sc-controller-0.4.8.16.tar.gz 2570556 BLAKE2B 2aafad5eeb05d0525646bc1c5c08659dc09eba764bca84c0bb25524883b40d9dc8aa26981c6aeab834e429f0211bb97da902e15433876187a3c5b22d61fe8391 SHA512 3e37049b91ff927f047b3518b0c8382875d6faf748fac842c6b3276fb327953e4b1c20ce83ec80baa2b5338d6262aa32ac7dcf6b924c886984564de97e1d8177
+EBUILD sc-controller-0.4.8.16.ebuild 1317 BLAKE2B 1ff216988046d39315693506f3d593562f6c6513d43a5c5c62cb7b624c0cbce17610ce2e04cd0181a9f057a9df4246a14ce906503929586d83fc585f5138c079 SHA512 2bb530ed61ccb74d368ce2a318de7c45194f798b428d08f2a5c81b6334cf8d9347e15a671c5aeb4cb2ef06278d14c6e733cba90be888d6356af4ba931f7745fe
+MISC metadata.xml 339 BLAKE2B 14e01513234a188ccdaee57a97ca43ab0d268d6a13655b63b7fa883e6982c5d9ed71743a7d5dedb04118a399840ace25ed92d6a1760aef0a31aaf05b0ab28625 SHA512 d64452dccaddcfd96e4c9f3767ced1741e66a59cf782b4b5fadcf425d62998aad99379988739e773fc1da0b4e8e6a7c5c5e9d9194d13fb47128f6f1aef947885
diff --git a/games-util/sc-controller/files/sc-controller-0.4.8.9-python3_11.patch b/games-util/sc-controller/files/sc-controller-0.4.8.9-python3_11.patch
deleted file mode 100644
index 283dbba8be98..000000000000
--- a/games-util/sc-controller/files/sc-controller-0.4.8.9-python3_11.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/scc/lib/__init__.py b/scc/lib/__init__.py
-index 33d1486dd..0fe3141a5 100644
---- a/scc/lib/__init__.py
-+++ b/scc/lib/__init__.py
-@@ -1,3 +1,3 @@
- #!/usr/bin/env python2
-
--from enum import Enum, IntEnum, unique
-+from .enum import Enum, IntEnum, unique
-diff --git a/tests/test_strings/test_keys.py b/tests/test_strings/test_keys.py
-new file mode 100644
-index 000000000..f118d373c
---- /dev/null
-+++ b/tests/test_strings/test_keys.py
-@@ -0,0 +1,8 @@
-+from scc.uinput import Keys
-+from scc.lib import IntEnum
-+
-+class TestKeys(object):
-+ def test_up_str(self):
-+ assert isinstance(Keys.KEY_UP, IntEnum)
-+ assert Keys.KEY_UP.name == "KEY_UP"
-+ assert str(Keys.KEY_UP) == "Keys.KEY_UP"
-\ No newline at end of file
diff --git a/games-util/sc-controller/metadata.xml b/games-util/sc-controller/metadata.xml
index 662b56c13f49..20f13f973f8f 100644
--- a/games-util/sc-controller/metadata.xml
+++ b/games-util/sc-controller/metadata.xml
@@ -6,6 +6,6 @@
<name>Gentoo Games Project</name>
</maintainer>
<upstream>
- <remote-id type="github">Ryochan7/sc-controller</remote-id>
+ <remote-id type="github">C0rn3j/sc-controller</remote-id>
</upstream>
</pkgmetadata>
diff --git a/games-util/sc-controller/sc-controller-0.4.8.11.ebuild b/games-util/sc-controller/sc-controller-0.4.8.16.ebuild
index 7166c28a765e..05c53bdb4a47 100644
--- a/games-util/sc-controller/sc-controller-0.4.8.11.ebuild
+++ b/games-util/sc-controller/sc-controller-0.4.8.16.ebuild
@@ -6,12 +6,12 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
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"
+HOMEPAGE="https://github.com/C0rn3j/sc-controller/"
+SRC_URI="https://github.com/C0rn3j/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"
diff --git a/games-util/sc-controller/sc-controller-0.4.8.9-r1.ebuild b/games-util/sc-controller/sc-controller-0.4.8.9-r1.ebuild
deleted file mode 100644
index b7892049fc8e..000000000000
--- a/games-util/sc-controller/sc-controller-0.4.8.9-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2024 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_{10..11} )
-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/evdev[${PYTHON_USEDEP}]
- dev-python/pygobject[${PYTHON_USEDEP},cairo]
- dev-python/pylibacl[${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
-
-PATCHES=(
- # https://github.com/Ryochan7/sc-controller/pull/82
- "${FILESDIR}/${P}-python3_11.patch"
-)
-
-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
-}