Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] safeeyes: update to 2.1.4.
@ 2022-11-25 19:38 tibequadorian
  2022-11-27 16:57 ` [PR REVIEW] safeeyes: update to 2.1.4 and fix error classabbyamp
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tibequadorian @ 2022-11-25 19:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/tibequadorian/void-packages safeeyes
https://github.com/void-linux/void-packages/pull/40763

safeeyes: update to 2.1.4.
Also fix getargspec error with python 3.11. See https://github.com/slgobinath/SafeEyes/issues/491

<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/40763.patch is attached

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

From 853d5754434ec69806132e7cdde673f858dec71f Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Fri, 25 Nov 2022 20:35:59 +0100
Subject: [PATCH] safeeyes: update to 2.1.4.

Also fix getargspec error with python 3.11.
---
 srcpkgs/safeeyes/patches/fix-getargspec.patch | 13 +++++++++++++
 srcpkgs/safeeyes/template                     |  6 +++---
 2 files changed, 16 insertions(+), 3 deletions(-)
 create mode 100644 srcpkgs/safeeyes/patches/fix-getargspec.patch

diff --git a/srcpkgs/safeeyes/patches/fix-getargspec.patch b/srcpkgs/safeeyes/patches/fix-getargspec.patch
new file mode 100644
index 000000000000..fcef27fa8b13
--- /dev/null
+++ b/srcpkgs/safeeyes/patches/fix-getargspec.patch
@@ -0,0 +1,13 @@
+diff --git a/safeeyes/utility.py b/safeeyes/utility.py
+index bf2dede..7e08735 100644
+--- a/safeeyes/utility.py
++++ b/safeeyes/utility.py
+@@ -666,7 +666,7 @@ def has_method(module, method_name, no_of_args=0):
+     Check whether the given function is defined in the module or not.
+     """
+     if hasattr(module, method_name):
+-        if len(inspect.getargspec(getattr(module, method_name)).args) == no_of_args:
++        if len(inspect.getfullargspec(getattr(module, method_name)).args) == no_of_args:
+             return True
+     return False
+ 
diff --git a/srcpkgs/safeeyes/template b/srcpkgs/safeeyes/template
index a11542556b67..b33ee1422876 100644
--- a/srcpkgs/safeeyes/template
+++ b/srcpkgs/safeeyes/template
@@ -1,7 +1,7 @@
 # Template file for 'safeeyes'
 pkgname=safeeyes
-version=2.1.3
-revision=3
+version=2.1.4
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pip python3-devel pkg-config"
 makedepends="python3-devel cairo-devel libgirepository-devel"
@@ -13,4 +13,4 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://slgobinath.github.io/SafeEyes/"
 distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3db101a4ae86e824937b7ddfb56e7e464f5b2dc96a351feaccadee080f42bcac
+checksum=4ac651c8e0de611424da956ca4acdf25b4915ffce30fe33e69a2be6173eee821

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

* Re: [PR REVIEW] safeeyes: update to 2.1.4 and fix error.
  2022-11-25 19:38 [PR PATCH] safeeyes: update to 2.1.4 tibequadorian
@ 2022-11-27 16:57 ` classabbyamp
  2022-11-27 17:09 ` [PR PATCH] [Updated] " tibequadorian
  2022-11-27 17:12 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2022-11-27 16:57 UTC (permalink / raw)
  To: ml

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

New review comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/40763#discussion_r1032978471

Comment:
```suggestion
distfiles="${PYPI_SITE}/s/safeeyes/safeeyes-${version}.tar.gz"
```

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

* Re: [PR PATCH] [Updated] safeeyes: update to 2.1.4 and fix error.
  2022-11-25 19:38 [PR PATCH] safeeyes: update to 2.1.4 tibequadorian
  2022-11-27 16:57 ` [PR REVIEW] safeeyes: update to 2.1.4 and fix error classabbyamp
@ 2022-11-27 17:09 ` tibequadorian
  2022-11-27 17:12 ` [PR PATCH] [Merged]: " classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: tibequadorian @ 2022-11-27 17:09 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by tibequadorian against master on the void-packages repository

https://github.com/tibequadorian/void-packages safeeyes
https://github.com/void-linux/void-packages/pull/40763

safeeyes: update to 2.1.4 and fix error.
Also fix getargspec error with python 3.11. See https://github.com/slgobinath/SafeEyes/issues/491

<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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/40763.patch is attached

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

From 590bbef243a7560229e2dc15a9e50699c6d62710 Mon Sep 17 00:00:00 2001
From: tibequadorian <tibequadorian@posteo.de>
Date: Fri, 25 Nov 2022 20:35:59 +0100
Subject: [PATCH] safeeyes: update to 2.1.4.

Also fix getargspec error with python 3.11.
---
 srcpkgs/safeeyes/patches/fix-getargspec.patch | 13 +++++++++++++
 srcpkgs/safeeyes/template                     |  8 ++++----
 2 files changed, 17 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/safeeyes/patches/fix-getargspec.patch

diff --git a/srcpkgs/safeeyes/patches/fix-getargspec.patch b/srcpkgs/safeeyes/patches/fix-getargspec.patch
new file mode 100644
index 000000000000..fcef27fa8b13
--- /dev/null
+++ b/srcpkgs/safeeyes/patches/fix-getargspec.patch
@@ -0,0 +1,13 @@
+diff --git a/safeeyes/utility.py b/safeeyes/utility.py
+index bf2dede..7e08735 100644
+--- a/safeeyes/utility.py
++++ b/safeeyes/utility.py
+@@ -666,7 +666,7 @@ def has_method(module, method_name, no_of_args=0):
+     Check whether the given function is defined in the module or not.
+     """
+     if hasattr(module, method_name):
+-        if len(inspect.getargspec(getattr(module, method_name)).args) == no_of_args:
++        if len(inspect.getfullargspec(getattr(module, method_name)).args) == no_of_args:
+             return True
+     return False
+ 
diff --git a/srcpkgs/safeeyes/template b/srcpkgs/safeeyes/template
index a11542556b67..0011b9c9c07e 100644
--- a/srcpkgs/safeeyes/template
+++ b/srcpkgs/safeeyes/template
@@ -1,7 +1,7 @@
 # Template file for 'safeeyes'
 pkgname=safeeyes
-version=2.1.3
-revision=3
+version=2.1.4
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-pip python3-devel pkg-config"
 makedepends="python3-devel cairo-devel libgirepository-devel"
@@ -12,5 +12,5 @@ short_desc="Tool to reduce and prevent repetitive strain injury"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-3.0-or-later"
 homepage="https://slgobinath.github.io/SafeEyes/"
-distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz"
-checksum=3db101a4ae86e824937b7ddfb56e7e464f5b2dc96a351feaccadee080f42bcac
+distfiles="${PYPI_SITE}/s/safeeyes/safeeyes-${version}.tar.gz"
+checksum=4ac651c8e0de611424da956ca4acdf25b4915ffce30fe33e69a2be6173eee821

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

* Re: [PR PATCH] [Merged]: safeeyes: update to 2.1.4 and fix error.
  2022-11-25 19:38 [PR PATCH] safeeyes: update to 2.1.4 tibequadorian
  2022-11-27 16:57 ` [PR REVIEW] safeeyes: update to 2.1.4 and fix error classabbyamp
  2022-11-27 17:09 ` [PR PATCH] [Updated] " tibequadorian
@ 2022-11-27 17:12 ` classabbyamp
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2022-11-27 17:12 UTC (permalink / raw)
  To: ml

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

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

safeeyes: update to 2.1.4 and fix error.
https://github.com/void-linux/void-packages/pull/40763

Description:
Also fix getargspec error with python 3.11. See https://github.com/slgobinath/SafeEyes/issues/491

<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-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] 4+ messages in thread

end of thread, other threads:[~2022-11-27 17:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-25 19:38 [PR PATCH] safeeyes: update to 2.1.4 tibequadorian
2022-11-27 16:57 ` [PR REVIEW] safeeyes: update to 2.1.4 and fix error classabbyamp
2022-11-27 17:09 ` [PR PATCH] [Updated] " tibequadorian
2022-11-27 17:12 ` [PR PATCH] [Merged]: " classabbyamp

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