Github messages for voidlinux
 help / color / mirror / Atom feed
From: TinfoilSubmarine <TinfoilSubmarine@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-openssl: update to 22.0.0.
Date: Tue, 22 Feb 2022 22:12:00 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35795@inbox.vuxu.org> (raw)

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

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

https://github.com/TinfoilSubmarine/void-packages python3-openssl
https://github.com/void-linux/void-packages/pull/35795

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

#### Testing the changes
- I tested the changes in this PR: **YES** (tested with synapse)

<!--
#### 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
-->
I had to do the same thing I did for Twisted--drop the python3 subpackage from python-openssl since versions >21.0.0 don't support python2 anymore.

Dependents to test:
- [ ] gajim
- [ ] impacket
- [x] python3-Twisted
- [x] python3-TxSNI
- [ ] python3-acme
- [ ] python3-josepy
- [ ] python3-nbxmpp
- [ ] python3-ndg_httpsclient
- [x] python3-saml2
- [ ] ripe-atlas-tools
- [x] synapse
- [ ] yubikey-manager

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

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

From 6c8f0cb58338a5559fe63af56a9bc196d64b5747 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 22 Feb 2022 16:02:40 -0500
Subject: [PATCH 1/2] python-openssl: remove python3 subpackage

---
 srcpkgs/python-openssl/template | 22 ++++------------------
 srcpkgs/python3-openssl         |  1 -
 2 files changed, 4 insertions(+), 19 deletions(-)
 delete mode 120000 srcpkgs/python3-openssl

diff --git a/srcpkgs/python-openssl/template b/srcpkgs/python-openssl/template
index 60f32336e39d..32f63643facb 100644
--- a/srcpkgs/python-openssl/template
+++ b/srcpkgs/python-openssl/template
@@ -1,29 +1,15 @@
 # Template file for 'python-openssl'
 pkgname=python-openssl
 version=20.0.1
-revision=2
+revision=3
 wrksrc="pyOpenSSL-${version}"
-build_style=python-module
-hostmakedepends="python-setuptools python3-setuptools"
+build_style=python2-module
+hostmakedepends="python-setuptools"
 depends="python-cryptography python-six"
-checkdepends="python3-cryptography python3-six
- python3-pytest python3-flaky python3-pretend"
 short_desc="Python2 interface to the OpenSSL library"
-maintainer="Alessio Sergi <al3hex@gmail.com>"
+maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
 homepage="https://pyopenssl.org/"
 changelog="https://raw.githubusercontent.com/pyca/pyopenssl/master/CHANGELOG.rst"
 distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
 checksum=4c231c759543ba02560fcd2480c48dcec4dae34c9da7d3747c508227e0624b51
-
-do_check() {
-	PYTHONPATH="$(cd build-${py3_ver}/lib* && pwd)" python3 -m pytest
-}
-
-python3-openssl_package() {
-	depends="python3-cryptography python3-six"
-	short_desc="${short_desc/Python2/Python3}"
-	pkg_install() {
-		vmove usr/lib/python3*
-	}
-}
diff --git a/srcpkgs/python3-openssl b/srcpkgs/python3-openssl
deleted file mode 120000
index e9a49d32e012..000000000000
--- a/srcpkgs/python3-openssl
+++ /dev/null
@@ -1 +0,0 @@
-python-openssl
\ No newline at end of file

From 57384c9d4dd7dfb8eb574fc761dbbe92cad96c81 Mon Sep 17 00:00:00 2001
From: Joel Beckmeyer <joel@beckmeyer.us>
Date: Tue, 22 Feb 2022 16:03:17 -0500
Subject: [PATCH 2/2] python3-openssl: update to 22.0.0.

---
 srcpkgs/python3-openssl/template | 17 +++++++++++++++++
 srcpkgs/python3-openssl/update   |  1 +
 2 files changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-openssl/template
 create mode 100644 srcpkgs/python3-openssl/update

diff --git a/srcpkgs/python3-openssl/template b/srcpkgs/python3-openssl/template
new file mode 100644
index 000000000000..3119740d3163
--- /dev/null
+++ b/srcpkgs/python3-openssl/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-openssl'
+pkgname=python3-openssl
+version=22.0.0
+revision=1
+wrksrc="pyOpenSSL-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-cryptography python3-six"
+checkdepends="python3-cryptography python3-six python3-pytest python3-flaky
+python3-pretend"
+short_desc="Python3 interface to the OpenSSL library"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="Apache-2.0"
+homepage="https://pyopenssl.org/"
+changelog="https://raw.githubusercontent.com/pyca/pyopenssl/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz"
+checksum=660b1b1425aac4a1bea1d94168a85d99f0b3144c869dd4390d27629d0087f1bf
diff --git a/srcpkgs/python3-openssl/update b/srcpkgs/python3-openssl/update
new file mode 100644
index 000000000000..9946902a8048
--- /dev/null
+++ b/srcpkgs/python3-openssl/update
@@ -0,0 +1 @@
+pkgname=pyOpenSSL

             reply	other threads:[~2022-02-22 21:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 21:12 TinfoilSubmarine [this message]
2022-02-22 22:50 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-02-28 21:19 ` TinfoilSubmarine
2022-02-28 23:03 ` [PR REVIEW] " paper42
2022-02-28 23:03 ` paper42
2022-02-28 23:03 ` paper42
2022-03-01  0:54 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-03-01  0:58 ` TinfoilSubmarine
2022-03-01  8:39 ` [PR REVIEW] " paper42
2022-03-01 12:54 ` [PR PATCH] [Updated] " TinfoilSubmarine
2022-03-02 23:23 ` [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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35795@inbox.vuxu.org \
    --to=tinfoilsubmarine@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).