parent
80dbc0a756
commit
61e5c389be
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,118 @@
|
||||
From b288e969b6a0ed24913114b7b7eaad5010db5ce1 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Fri, 29 May 2020 09:04:37 +0200
|
||||
Subject: [PATCH 1/4] tests: F_SETFL does not return flags, use F_GETFL again
|
||||
|
||||
Fix TestGreenSocket.test_skip_nonblocking() to call F_GETFL again
|
||||
to get the flags for the socket. Previously, the code wrongly assumed
|
||||
F_SETFL will return flags while it always returns 0 (see fcntl(2)).
|
||||
---
|
||||
tests/greenio_test.py | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/greenio_test.py b/tests/greenio_test.py
|
||||
index 39d77737b..593444d07 100644
|
||||
--- a/tests/greenio_test.py
|
||||
+++ b/tests/greenio_test.py
|
||||
@@ -634,7 +634,8 @@ def test_skip_nonblocking(self):
|
||||
sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
fd = sock1.fd.fileno()
|
||||
flags = fcntl.fcntl(fd, fcntl.F_GETFL)
|
||||
- flags = fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~os.O_NONBLOCK)
|
||||
+ fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~os.O_NONBLOCK)
|
||||
+ flags = fcntl.fcntl(fd, fcntl.F_GETFL)
|
||||
assert flags & os.O_NONBLOCK == 0
|
||||
|
||||
sock2 = socket.socket(sock1.fd, set_nonblocking=False)
|
||||
|
||||
From 803422302f5e813f1f00435d7ae943bf8513946c Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Fri, 29 May 2020 09:07:17 +0200
|
||||
Subject: [PATCH 2/4] tests: Unset O_NONBLOCK|O_NDELAY to fix SPARC
|
||||
|
||||
Fix TestGreenSocket.test_skip_nonblocking() to unset both O_NONBLOCK
|
||||
and O_NDELAY. This is necessary to fix tests on SPARC where both flags
|
||||
are used simultaneously, and unsetting one is ineffective (flags remain
|
||||
the same). This should not affect other platforms where O_NDELAY
|
||||
is an alias for O_NONBLOCK.
|
||||
---
|
||||
tests/greenio_test.py | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/greenio_test.py b/tests/greenio_test.py
|
||||
index 593444d07..736c2e539 100644
|
||||
--- a/tests/greenio_test.py
|
||||
+++ b/tests/greenio_test.py
|
||||
@@ -634,7 +634,9 @@ def test_skip_nonblocking(self):
|
||||
sock1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
||||
fd = sock1.fd.fileno()
|
||||
flags = fcntl.fcntl(fd, fcntl.F_GETFL)
|
||||
- fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~os.O_NONBLOCK)
|
||||
+ # on SPARC, nonblocking mode sets O_NDELAY as well
|
||||
+ fcntl.fcntl(fd, fcntl.F_SETFL, flags & ~(os.O_NONBLOCK
|
||||
+ | os.O_NDELAY))
|
||||
flags = fcntl.fcntl(fd, fcntl.F_GETFL)
|
||||
assert flags & os.O_NONBLOCK == 0
|
||||
|
||||
|
||||
From b742b443d079ec9001a1452e138773b066ed784e Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Fri, 29 May 2020 09:09:07 +0200
|
||||
Subject: [PATCH 3/4] tests: Assume that nonblocking mode might set O_NDELAY to
|
||||
fix SPARC
|
||||
|
||||
Fix test_set_nonblocking() to account for the alternative possible
|
||||
outcome that enabling non-blocking mode can set both O_NONBLOCK
|
||||
and O_NDELAY as it does on SPARC. Note that O_NDELAY may be a superset
|
||||
of O_NONBLOCK, so we can't just filter it out of new_flags.
|
||||
---
|
||||
tests/greenio_test.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/greenio_test.py b/tests/greenio_test.py
|
||||
index 736c2e539..a2d1ad856 100644
|
||||
--- a/tests/greenio_test.py
|
||||
+++ b/tests/greenio_test.py
|
||||
@@ -925,7 +925,10 @@ def test_set_nonblocking():
|
||||
assert orig_flags & os.O_NONBLOCK == 0
|
||||
greenio.set_nonblocking(sock)
|
||||
new_flags = fcntl.fcntl(fileno, fcntl.F_GETFL)
|
||||
- assert new_flags == (orig_flags | os.O_NONBLOCK)
|
||||
+ # on SPARC, O_NDELAY is set as well, and it might be a superset
|
||||
+ # of O_NONBLOCK
|
||||
+ assert (new_flags == (orig_flags | os.O_NONBLOCK)
|
||||
+ or new_flags == (orig_flags | os.O_NONBLOCK | os.O_NDELAY))
|
||||
|
||||
|
||||
def test_socket_del_fails_gracefully_when_not_fully_initialized():
|
||||
|
||||
From d324431b14ea57c6d7b295bd8b00f128ed4c2f5a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Fri, 29 May 2020 09:17:21 +0200
|
||||
Subject: [PATCH 4/4] tests: Increase timeout for
|
||||
test_isolate_from_socket_default_timeout
|
||||
|
||||
Increase the timeout used for test_isolate_from_socket_default_timeout
|
||||
from 1 second to 5 seconds. Otherwise, the test can't succeed
|
||||
on hardware where Python runs slower. In particular, on our SPARC box
|
||||
importing greenlet modules takes almost 2 seconds, so the test program
|
||||
does not even start properly.
|
||||
|
||||
Fixes #614
|
||||
---
|
||||
tests/tpool_test.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/tpool_test.py b/tests/tpool_test.py
|
||||
index 4826f30de..1a730dc10 100644
|
||||
--- a/tests/tpool_test.py
|
||||
+++ b/tests/tpool_test.py
|
||||
@@ -366,7 +366,7 @@ def test_leakage_from_tracebacks(self):
|
||||
|
||||
|
||||
def test_isolate_from_socket_default_timeout():
|
||||
- tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=1)
|
||||
+ tests.run_isolated('tpool_isolate_socket_default_timeout.py', timeout=5)
|
||||
|
||||
|
||||
def test_exception_leak():
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Fri, 29 May 2020 07:38:19 +0000
|
||||
Fri, 29 May 2020 08:38:18 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 29 May 2020 07:38:19 +0000
|
||||
Fri, 29 May 2020 08:38:18 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@
|
||||
BDEPEND=pcre? ( dev-libs/libpcre2 ) virtual/pkgconfig >=virtual/rust-1.37.0
|
||||
DEFINED_PHASES=compile install test unpack
|
||||
DESCRIPTION=a search tool that combines the usability of ag with the raw speed of grep
|
||||
EAPI=7
|
||||
HOMEPAGE=https://github.com/BurntSushi/ripgrep
|
||||
IUSE=pcre debug
|
||||
KEYWORDS=~amd64 ~arm64 ~ppc64 ~x86
|
||||
LICENSE=Apache-2.0 BSD-2 Boost-1.0 || ( MIT Unlicense )
|
||||
RDEPEND=pcre? ( dev-libs/libpcre2 )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/BurntSushi/ripgrep/archive/12.1.0.tar.gz -> ripgrep-12.1.0.tar.gz https://github.com/BurntSushi/ripgrep/releases/download/12.1.0/ripgrep-12.1.0-x86_64-unknown-linux-musl.tar.gz https://crates.io/api/v1/crates/aho-corasick/0.7.10/download -> aho-corasick-0.7.10.crate https://crates.io/api/v1/crates/atty/0.2.14/download -> atty-0.2.14.crate https://crates.io/api/v1/crates/autocfg/1.0.0/download -> autocfg-1.0.0.crate https://crates.io/api/v1/crates/base64/0.12.1/download -> base64-0.12.1.crate https://crates.io/api/v1/crates/bitflags/1.2.1/download -> bitflags-1.2.1.crate https://crates.io/api/v1/crates/bstr/0.2.12/download -> bstr-0.2.12.crate https://crates.io/api/v1/crates/bytecount/0.6.0/download -> bytecount-0.6.0.crate https://crates.io/api/v1/crates/byteorder/1.3.4/download -> byteorder-1.3.4.crate https://crates.io/api/v1/crates/cc/1.0.52/download -> cc-1.0.52.crate https://crates.io/api/v1/crates/cfg-if/0.1.10/download -> cfg-if-0.1.10.crate https://crates.io/api/v1/crates/clap/2.33.0/download -> clap-2.33.0.crate https://crates.io/api/v1/crates/crossbeam-channel/0.4.2/download -> crossbeam-channel-0.4.2.crate https://crates.io/api/v1/crates/crossbeam-utils/0.7.2/download -> crossbeam-utils-0.7.2.crate https://crates.io/api/v1/crates/encoding_rs/0.8.22/download -> encoding_rs-0.8.22.crate https://crates.io/api/v1/crates/encoding_rs_io/0.1.7/download -> encoding_rs_io-0.1.7.crate https://crates.io/api/v1/crates/fnv/1.0.6/download -> fnv-1.0.6.crate https://crates.io/api/v1/crates/fs_extra/1.1.0/download -> fs_extra-1.1.0.crate https://crates.io/api/v1/crates/glob/0.3.0/download -> glob-0.3.0.crate https://crates.io/api/v1/crates/hermit-abi/0.1.12/download -> hermit-abi-0.1.12.crate https://crates.io/api/v1/crates/itoa/0.4.5/download -> itoa-0.4.5.crate https://crates.io/api/v1/crates/jemalloc-sys/0.3.2/download -> jemalloc-sys-0.3.2.crate https://crates.io/api/v1/crates/jemallocator/0.3.2/download -> jemallocator-0.3.2.crate https://crates.io/api/v1/crates/lazy_static/1.4.0/download -> lazy_static-1.4.0.crate https://crates.io/api/v1/crates/libc/0.2.69/download -> libc-0.2.69.crate https://crates.io/api/v1/crates/log/0.4.8/download -> log-0.4.8.crate https://crates.io/api/v1/crates/maybe-uninit/2.0.0/download -> maybe-uninit-2.0.0.crate https://crates.io/api/v1/crates/memchr/2.3.3/download -> memchr-2.3.3.crate https://crates.io/api/v1/crates/memmap/0.7.0/download -> memmap-0.7.0.crate https://crates.io/api/v1/crates/num_cpus/1.13.0/download -> num_cpus-1.13.0.crate https://crates.io/api/v1/crates/packed_simd/0.3.3/download -> packed_simd-0.3.3.crate https://crates.io/api/v1/crates/pcre2/0.2.3/download -> pcre2-0.2.3.crate https://crates.io/api/v1/crates/pcre2-sys/0.2.2/download -> pcre2-sys-0.2.2.crate https://crates.io/api/v1/crates/pkg-config/0.3.17/download -> pkg-config-0.3.17.crate https://crates.io/api/v1/crates/proc-macro2/1.0.12/download -> proc-macro2-1.0.12.crate https://crates.io/api/v1/crates/quote/1.0.4/download -> quote-1.0.4.crate https://crates.io/api/v1/crates/regex/1.3.7/download -> regex-1.3.7.crate https://crates.io/api/v1/crates/regex-automata/0.1.9/download -> regex-automata-0.1.9.crate https://crates.io/api/v1/crates/regex-syntax/0.6.17/download -> regex-syntax-0.6.17.crate https://crates.io/api/v1/crates/ryu/1.0.4/download -> ryu-1.0.4.crate https://crates.io/api/v1/crates/same-file/1.0.6/download -> same-file-1.0.6.crate https://crates.io/api/v1/crates/serde/1.0.107/download -> serde-1.0.107.crate https://crates.io/api/v1/crates/serde_derive/1.0.107/download -> serde_derive-1.0.107.crate https://crates.io/api/v1/crates/serde_json/1.0.52/download -> serde_json-1.0.52.crate https://crates.io/api/v1/crates/strsim/0.8.0/download -> strsim-0.8.0.crate https://crates.io/api/v1/crates/syn/1.0.19/download -> syn-1.0.19.crate https://crates.io/api/v1/crates/termcolor/1.1.0/download -> termcolor-1.1.0.crate https://crates.io/api/v1/crates/textwrap/0.11.0/download -> textwrap-0.11.0.crate https://crates.io/api/v1/crates/thread_local/1.0.1/download -> thread_local-1.0.1.crate https://crates.io/api/v1/crates/unicode-width/0.1.7/download -> unicode-width-0.1.7.crate https://crates.io/api/v1/crates/unicode-xid/0.2.0/download -> unicode-xid-0.2.0.crate https://crates.io/api/v1/crates/walkdir/2.3.1/download -> walkdir-2.3.1.crate https://crates.io/api/v1/crates/winapi/0.3.8/download -> winapi-0.3.8.crate https://crates.io/api/v1/crates/winapi-i686-pc-windows-gnu/0.4.0/download -> winapi-i686-pc-windows-gnu-0.4.0.crate https://crates.io/api/v1/crates/winapi-util/0.1.5/download -> winapi-util-0.1.5.crate https://crates.io/api/v1/crates/winapi-x86_64-pc-windows-gnu/0.4.0/download -> winapi-x86_64-pc-windows-gnu-0.4.0.crate
|
||||
_eclasses_=bash-completion-r1 e5f9c3faab3ab3d1e7e007daa8c736ef cargo 4cfad681317daaca938cc223bc0166a3 multilib 0914eab919f4f11dd9e0407b92af4726 multiprocessing cac3169468f893670dac3e7cb940e045 toolchain-funcs d3e75048a89c0445838d2f44e5c65d97
|
||||
_md5_=ec62b5799f0fa7700f4a6379e9de98c8
|
Binary file not shown.
Binary file not shown.
@ -1,14 +1,14 @@
|
||||
BDEPEND=virtual/pkgconfig
|
||||
DEFINED_PHASES=configure install postinst postrm preinst prepare
|
||||
DEPEND=dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtopengl:5 virtual/glu dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
DEPEND=dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtopengl:5 dev-qt/qtxml:5 virtual/glu dev-util/desktop-file-utils x11-misc/shared-mime-info
|
||||
DESCRIPTION=Open source, multi-platform generator of the Mandelbrot family fractals
|
||||
EAPI=7
|
||||
HOMEPAGE=https://fraqtive.mimec.org/
|
||||
IUSE=cpu_flags_x86_sse2
|
||||
KEYWORDS=~amd64 ~x86
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtopengl:5 virtual/glu
|
||||
RDEPEND=dev-qt/qtcore:5 dev-qt/qtgui:5 dev-qt/qtopengl:5 dev-qt/qtxml:5 virtual/glu
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/fraqtive/fraqtive-0.4.8.tar.bz2
|
||||
_eclasses_=estack 686eaab303305a908fd57b2fd7617800 multilib 0914eab919f4f11dd9e0407b92af4726 qmake-utils 4eb5e05ef7ee630c003e3f0edc094135 toolchain-funcs d3e75048a89c0445838d2f44e5c65d97 xdg c7ba313ea1eaf266f95cc6235f7d6a07 xdg-utils ff2ff954e6b17929574eee4efc5152ba
|
||||
_md5_=14962061662f899ff9cb700763917741
|
||||
_md5_=95e381838050cfd7caa812454617302c
|
@ -1 +1 @@
|
||||
Fri, 29 May 2020 07:38:19 +0000
|
||||
Fri, 29 May 2020 08:38:18 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri 29 May 2020 07:38:19 AM UTC
|
||||
Fri 29 May 2020 08:38:18 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 29 May 2020 08:00:01 +0000
|
||||
Fri, 29 May 2020 09:00:01 +0000
|
||||
|
@ -1 +1 @@
|
||||
8d3a3924204e2163539c740963bd43041d13e0c6 1590737101 2020-05-29T07:25:01+00:00
|
||||
0ee8df59576601e98af0269aa96a66f2f8b713c6 1590739508 2020-05-29T08:05:08+00:00
|
||||
|
@ -1 +1 @@
|
||||
1590737701 Fri 29 May 2020 07:35:01 AM UTC
|
||||
1590741301 Fri 29 May 2020 08:35:01 AM UTC
|
||||
|
@ -1 +1 @@
|
||||
Fri, 29 May 2020 07:38:19 +0000
|
||||
Fri, 29 May 2020 08:38:18 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue