[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62252] [PATCH 01/19] gnu: Add python-imageio-ffmpeg.
From: |
Liliana Marie Prikler |
Subject: |
[bug#62252] [PATCH 01/19] gnu: Add python-imageio-ffmpeg. |
Date: |
Sat, 18 Mar 2023 07:49:23 +0100 |
* gnu/packages/python-xyz.scm (python-imageio-ffmpeg): New variable.
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c8b3b3378..1633cec7a6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8015,6 +8015,35 @@ (define-public python-lfdfiles
experimental data and metadata at the Laboratory for Fluorescence Dynamics.")
(license license:bsd-3)))
+(define-public python-imageio-ffmpeg
+ (package
+ (name "python-imageio-ffmpeg")
+ (version "0.4.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "imageio-ffmpeg" version))
+ (sha256
+ (base32
+ "1a8as5c42s8yl79gc2nhj6vvkwr81p5ibxp5m1zhn1zy22nhbapx"))))
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'hardcode-ffmpeg
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "imageio_ffmpeg/_utils.py"
+ (("os\\.getenv\\(\"IMAGEIO_FFMPEG_EXE\".*\\)" all)
+ (string-append "(" all " or \""
+ (search-input-file inputs "bin/ffmpeg")
+ "\")"))))))))
+ (inputs (list ffmpeg-4))
+ (build-system python-build-system)
+ (home-page "https://github.com/imageio/imageio-ffmpeg")
+ (synopsis "FFMPEG wrapper for Python")
+ (description "This package provides an FFMPEG wrapper for working with video
+files. It implements generator functions for reading and writing data to and
+from FFMPEG, reliably terminating the process when done.")
+ (license license:bsd-2)))
+
(define-public python-imageio
(package
(name "python-imageio")
base-commit: 933051281fbed0ae71bd40c24a701faf2a02791c
prerequisite-patch-id: c3be9239b1cf8341b20835040d80e1c205474bdd
prerequisite-patch-id: ff86f1f4a060eb03f5c1a2ec78100a59ab0f00bf
prerequisite-patch-id: 2459d04db70b60050922b829fca25f141cc6e33d
prerequisite-patch-id: d2ebab26bf7d2336992acbca195cb4069c58937f
prerequisite-patch-id: fbec221e54078b13b19fe0f733dca8bcd14591ec
prerequisite-patch-id: 1747a765c51ee94c063ec10230aac856e6df22b4
--
2.39.2
- [bug#62252] [PATCH 00/19] Add python-clinguin, Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 01/19] gnu: Add python-imageio-ffmpeg.,
Liliana Marie Prikler <=
- [bug#62252] [PATCH 02/19] gnu: python-imageio: Update to 2.26.0., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 04/19] gnu: Add python-clingraph., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 05/19] gnu: python-pathspec: Update to 0.11.0., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 13/19] gnu: python-pymysql: Update to 1.0.2., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 06/19] gnu: python-pathspec: Revise description., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 08/19] gnu: python-pathspec: Move to (gnu packages python-build)., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 09/19] gnu: python-pluggy: Move to (gnu packages python-build)., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 15/19] gnu: python-aiosqlite: Update to 0.18.0., Liliana Marie Prikler, 2023/03/18
- [bug#62252] [PATCH 07/19] gnu: Add python-pluggy-next., Felix Gruber, 2023/03/18
- [bug#62252] [PATCH 03/19] gnu: Separate potassco packages into their own module., Liliana Marie Prikler, 2023/03/18