From 5fb234c45a622485b64f3244f121cbeda0da9b09 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 6 Jan 2022 21:24:10 +0100 Subject: [PATCH 1/3] sc-controller: update to 0.4.8.6. * change upstream to a python3 fork --- srcpkgs/sc-controller/template | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/srcpkgs/sc-controller/template b/srcpkgs/sc-controller/template index d0c7891718a5..f1d641021f82 100644 --- a/srcpkgs/sc-controller/template +++ b/srcpkgs/sc-controller/template @@ -1,14 +1,14 @@ # Template file for 'sc-controller' pkgname=sc-controller -version=0.4.8 +version=0.4.8.6 revision=1 -build_style=python2-module -hostmakedepends="python-setuptools" -makedepends="python-devel zlib-devel" -depends="gtk+3 python-gobject python-cairo python-evdev kernel-libc-headers" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel zlib-devel" +depends="gtk+3 python3-gobject python3-cairo python3-evdev" short_desc="User-mode driver and GTK3 based GUI for Steam Controller" maintainer="Henry Naguski " license="GPL-2.0-only" -homepage="https://github.com/kozec/sc-controller" -distfiles="https://github.com/kozec/sc-controller/archive/v${version}.tar.gz" -checksum=2abd6261e86ea396e306d29b9eb218ed1b34c2bc868ebd81a25561f025c6754a +homepage="https://github.com/Ryochan7/sc-controller" +distfiles="https://github.com/Ryochan7/sc-controller/archive/refs/tags/v$version.tar.gz" +checksum=e6b8c736877acbee0a90acb3470650327c6c76ab9a4c13a3359356e6858943f5 From 05acadf10a22548d83c1d96a14d58548b19588b9 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 6 Jan 2022 21:38:53 +0100 Subject: [PATCH 2/3] python-evdev: remove package --- srcpkgs/python-evdev/template | 27 ------------------- srcpkgs/python3-evdev | 1 - .../patches/time64.patch | 0 srcpkgs/python3-evdev/template | 18 +++++++++++++ 4 files changed, 18 insertions(+), 28 deletions(-) delete mode 100644 srcpkgs/python-evdev/template delete mode 120000 srcpkgs/python3-evdev rename srcpkgs/{python-evdev => python3-evdev}/patches/time64.patch (100%) create mode 100644 srcpkgs/python3-evdev/template diff --git a/srcpkgs/python-evdev/template b/srcpkgs/python-evdev/template deleted file mode 100644 index f61e63cfc5f1..000000000000 --- a/srcpkgs/python-evdev/template +++ /dev/null @@ -1,27 +0,0 @@ -# Template file for 'python-evdev' -pkgname=python-evdev -version=1.2.0 -revision=5 -build_style=python-module -pycompile_module="evdev" -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -short_desc="Python2 bindings for the Linux input subsystem" -maintainer="Orphaned " -license="BSD-3-Clause" -homepage="https://github.com/gvalkov/python-evdev" -distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz" -checksum=f788584510620251c6a6c68802935b71c4b474df99b87ee223e18b84dd1719a6 - -post_install() { - vlicense LICENSE -} - -python3-evdev_package() { - pycompile_module="evdev" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-evdev b/srcpkgs/python3-evdev deleted file mode 120000 index 863523780632..000000000000 --- a/srcpkgs/python3-evdev +++ /dev/null @@ -1 +0,0 @@ -python-evdev \ No newline at end of file diff --git a/srcpkgs/python-evdev/patches/time64.patch b/srcpkgs/python3-evdev/patches/time64.patch similarity index 100% rename from srcpkgs/python-evdev/patches/time64.patch rename to srcpkgs/python3-evdev/patches/time64.patch diff --git a/srcpkgs/python3-evdev/template b/srcpkgs/python3-evdev/template new file mode 100644 index 000000000000..962216d71325 --- /dev/null +++ b/srcpkgs/python3-evdev/template @@ -0,0 +1,18 @@ +# Template file for 'python3-evdev' +pkgname=python3-evdev +version=1.2.0 +revision=5 +wrksrc="python-evdev-$version" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +short_desc="Python3 bindings for the Linux input subsystem" +maintainer="Orphaned " +license="BSD-3-Clause" +homepage="https://github.com/gvalkov/python-evdev" +distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz" +checksum=f788584510620251c6a6c68802935b71c4b474df99b87ee223e18b84dd1719a6 + +post_install() { + vlicense LICENSE +} From 29d40d0461486d002a534da9cb405f3c22c717bc Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Thu, 6 Jan 2022 21:38:19 +0100 Subject: [PATCH 3/3] removed-packages: add python-evdev --- srcpkgs/removed-packages/template | 1 + 1 file changed, 1 insertion(+) diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 0b057f0241bd..302d074ee9d3 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -260,6 +260,7 @@ replaces=" python-crypto<=3.9.7_3 python-docutils<=0.16_3 python-enchant<=2.0.0_4 + python-evdev<=1.2.0_5 python-gntp<=1.0.3_7 python-iso8601<=0.1.16_2 python-jellyfish<=0.6.1_2