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: Fri, 10 Jun 2022 17:21:58 +0200 [thread overview]
Message-ID: <20220610152158.I2fdVpz3MkRAO_8arblfUjuu5uoYevXWwdQdVE8cy9k@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: 2926 bytes --]
From ad9683dc9d4746bbd641ea62524c56945c6089be 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.9.
---
.../0001-skip-test-failing-in-void-CI.patch | 25 +++++++++++++++++++
srcpkgs/python3-gnupg/template | 20 ++++++++-------
2 files changed, 36 insertions(+), 9 deletions(-)
create mode 100644 srcpkgs/python3-gnupg/patches/0001-skip-test-failing-in-void-CI.patch
diff --git a/srcpkgs/python3-gnupg/patches/0001-skip-test-failing-in-void-CI.patch b/srcpkgs/python3-gnupg/patches/0001-skip-test-failing-in-void-CI.patch
new file mode 100644
index 000000000000..60c356bf78d3
--- /dev/null
+++ b/srcpkgs/python3-gnupg/patches/0001-skip-test-failing-in-void-CI.patch
@@ -0,0 +1,25 @@
+From 7386c3d8e1dbc332ae3d4eda57d4133b309e5645 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Sat, 26 Mar 2022 12:41:28 +0100
+Subject: [PATCH] skip test failing in void CI
+
+---
+ test_gnupg.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/test_gnupg.py b/test_gnupg.py
+index 4e8f685..2df2285 100644
+--- a/test_gnupg.py
++++ b/test_gnupg.py
+@@ -1204,6 +1204,7 @@ class GPGTestCase(unittest.TestCase):
+ self.do_file_encryption_and_decryption(encfname, decfname)
+
+ @skipIf(os.name == 'nt', 'Test not suitable for Windows')
++ @unittest.skip("Doesn't work in voidlinux CI")
+ def test_invalid_outputs(self):
+ "Test encrypting to invalid output files"
+ encfno, encfname = tempfile.mkstemp()
+--
+2.36.1
+
diff --git a/srcpkgs/python3-gnupg/template b/srcpkgs/python3-gnupg/template
index 4470b8bed028..fef916b96362 100644
--- a/srcpkgs/python3-gnupg/template
+++ b/srcpkgs/python3-gnupg/template
@@ -1,18 +1,20 @@
# Template file for 'python3-gnupg'
pkgname=python3-gnupg
-_pkgname=python-gnupg
-version=0.4.6
-revision=4
-wrksrc=$_pkgname-$version
-build_style=python3-module
-hostmakedepends="python3-setuptools"
+version=0.4.9
+revision=1
+wrksrc=${pkgname/3/}-$version
+build_style=python3-pep517
+make_install_target=python_gnupg-${version}-py2.py3-none-any.whl
+hostmakedepends="python3-setuptools python3-wheel"
depends="python3 gnupg"
+checkdepends="${depends}"
short_desc="Python3 wrapper for GnuPG"
maintainer="Lon Willett <xgit@lonw.net>"
license="BSD-3-Clause"
-homepage="https://bitbucket.org/vinay.sajip/python-gnupg"
-distfiles="${PYPI_SITE}/p/${_pkgname}/${_pkgname}-${version}.tar.gz"
-checksum=3aa0884b3bd414652c2385b9df39e7b87272c2eca1b8fcc3089bc9e58652019a
+homepage="https://github.com/vsajip/python-gnupg"
+distfiles="${PYPI_SITE}/p/${pkgname/3/}/${pkgname/3/}-${version}.tar.gz"
+checksum=aaa748795572591aaf127b4ac8985684f3673ff82b39f370c836b006e68fc537
+make_check_pre="NO_EXTERNAL_TESTS=1"
post_install() {
vlicense LICENSE.txt
next prev parent reply other threads:[~2022-06-10 15:21 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 ` [PR PATCH] [Updated] " jcgruenhage
2022-03-26 11:45 ` jcgruenhage
2022-05-31 18:53 ` [PR REVIEW] " paper42
2022-05-31 18:53 ` paper42
2022-06-10 15:21 ` jcgruenhage [this message]
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=20220610152158.I2fdVpz3MkRAO_8arblfUjuu5uoYevXWwdQdVE8cy9k@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).