[bug#78993,v2,1/2] gnu: Add python-ioctl-opt.

Message ID CH3PR84MB34240B62DBC989529B9855EEC54BA@CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM
State New
Headers
Series [bug#78993,v2,1/2] gnu: Add python-ioctl-opt. |

Commit Message

Morgan Smith July 11, 2025, 6:25 p.m. UTC
* gnu/packages/python-xyz.scm (python-ioctl-opt): New variable.

Change-Id: I5eef30444528fa722a12268a58c956993dcd47d1
---
 gnu/packages/python-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)


base-commit: d31a92c6242145724783b692941545384fd71bc4
  

Comments

Andreas Enge July 12, 2025, 10:05 a.m. UTC | #1
Hello Morgan,

thanks for the updates and fixes, and for researching related issues.
I am going to push your commits.

Fredrik, I am also closing your issue; if it is not fixed, please feel
free to reopen it or to file a new one on codeberg.

Andreas
  

Patch

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4a3f0aa9ea7..c1bce966a37 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32071,6 +32071,24 @@  (define-public python-iocapture
 standard error channel (stderr) in your program.")
       (license license:expat))))
 
+(define-public python-ioctl-opt
+  (package
+    (name "python-ioctl-opt")
+    (version "1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "ioctl-opt" version))
+       (sha256
+        (base32 "1ygjgkzn0i61zk2yr27aqnma08c8xpblhdixli9f20if1nlgkm2y"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-setuptools python-wheel))
+    (home-page "http://github.com/vpelletier/python-ioctl-opt")
+    (synopsis "Functions to compute fnctl.ioctl's opt argument")
+    (description
+     "This package provides functions to compute fnctl.ioctl's opt argument.")
+    (license license:gpl2+)))
+
 (define-public python-anyio
   (package
     (name "python-anyio")