Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] sc-controller: move to a python3 fork, update to 0.4.8.6.
@ 2022-01-06 20:45 paper42
  2022-01-06 23:35 ` Hnaguski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: paper42 @ 2022-01-06 20:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

There is a new pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages sc-controller-py3
https://github.com/void-linux/void-packages/pull/34912

sc-controller: move to a python3 fork, update to 0.4.8.6.
#### Testing the changes
- I tested the changes in this PR: **briefly**

I can't test this, because I don't have a steam controller, so I would appreciate some help. @Hnaguski

A patch file from https://github.com/void-linux/void-packages/pull/34912.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-sc-controller-py3-34912.patch --]
[-- Type: text/x-diff, Size: 5220 bytes --]

From 5fb234c45a622485b64f3244f121cbeda0da9b09 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
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 <henry@nilsu.org>"
 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 <michal@vasilek.cz>
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 <orphan@voidlinux.org>"
-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 <orphan@voidlinux.org>"
+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 <michal@vasilek.cz>
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sc-controller: move to a python3 fork, update to 0.4.8.6.
  2022-01-06 20:45 [PR PATCH] sc-controller: move to a python3 fork, update to 0.4.8.6 paper42
@ 2022-01-06 23:35 ` Hnaguski
  2022-02-08  3:42 ` Hnaguski
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Hnaguski @ 2022-01-06 23:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 229 bytes --]

New comment by Hnaguski on void-packages repository

https://github.com/void-linux/void-packages/pull/34912#issuecomment-1007014071

Comment:
I'm away from my steam controller for the next ~2 weeks, but I can test once I'm back.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sc-controller: move to a python3 fork, update to 0.4.8.6.
  2022-01-06 20:45 [PR PATCH] sc-controller: move to a python3 fork, update to 0.4.8.6 paper42
  2022-01-06 23:35 ` Hnaguski
@ 2022-02-08  3:42 ` Hnaguski
  2022-02-12 21:37 ` [PR PATCH] [Merged]: " paper42
  2022-02-12 21:38 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: Hnaguski @ 2022-02-08  3:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

New comment by Hnaguski on void-packages repository

https://github.com/void-linux/void-packages/pull/34912#issuecomment-1032183030

Comment:
I've done some light testing with dolphin and it seems to work as expected, so the sc-controller package looks good to me. Should the python3-evdev changes be in a separate commit?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PR PATCH] [Merged]: sc-controller: move to a python3 fork, update to 0.4.8.6.
  2022-01-06 20:45 [PR PATCH] sc-controller: move to a python3 fork, update to 0.4.8.6 paper42
  2022-01-06 23:35 ` Hnaguski
  2022-02-08  3:42 ` Hnaguski
@ 2022-02-12 21:37 ` paper42
  2022-02-12 21:38 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-02-12 21:37 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

There's a merged pull request on the void-packages repository

sc-controller: move to a python3 fork, update to 0.4.8.6.
https://github.com/void-linux/void-packages/pull/34912

Description:
#### Testing the changes
- I tested the changes in this PR: **briefly**

I can't test this, because I don't have a steam controller, so I would appreciate some help. @Hnaguski

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sc-controller: move to a python3 fork, update to 0.4.8.6.
  2022-01-06 20:45 [PR PATCH] sc-controller: move to a python3 fork, update to 0.4.8.6 paper42
                   ` (2 preceding siblings ...)
  2022-02-12 21:37 ` [PR PATCH] [Merged]: " paper42
@ 2022-02-12 21:38 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2022-02-12 21:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 276 bytes --]

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34912#issuecomment-1037500697

Comment:
> Should the python3-evdev changes be in a separate commit?

There are no functional changes, just removing the python2 version.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-12 21:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-06 20:45 [PR PATCH] sc-controller: move to a python3 fork, update to 0.4.8.6 paper42
2022-01-06 23:35 ` Hnaguski
2022-02-08  3:42 ` Hnaguski
2022-02-12 21:37 ` [PR PATCH] [Merged]: " paper42
2022-02-12 21:38 ` paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).