From: jcgruenhage <jcgruenhage@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-gnupg: update to 0.4.8.
Date: Tue, 22 Mar 2022 11:06:32 +0100 [thread overview]
Message-ID: <20220322100632.83-83Sn1deCtkO-BjNFK69JPja9YnUNisJqSR8bmz6M@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36276@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
There is an updated pull request by jcgruenhage against master on the void-packages repository
https://github.com/jcgruenhage/void-packages python3-gnupg-0.4.8_1
https://github.com/void-linux/void-packages/pull/36276
python3-gnupg: update to 0.4.8.
<!-- 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 [skip CI](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/36276.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-gnupg-0.4.8_1-36276.patch --]
[-- Type: text/x-diff, Size: 3559 bytes --]
From a24816538efa529fb5c53d8dc8fa765a8a5a349c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
<jan.christian@gruenhage.xyz>
Date: Tue, 22 Mar 2022 10:46:32 +0100
Subject: [PATCH] python3-gnupg: update to 0.4.8.
---
...aemon-attribute-instead-of-setDaemon.patch | 50 +++++++++++++++++++
srcpkgs/python3-gnupg/template | 13 +++--
2 files changed, 59 insertions(+), 4 deletions(-)
create mode 100644 srcpkgs/python3-gnupg/patches/0001-set-daemon-attribute-instead-of-setDaemon.patch
diff --git a/srcpkgs/python3-gnupg/patches/0001-set-daemon-attribute-instead-of-setDaemon.patch b/srcpkgs/python3-gnupg/patches/0001-set-daemon-attribute-instead-of-setDaemon.patch
new file mode 100644
index 000000000000..601834c994a4
--- /dev/null
+++ b/srcpkgs/python3-gnupg/patches/0001-set-daemon-attribute-instead-of-setDaemon.patch
@@ -0,0 +1,50 @@
+From 6fb3874786d04bc05cbf6f1a1073d698b9d447f2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Tue, 22 Mar 2022 10:39:38 +0100
+Subject: [PATCH] set daemon attribute, instead of setDaemon()
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+> DeprecationWarning: setDaemon() is deprecated, set the daemon
+> attribute instead
+
+Signed-off-by: Jan Christian Grünhage <jan.christian@gruenhage.xyz>
+---
+ gnupg.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/gnupg.py b/gnupg.py
+index 8d16739..94073d2 100644
+--- a/gnupg.py
++++ b/gnupg.py
+@@ -169,7 +169,7 @@ def _copy_data(instream, outstream):
+
+ def _threaded_copy_data(instream, outstream):
+ wr = threading.Thread(target=_copy_data, args=(instream, outstream))
+- wr.setDaemon(True)
++ wr.daemon = True
+ logger.debug('data copier: %r, %r, %r', wr, instream, outstream)
+ wr.start()
+ return wr
+@@ -1021,14 +1021,14 @@ class GPG(object):
+ """
+ stderr = codecs.getreader(self.encoding)(process.stderr)
+ rr = threading.Thread(target=self._read_response, args=(stderr, result))
+- rr.setDaemon(True)
++ rr.daemon = True
+ logger.debug('stderr reader: %r', rr)
+ rr.start()
+
+ stdout = process.stdout
+ dr = threading.Thread(target=self._read_data, args=(stdout, result,
+ self.on_data))
+- dr.setDaemon(True)
++ dr.daemon = True
+ logger.debug('stdout reader: %r', dr)
+ dr.start()
+
+--
+2.35.1
+
diff --git a/srcpkgs/python3-gnupg/template b/srcpkgs/python3-gnupg/template
index 4470b8bed028..d63eca0d2284 100644
--- a/srcpkgs/python3-gnupg/template
+++ b/srcpkgs/python3-gnupg/template
@@ -1,18 +1,23 @@
# Template file for 'python3-gnupg'
pkgname=python3-gnupg
_pkgname=python-gnupg
-version=0.4.6
-revision=4
+version=0.4.8
+revision=1
wrksrc=$_pkgname-$version
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3 gnupg"
+checkdepends="gnupg"
short_desc="Python3 wrapper for GnuPG"
maintainer="Lon Willett <xgit@lonw.net>"
license="BSD-3-Clause"
-homepage="https://bitbucket.org/vinay.sajip/python-gnupg"
+homepage="https://github.com/vsajip/python-gnupg"
distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
-checksum=3aa0884b3bd414652c2385b9df39e7b87272c2eca1b8fcc3089bc9e58652019a
+checksum=b64de1ae5cedf872b437201a566fa2c62ce0c95ea2e30177eb53aee1258507d7
+
+pre_check() {
+ export NO_EXTERNAL_TESTS=1
+}
post_install() {
vlicense LICENSE.txt
next prev parent reply other threads:[~2022-03-22 10:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-22 9:51 [PR PATCH] " jcgruenhage
2022-03-22 9:55 ` [PR REVIEW] " jcgruenhage
2022-03-22 9:55 ` jcgruenhage
2022-03-22 9:55 ` jcgruenhage
2022-03-22 10:06 ` jcgruenhage [this message]
2022-03-26 11:45 ` [PR PATCH] [Updated] " jcgruenhage
2022-05-31 18:53 ` [PR REVIEW] " paper42
2022-05-31 18:53 ` paper42
2022-06-10 15:21 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-10 15:24 ` [PR REVIEW] python3-gnupg: update to 0.4.9 jcgruenhage
2022-06-10 15:24 ` jcgruenhage
2022-06-10 15:25 ` jcgruenhage
2022-06-10 15:30 ` paper42
2022-06-10 15:37 ` jcgruenhage
2022-06-10 15:44 ` jcgruenhage
2022-06-10 16:09 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-10 18:34 ` [PR REVIEW] " jcgruenhage
2022-06-10 19:59 ` [PR PATCH] [Merged]: " paper42
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220322100632.83-83Sn1deCtkO-BjNFK69JPja9YnUNisJqSR8bmz6M@z \
--to=jcgruenhage@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).