Github messages for voidlinux
 help / color / mirror / Atom feed
From: Piraty <Piraty@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-greenlet: update to 1.1.0.
Date: Tue, 15 Jun 2021 20:03:33 +0200	[thread overview]
Message-ID: <20210615180333.IlhVq3j6rYjN8MnQpOl-X9iEDM2LyhtklwUfdBwdgLA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31514@inbox.vuxu.org>

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

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

https://github.com/Piraty/void-packages python3-greenlet-1.1.0
https://github.com/void-linux/void-packages/pull/31514

python3-greenlet: update to 1.1.0.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [x] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] 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/31514.patch is attached

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

From c8a0e17e375431495e6fdfdac44426056501851c Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Tue, 15 Jun 2021 15:34:54 +0200
Subject: [PATCH 1/3] python3-greenlet: update to 1.1.0.

---
 srcpkgs/python3-greenlet/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-greenlet/template b/srcpkgs/python3-greenlet/template
index 182cada6bedd..e0578b9310fa 100644
--- a/srcpkgs/python3-greenlet/template
+++ b/srcpkgs/python3-greenlet/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-greenlet'
 pkgname=python3-greenlet
-version=0.4.17
+version=1.1.0
 revision=1
 wrksrc="greenlet-${version}"
 build_style=python3-module
@@ -10,12 +10,12 @@ short_desc="Lightweight in-process concurrent programming (Python3)"
 maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="MIT"
 homepage="https://github.com/python-greenlet/greenlet"
-changelog="https://raw.githubusercontent.com/python-greenlet/greenlet/master/NEWS"
+changelog="https://raw.githubusercontent.com/python-greenlet/greenlet/master/CHANGES.rst"
 distfiles="${PYPI_SITE}/g/greenlet/greenlet-${version}.tar.gz"
-checksum=41d8835c69a78de718e466dd0e6bfd4b46125f21a67c3ff6d76d8d8059868d6b
+checksum=c87df8ae3f01ffb4483c796fe1b15232ce2b219f0b18126948616224d3f658ee
 
 do_check() {
-	python3 setup.py test
+	PYTHONPATH="$(cd build/lib* && pwd)" python3 -m unittest discover -v greenlet.tests
 }
 
 post_install() {
@@ -24,7 +24,7 @@ post_install() {
 
 python3-greenlet-devel_package() {
 	depends="python3-greenlet>=${version}_${revision}"
-	short_desc="${short_desc/Python2/Python3} - development files"
+	short_desc+=" - development files"
 	pkg_install() {
 		vmove ${py3_inc}
 	}

From db1f8edb75f95c124a097ad88acd4fb56a4d635d Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Tue, 15 Jun 2021 18:38:28 +0200
Subject: [PATCH 2/3] python3-gevent: update to 21.1.2.

---
 .../python3-gevent/patches/fix-tests.patch    | 13 ++++++++++
 srcpkgs/python3-gevent/template               | 25 +++++++++++++------
 2 files changed, 30 insertions(+), 8 deletions(-)
 create mode 100644 srcpkgs/python3-gevent/patches/fix-tests.patch

diff --git a/srcpkgs/python3-gevent/patches/fix-tests.patch b/srcpkgs/python3-gevent/patches/fix-tests.patch
new file mode 100644
index 000000000000..61ddd278d723
--- /dev/null
+++ b/srcpkgs/python3-gevent/patches/fix-tests.patch
@@ -0,0 +1,13 @@
+OSError: [Errno 97] Address family not supported by protocol
+
+--- src/gevent/tests/test__socket.py
++++ src/gevent/tests/test__socket.py
+@@ -483,7 +483,7 @@
+                 # use', which makes even less sense. The manylinux
+                 # 2010 environment produces 'errno 99 Cannot assign
+                 # requested address', which, I guess?
+-                'refused|not known|already in use|assign'
++                'refused|not known|already in use|assign|not supported'
+         ):
+             socket.create_connection(
+                 (greentest.DEFAULT_BIND_ADDR, connect_port),
diff --git a/srcpkgs/python3-gevent/template b/srcpkgs/python3-gevent/template
index c041e3e3ce8d..4ec0c1ce42ea 100644
--- a/srcpkgs/python3-gevent/template
+++ b/srcpkgs/python3-gevent/template
@@ -1,24 +1,33 @@
 # Template file for 'python3-gevent'
 pkgname=python3-gevent
-version=20.9.0
-revision=5
+version=21.1.2
+revision=1
 wrksrc="gevent-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-Cython"
-makedepends="python3-devel libev-devel c-ares-devel"
-depends="python3-greenlet python3-zope.event python3-zope.interface"
+makedepends="python3-devel libev-devel c-ares-devel python3-greenlet-devel"
+depends="python3-dnspython python3-greenlet python3-zope.event python3-zope.interface"
+checkdepends="${depends} iana-etc"
 short_desc="Coroutine-based Python3 networking library"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="http://www.gevent.org/"
 distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz"
-checksum=a43d6b8335eae4d1ebb3f9585bcb78c397c6f1f141eb2449838167cbb4a40ee3
+checksum=1fc6579fee04c0bc348cb1dcbc10f822129e6af7dcf2c52c24f1497cea3bd45c
 
-export LIBEV_EMBED=0
-export CARES_EMBED=0
+post_extract() {
+	# purge bundled dependencies
+	rm -rf deps
+}
+
+do_check() {
+	PYTHONPATH="$(cd build/lib* && pwd)" python -m gevent.tests
+}
 
 post_install() {
+	vlicense LICENSE
 	# remove python2 compat stuff
 	rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
-	vlicense LICENSE
+	# don't ship tests
+	rm -rf ${DESTDIR}/${py3_sitelib}/gevent/tests
 }

From 0cf0e0996295bd1d9a9731c69d05d3ac9f876949 Mon Sep 17 00:00:00 2001
From: Piraty <piraty1@inbox.ru>
Date: Tue, 15 Jun 2021 19:58:35 +0200
Subject: [PATCH 3/3] python3-neovim: update to 0.4.3.

---
 srcpkgs/python3-neovim/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/python3-neovim/template b/srcpkgs/python3-neovim/template
index 813c95ed9cfa..f6e2a8175a50 100644
--- a/srcpkgs/python3-neovim/template
+++ b/srcpkgs/python3-neovim/template
@@ -1,6 +1,6 @@
 # Template file for 'python3-neovim'
 pkgname=python3-neovim
-version=0.4.2
+version=0.4.3
 revision=1
 wrksrc="pynvim-${version}"
 build_style="python3-module"
@@ -11,4 +11,4 @@ maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
 license="Apache-2.0"
 homepage="https://github.com/neovim/pynvim"
 distfiles="https://github.com/neovim/pynvim/archive/${version}.tar.gz"
-checksum=513b56741b1140e394536e6c29bae112a35b7c3602b71ba34acf2319570e26e7
+checksum=e7c9de44b0201ad874a608270b7a9b10fd48bda65f49bada05815d973ca79391

  parent reply	other threads:[~2021-06-15 18:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 13:36 [PR PATCH] " Piraty
2021-06-15 13:39 ` ericonr
2021-06-15 18:03 ` Piraty [this message]
2021-06-15 18:04 ` [PR PATCH] [Updated] " Piraty
2021-06-15 18:15 ` Piraty
2021-06-17  2:35 ` ericonr
2021-06-17 11:27 ` [PR PATCH] [Merged]: " Piraty
  -- strict thread matches above, loose matches on Subject: below --
2021-05-10 19:09 [PR PATCH] " pfpulux
2021-05-11  8:01 ` [PR PATCH] [Updated] " pfpulux

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=20210615180333.IlhVq3j6rYjN8MnQpOl-X9iEDM2LyhtklwUfdBwdgLA@z \
    --to=piraty@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).