From patchwork Fri Jul 21 06:50:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Parnikkapore X-Patchwork-Id: 51887 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9DD1E27BBEA; Fri, 21 Jul 2023 07:57:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FORGED_MSGID_YAHOO,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ABC1627BBE2 for ; Fri, 21 Jul 2023 07:57:22 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMk4f-00067m-T5; Fri, 21 Jul 2023 02:57:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMk4d-00067C-51 for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:11 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMk4c-0003il-TT for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMk4U-0004HB-5i; Fri, 21 Jul 2023 02:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64732] [PATCH v3 1/2] gnu: Add python-ffmpeg-python. Resent-From: Parnikkapore Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 06:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64732 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64732@debbugs.gnu.org Cc: Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 64732-submit@debbugs.gnu.org id=B64732.168992257716334 (code B ref 64732); Fri, 21 Jul 2023 06:57:02 +0000 Received: (at 64732) by debbugs.gnu.org; 21 Jul 2023 06:56:17 +0000 Received: from localhost ([127.0.0.1]:60415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMk3k-0004FM-Fj for submit@debbugs.gnu.org; Fri, 21 Jul 2023 02:56:16 -0400 Received: from sonic309-21.consmr.mail.sg3.yahoo.com ([106.10.244.84]:35932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMk3g-0004Ev-0Z for 64732@debbugs.gnu.org; Fri, 21 Jul 2023 02:56:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689922561; bh=S01f5iNVJHaMlknIMc21oATpqO1pE61LiosrHHZk1bE=; h=From:To:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=Q9yb7AxvZ2KRwBdOyGKap9WQG+mF8IovExOSjHS3riOBYdeyNfcgCJDm3JJclcFoXRSrpXJEb4OYVaIOQPQA/oUM4yfrCLHZX9pQOyKu0iY8cplby395mkAr+yWlG+Nup+NA3K0Fe29whZlzttEiZhoZj4/hoqMwFS331rr62fuljOVgFBOAF9FVUK2/2G0SLhkD37wXjmxQ+/z/X94YpP1q5rozC83vhl8W+eDLh6lje7oCL+mhSJah0uQ4WgkTtZWEfrGVFIVoh+f5cp1kNl39SpXEDYHZ9E215QZCsdWk4Lr5GFJ7xKBFoJs2SlhzPTDl943EzQmm2yogDOzM5A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689922561; bh=zrHTNS7x0JDdWV3zfzEqsUzpB7krLm6m4ZdV/Rwgon5=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=OnkLTC5muSkimo4A073y1pgUzRLEpqxllStgyqbvjPdAug6K/sqIMAAh5J03FVWf5cad+RSg7BOZ38S+GdWkqCxhLkK2lomPND2GATqGjMsPQkGnnCUXU1WkUz1QJPAIBkqccVBpQga760n0uUwTEzrONQyCzQcM4suydSefZVfA/bEyKWCS3LZWqxaLqZvnWVrrhiIrgVa7ZAyOLsp3euCp6KtoPuonCo1fnFvBPZDcY59wgJHmzL5MJOhUuxDLDF9vRfB231xUx8HAFlYils9GdKjR80x9YS4SGR9QvRTPPoZ2T7ln73HKc2sceZC+SQbg+76tXUfELK6ZjKo5Cw== X-YMail-OSG: SgEI1q0VM1lftdZDm3VL9GGS2LWPL3DRJQP5nfKCHIeg7bz8KBz92sd2tqDmedT 9eTLu1zT5If6DgHKTbN7U9c5CUwMEmsgl5Z5XdWbuSVjfksG_1fxzxFVYR1kiTyRmofygpJUOXdM DSc6z8H9KtA8X0v.QNgrTzIGMQHe8pgDM18yUpBNrD4MJ7D.ya8.m1avxWdLThDEXV1Sb_xQ9SlN _54f8eimnweqZjZmlBo25NnrC5M72S53joINtSifUSa5f58jUximRXqepnQXAJXWBYEGKfI6RSke .KcmIQPF0EzsLk9NWC8HT6UgV4A.KSRc5NCpMENP_WRvwYemtebMtUgU2EzvsUlYwytcsw8VeZgQ AruXtKYAdF1gl0fT.jgOzLvtSY9PyHr4pkLti6MqaP3Mu5DnxVyYnqz0TDrnXzP09n0.T8rH_8XO 0vnG92z0dL.XYgfFKo8AYwo53Xkavb.gKZ.D8s1a30bFNm2sIxzKB22q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C4lbrx68dPb8XPfIa6ErF uGFPL3B2mvgO4_3SnDqJg2iIi4pVuI9naUZJe6za_1L6fTO8obI7AqZ3KnphGfWVWy2J1ZTV98MJ 2gRpxHo6GQ66w9NNsPs0SrsDXSzEqD5lFT13qETvVjz1VJrEKFv0K00HzAS.xBgUtd0rrxHmwWBR T4C8IX2e_B5UeRBlOqxzhufWX52xJJ_6XWJ6S.cKqFHH8niNNrDQyIRs3z9GZyeJIptMzwWzRjqA COO82tcurfDw_RjhEOEQqTHoZ0sS7ea7WBFbltHLvio_Z_CusmI4iRatbQaNSU7cpLeovMq2zET6 ispL.P90qP5JAuxHd5NSftOYFlWHxljjV2.YpDMPYUgfKPASkHg836KSr7a47UjsG.i87z0r4vFJ YWbJBXUk05c4WYUObX.q_fmkCFe.sN_y0_QVLV0JHB77acN1E.PQs4G__USliPSv2JZ9X6FtNZBj DdqDkLQsG4wyvabQ77EC4EZfUCyTxDcDrJWXDLr3hbT0LAJ7Wiq7GOrEOZ_2J8fJk6x.irBDb8e7 0p3jcmXXrV0bVXsHsNvh5PsxPLZhAJ0X36GFuXgnnwzIbYENSfyJFsX6wYfKI_3E30tOSgEQQEU. bLr7Kdf_lbeCfcSon1jodRcg.dc49inbhJoq.A.jOv2J9pfCx8gf7Oru9_MNXFiF4SvxbYidxjuf Eugc9Sty3UAdDRpA7UcTBFUjW6DeWNl2wAgD757.MHg91rZVEjOQYSC1rCvdk1f.I3bUG9LbBsOa 8xCAI5jj45KPVPrRV7dPr.d0NT6g- X-Sonic-MF: X-Sonic-ID: 3f0de3f5-9d73-4b85-beb2-bf57c7eba119 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.sg3.yahoo.com with HTTP; Fri, 21 Jul 2023 06:56:01 +0000 Received: by hermes--production-sg3-9dc5f54fc-kq65l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2970c5b3758b3e30d71888506b201133; Fri, 21 Jul 2023 06:55:59 +0000 (UTC) Date: Fri, 21 Jul 2023 13:50:35 +0700 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Parnikkapore X-ACL-Warn: , Parnikkapore via Guix-patches X-Patchwork-Original-From: Parnikkapore via Guix-patches via From: Parnikkapore Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-ffmpeg-python): New variable. --- I was not aware, thank you! The "flag the tests in the source" method is the one I spotted when looking around python-xyz. Included in this email is a v3 that uses the -k flag. gnu/packages/python-xyz.scm | 42 +++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) base-commit: 1d837aaa32a3a2de8f4a1ac391f92effba50834e diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 755b0af4b6..10cadd6e15 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -139,6 +139,7 @@ ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2023 Ontje Lünsdorf +;;; Copyright © 2023 Parnikkapore ;;; ;;; This file is part of GNU Guix. ;;; @@ -8918,6 +8919,47 @@ (define-public python-lfdfiles experimental data and metadata at the Laboratory for Fluorescence Dynamics.") (license license:bsd-3))) +(define-public python-ffmpeg-python + (package + (name "python-ffmpeg-python") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kkroening/ffmpeg-python.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0mmydmfz3yiclbgi4lqrv9fh2nalafg4bkm92y2qi50mwqgffk8f")) + (snippet + #~(begin + (use-modules (guix build utils)) + (substitute* "ffmpeg/_run.py" + (("collections\\.Iterable") + "collections.abc.Iterable")))))) + (build-system python-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "pytest" "-vv" + "-k" "not test_pipe and not test__probe"))))))) + (inputs (list python-future)) + (propagated-inputs (list ffmpeg)) + (native-inputs (list python-future python-numpy python-pytest + python-pytest-mock python-pytest-runner)) + (home-page "https://github.com/kkroening/ffmpeg-python") + (synopsis "Python bindings for FFmpeg - with complex filtering support") + (description + "ffmpeg-python allows you to write FFmpeg filtergraphs in familiar +Python terms, taking care of running ffmpeg with the correct command-line +arguments. It handles arbitrarily large (directed-acyclic) signal graphs.") + (license license:asl2.0))) + (define-public python-imageio-ffmpeg (package (name "python-imageio-ffmpeg")