Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-evdev: update to 1.6.0.
@ 2022-08-12 19:52 darknebula05
  2022-08-12 19:58 ` classabbyamp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: darknebula05 @ 2022-08-12 19:52 UTC (permalink / raw)
  To: ml

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

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

https://github.com/darknebula05/void-packages master
https://github.com/void-linux/void-packages/pull/38641

python3-evdev: update to 1.6.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-38641.patch --]
[-- Type: text/x-diff, Size: 3424 bytes --]

From 370af6a8a01c39cfebcad2938bdbfb0687125820 Mon Sep 17 00:00:00 2001
From: darknebula05 <camms205@aol.com>
Date: Thu, 11 Aug 2022 11:08:10 -0400
Subject: [PATCH] python3-evdev: update to 1.6.0.

---
 srcpkgs/python3-evdev/patches/time64.patch | 45 ----------------------
 srcpkgs/python3-evdev/template             |  8 ++--
 2 files changed, 5 insertions(+), 48 deletions(-)
 delete mode 100644 srcpkgs/python3-evdev/patches/time64.patch

diff --git a/srcpkgs/python3-evdev/patches/time64.patch b/srcpkgs/python3-evdev/patches/time64.patch
deleted file mode 100644
index bfcb6598f0c5..000000000000
--- a/srcpkgs/python3-evdev/patches/time64.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/evdev/input.c	2019-04-07 17:40:25.000000000 +0200
-+++ b/evdev/input.c	2020-12-14 14:48:49.568344738 +0100
-@@ -60,8 +60,8 @@
-         return NULL;
-     }
- 
--    PyObject* sec  = PyLong_FromLong(event.time.tv_sec);
--    PyObject* usec = PyLong_FromLong(event.time.tv_usec);
-+    PyObject* sec  = PyLong_FromLong(event.input_event_sec);
-+    PyObject* usec = PyLong_FromLong(event.input_event_usec);
-     PyObject* val  = PyLong_FromLong(event.value);
-     PyObject* py_input_event = NULL;
- 
-@@ -102,8 +102,8 @@
- 
-     // Construct a list of event tuples, which we'll make sense of in Python
-     for (unsigned i = 0 ; i < nread/event_size ; i++) {
--        sec  = PyLong_FromLong(event[i].time.tv_sec);
--        usec = PyLong_FromLong(event[i].time.tv_usec);
-+        sec  = PyLong_FromLong(event[i].input_event_sec);
-+        usec = PyLong_FromLong(event[i].input_event_usec);
-         val  = PyLong_FromLong(event[i].value);
- 
-         py_input_event = Py_BuildValue("OOhhO", sec, usec, event[i].type, event[i].code, val);
---- a/evdev/uinput.c	2019-04-07 17:40:25.000000000 +0200
-+++ b/evdev/uinput.c	2020-12-14 14:51:58.809761744 +0100
-@@ -226,6 +226,7 @@
- static PyObject *
- uinput_write(PyObject *self, PyObject *args)
- {
-+    struct timeval tv;
-     int fd, type, code, value;
- 
-     int ret = PyArg_ParseTuple(args, "iiii", &fd, &type, &code, &value);
-@@ -233,7 +234,9 @@
- 
-     struct input_event event;
-     memset(&event, 0, sizeof(event));
--    gettimeofday(&event.time, 0);
-+    gettimeofday(&tv, 0);
-+    event.input_event_sec = tv.tv_sec;
-+    event.input_event_usec = tv.tv_usec;
-     event.type = type;
-     event.code = code;
-     event.value = value;
diff --git a/srcpkgs/python3-evdev/template b/srcpkgs/python3-evdev/template
index 962216d71325..8ae95b3d25a2 100644
--- a/srcpkgs/python3-evdev/template
+++ b/srcpkgs/python3-evdev/template
@@ -1,17 +1,19 @@
 # Template file for 'python3-evdev'
 pkgname=python3-evdev
-version=1.2.0
-revision=5
+version=1.6.0
+revision=1
 wrksrc="python-evdev-$version"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 makedepends="python3-devel"
+checkdepends="python3-pytest"
 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"
+changelog="https://raw.githubusercontent.com/gvalkov/python-evdev/main/docs/changelog.rst"
 distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz"
-checksum=f788584510620251c6a6c68802935b71c4b474df99b87ee223e18b84dd1719a6
+checksum=85877121b46e0eacf390c1ee4a07e6f5fcb3c603c1649efcccdd554f2fe0c3ab
 
 post_install() {
 	vlicense LICENSE

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

* Re: python3-evdev: update to 1.6.0.
  2022-08-12 19:52 [PR PATCH] python3-evdev: update to 1.6.0 darknebula05
@ 2022-08-12 19:58 ` classabbyamp
  2022-08-12 21:12 ` classabbyamp
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-08-12 19:58 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38641#issuecomment-1213467952

Comment:
next time, please update the existing PR instead of reopening https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#review

old pr: #38611 

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

* Re: python3-evdev: update to 1.6.0.
  2022-08-12 19:52 [PR PATCH] python3-evdev: update to 1.6.0 darknebula05
  2022-08-12 19:58 ` classabbyamp
@ 2022-08-12 21:12 ` classabbyamp
  2022-11-11  2:13 ` github-actions
  2022-11-26  2:01 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2022-08-12 21:12 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/38641#issuecomment-1213523707

Comment:
re: test failures: https://github.com/gvalkov/python-evdev/issues/153

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

* Re: python3-evdev: update to 1.6.0.
  2022-08-12 19:52 [PR PATCH] python3-evdev: update to 1.6.0 darknebula05
  2022-08-12 19:58 ` classabbyamp
  2022-08-12 21:12 ` classabbyamp
@ 2022-11-11  2:13 ` github-actions
  2022-11-26  2:01 ` [PR PATCH] [Closed]: " github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-11-11  2:13 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/38641#issuecomment-1311139813

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR PATCH] [Closed]: python3-evdev: update to 1.6.0.
  2022-08-12 19:52 [PR PATCH] python3-evdev: update to 1.6.0 darknebula05
                   ` (2 preceding siblings ...)
  2022-11-11  2:13 ` github-actions
@ 2022-11-26  2:01 ` github-actions
  3 siblings, 0 replies; 5+ messages in thread
From: github-actions @ 2022-11-26  2:01 UTC (permalink / raw)
  To: ml

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

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

python3-evdev: update to 1.6.0.
https://github.com/void-linux/void-packages/pull/38641

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

end of thread, other threads:[~2022-11-26  2:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 19:52 [PR PATCH] python3-evdev: update to 1.6.0 darknebula05
2022-08-12 19:58 ` classabbyamp
2022-08-12 21:12 ` classabbyamp
2022-11-11  2:13 ` github-actions
2022-11-26  2:01 ` [PR PATCH] [Closed]: " github-actions

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).