pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/R-processx



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Jun  8 14:38:49 UTC 2026

Modified Files:
        pkgsrc/sysutils/R-processx: Makefile distinfo

Log Message:
(sysutils/R-processx) Updated 3.8.5 to 3.9.0

# processx 3.9.0

* New experimental `pipeline` R6 class for running two or more processes
  connected by kernel-level pipes, like a Unix shell pipeline
  (`cmd1 | cmd2 | cmd3`). Data flows directly between child processes
  without passing through R. Works on Unix and Windows (#280).

* New "Process cleanup" article.

* New `linux_pdeathsig` argument to `process$new()`: on Linux, the child
  process receives the specified signal when the parent R process exits.
  Set to `TRUE` for `SIGTERM`, or pass an integer signal number directly
  (e.g. `tools::SIGKILL`). Ignored on non-Linux platforms (#36).

* New `process$get_end_time()` method returns the time when the process
  exited as a `POSIXct`, or `NULL` if it is still running (#218).

* `process$new()` and `run()` now support `pty = TRUE` on Windows 10 version
  1809 and later, in addition to Unix. The Windows implementation uses the
  ConPTY API (`CreatePseudoConsole`). The API is loaded dynamically so
  processx continues to load on older Windows and emits a clear error if
  `pty = TRUE` is requested on an unsupported version (#231).

* `run()` now supports `pty = TRUE` and `pty_options` to run a process in a
  pseudo-terminal (PTY) on Unix and Windows (see above). This causes the
  child to see a real terminal, so programs that disable colour output or
  interactive behaviour when not attached to a terminal will behave as if
  they are. `stderr` is merged into `stdout` (the result's `$stderr` is
  always `NULL`). A file-based `stdin` argument is also supported: its
  contents are fed to the process via the PTY master, followed by an EOF
  signal (#230).

* `process$new()` now supports `">>"` as a prefix for `stdout` and `stderr`
  file paths (e.g. `stdout = ">>output.log"`), which appends output to the
  file instead of truncating it. The file is created if it does not exist (#403).

* `env = "current"` now works correctly as a standalone value, inheriting
  the full environment of the current process (#399).

* `run()` and `process$new()` now support `encoding = "binary"` to capture
  binary output. In this mode `run()` returns `stdout` and `stderr` as raw
  vectors, and `process$read_output()` / `process$read_error()` return raw
  vectors instead of character strings. All bytes are preserved exactly,
  including null bytes and non-UTF-8 byte sequences (#406).

* New `process$read_output_bytes()`, `process$read_error_bytes()` methods
  and `conn_read_bytes()` function for reading raw bytes from a processx
  connection directly (#406).

* On Linux, `process$get_start_time()` now returns the correct wall-clock
  start time. Previously it was systematically ~0.3–0.5 s too early because
  the boot time was read from `/proc/stat btime`, which is truncated to whole
  seconds. processx now derives the boot time from
  `CLOCK_REALTIME − CLOCK_MONOTONIC`, which has nanosecond precision. The
  ps package is updated in tandem to accept handles created by either the old
  or the new method, so new ps + old processx continues to work (#394, #402).

# processx 3.8.7

No changes.

# processx 3.8.6

* `processx::process` objects are cloneable again, temporarily,
  to avoid warning-like messages from R6 2.6.0 and later.

* processx now does not change the state of the RNG (#390).


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/sysutils/R-processx/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/sysutils/R-processx/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/R-processx/Makefile
diff -u pkgsrc/sysutils/R-processx/Makefile:1.13 pkgsrc/sysutils/R-processx/Makefile:1.14
--- pkgsrc/sysutils/R-processx/Makefile:1.13    Thu Oct 23 20:39:13 2025
+++ pkgsrc/sysutils/R-processx/Makefile Mon Jun  8 14:38:49 2026
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.13 2025/10/23 20:39:13 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2026/06/08 14:38:49 mef Exp $
 
 R_PKGNAME=     processx
-R_PKGVER=      3.8.5
-PKGREVISION=   1
+R_PKGVER=      3.9.0
 CATEGORIES=    sysutils
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Execute and control system processes
 LICENSE=       mit
 
-DEPENDS+=      R-R6>=2.4.0:../../devel/R-R6
+DEPENDS+=      R-R6>=2.6.0:../../devel/R-R6
 DEPENDS+=      R-ps>=1.2.0:../../sysutils/R-ps
 
 # Package suggested but not available: 'debugme'

Index: pkgsrc/sysutils/R-processx/distinfo
diff -u pkgsrc/sysutils/R-processx/distinfo:1.12 pkgsrc/sysutils/R-processx/distinfo:1.13
--- pkgsrc/sysutils/R-processx/distinfo:1.12    Sun Feb  2 22:40:32 2025
+++ pkgsrc/sysutils/R-processx/distinfo Mon Jun  8 14:38:49 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2025/02/02 22:40:32 mef Exp $
+$NetBSD: distinfo,v 1.13 2026/06/08 14:38:49 mef Exp $
 
-BLAKE2s (R/processx_3.8.5.tar.gz) = 839a210cba0930383f7cc28b92de204ae880fa28e548d179a369d09c25d98e3e
-SHA512 (R/processx_3.8.5.tar.gz) = 1b9e3a610d8a41c1c492049d61e363952e3bc3d3cfbf63eb28c39c3d28f29bb12ed3e59f2f257bc42f1b8304da194ec6b822a13a7acae8acf5432cd6ac30f863
-Size (R/processx_3.8.5.tar.gz) = 165103 bytes
+BLAKE2s (R/processx_3.9.0.tar.gz) = 36d0cfa7742e14df009ef3ccbb496d9f7914ecd11607a0dc12068fe8d011fec5
+SHA512 (R/processx_3.9.0.tar.gz) = c814a98ef80f7a1fdafd18161a7a546bcadfe0af11783350711fe00c5e51a7a32c271e0c8b60ac5ce8996fdc0777f83b20434a42764835879bd997c8016a2ec9
+Size (R/processx_3.9.0.tar.gz) = 195281 bytes
 SHA1 (patch-src_Makevars) = a19670c772178cdeb974c38a29bfbc262baa12fa



Home | Main Index | Thread Index | Old Index