Update to latest version.
This commit is contained in:
parent
f8a22a364f
commit
66987b989c
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@
|
|||||||
/processx_3.4.0.tar.gz
|
/processx_3.4.0.tar.gz
|
||||||
/processx_3.4.1.tar.gz
|
/processx_3.4.1.tar.gz
|
||||||
/processx_3.4.2.tar.gz
|
/processx_3.4.2.tar.gz
|
||||||
|
/processx_3.4.3.tar.gz
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
From 4e3715af514b0187bd47d87e8fd99e17ad1d341c Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?G=C3=A1bor=20Cs=C3=A1rdi?= <csardi.gabor@gmail.com>
|
|
||||||
Date: Tue, 11 Feb 2020 11:47:46 +0000
|
|
||||||
Subject: [PATCH] Skip curl fd poll test if offline
|
|
||||||
|
|
||||||
Closes #226.
|
|
||||||
---
|
|
||||||
tests/testthat/test-poll-curl.R | 6 +++++-
|
|
||||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tests/testthat/test-poll-curl.R b/tests/testthat/test-poll-curl.R
|
|
||||||
index f0be69c..dff055e 100644
|
|
||||||
--- a/tests/testthat/test-poll-curl.R
|
|
||||||
+++ b/tests/testthat/test-poll-curl.R
|
|
||||||
@@ -2,10 +2,12 @@
|
|
||||||
context("poll-curl")
|
|
||||||
|
|
||||||
## To resolve....
|
|
||||||
-httpbin()
|
|
||||||
+online <- curl::has_internet()
|
|
||||||
+if (online) httpbin()
|
|
||||||
|
|
||||||
test_that("curl fds", {
|
|
||||||
skip_on_cran()
|
|
||||||
+ if (!online) skip("Offline")
|
|
||||||
|
|
||||||
resp <- list()
|
|
||||||
errm <- character()
|
|
||||||
@@ -55,6 +57,7 @@ test_that("curl fds", {
|
|
||||||
|
|
||||||
test_that("curl fds before others", {
|
|
||||||
skip_on_cran()
|
|
||||||
+ if (!online) skip("Offline")
|
|
||||||
|
|
||||||
pool <- curl::new_pool()
|
|
||||||
url <- httpbin("/delay/1")
|
|
||||||
@@ -86,6 +89,7 @@ test_that("curl fds before others", {
|
|
||||||
|
|
||||||
test_that("process fd before curl fd", {
|
|
||||||
skip_on_cran()
|
|
||||||
+ if (!online) skip("Offline")
|
|
||||||
|
|
||||||
pool <- curl::new_pool()
|
|
||||||
url <- httpbin("/delay/1")
|
|
@ -1,19 +1,17 @@
|
|||||||
%bcond_with check
|
%bcond_with check
|
||||||
|
|
||||||
%global packname processx
|
%global packname processx
|
||||||
%global packver 3.4.2
|
%global packver 3.4.3
|
||||||
%global rlibdir %{_libdir}/R/library
|
%global rlibdir %{_libdir}/R/library
|
||||||
|
|
||||||
Name: R-%{packname}
|
Name: R-%{packname}
|
||||||
Version: 3.4.2
|
Version: 3.4.3
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Execute and Control System Processes
|
Summary: Execute and Control System Processes
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://CRAN.R-project.org/package=%{packname}
|
URL: https://CRAN.R-project.org/package=%{packname}
|
||||||
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||||
# Fix curl test with no network.
|
|
||||||
Patch0001: https://github.com/r-lib/processx/commit/4e3715af514b0187bd47d87e8fd99e17ad1d341c.patch
|
|
||||||
|
|
||||||
# Here's the R view of the dependencies world:
|
# Here's the R view of the dependencies world:
|
||||||
# Depends:
|
# Depends:
|
||||||
@ -50,12 +48,8 @@ with a timeout. It can also poll several processes at once.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -c -n %{packname}
|
%setup -q -c -n %{packname}
|
||||||
|
|
||||||
pushd %{packname}
|
|
||||||
%patch0001 -p1
|
|
||||||
|
|
||||||
# Don't need coverage; it's not packaged either.
|
# Don't need coverage; it's not packaged either.
|
||||||
sed -i 's/covr, //g' DESCRIPTION
|
sed -i 's/covr, //g' %{packname}/DESCRIPTION
|
||||||
popd
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -97,6 +91,9 @@ install -pm 0644 %{packname}/README.md %{buildroot}%{rlibdir}/%{packname}/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.3-1
|
||||||
|
- Update to latest version
|
||||||
|
|
||||||
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 3.4.2-2
|
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 3.4.2-2
|
||||||
- rebuild for R 4
|
- rebuild for R 4
|
||||||
- conditionalize check to break testthat loop
|
- conditionalize check to break testthat loop
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (processx_3.4.2.tar.gz) = 09e42384946d0298f3eb1914963155fa458b51fccf1e1a142fc275c93a7210f2d09d0710699c8b2e8cbf2262dd0dcc94166d608da77cd98fbeb89e37959607c6
|
SHA512 (processx_3.4.3.tar.gz) = aab502de864ab3b3f0ca7bb8b3a5c21bd54e97db85ce024b1e4daab8e48752b87b686a91aa32de6781b59c1a74aaf5aeff36ec3a24be438a5a56df80af68d5a1
|
||||||
|
Loading…
Reference in New Issue
Block a user