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") From patchwork Fri Jul 21 06:50:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Parnikkapore X-Patchwork-Id: 51886 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 638F727BBEA; Fri, 21 Jul 2023 07:57:15 +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,URIBL_BLOCKED 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 74CC927BBE2 for ; Fri, 21 Jul 2023 07:57:14 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMk4W-00066v-G6; Fri, 21 Jul 2023 02:57:04 -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 1qMk4U-00066h-WF for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:03 -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 1qMk4U-0003iE-NF for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMk4U-0004HI-J6 for guix-patches@gnu.org; Fri, 21 Jul 2023 02:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64732] [PATCH v3 2/2] gnu: Add r128gain. Resent-From: Parnikkapore Original-Sender: "Debbugs-submit" Resent-CC: 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 Received: via spool by 64732-submit@debbugs.gnu.org id=B64732.168992257916349 (code B ref 64732); Fri, 21 Jul 2023 06:57:02 +0000 Received: (at 64732) by debbugs.gnu.org; 21 Jul 2023 06:56:19 +0000 Received: from localhost ([127.0.0.1]:60419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMk3m-0004Fd-UC for submit@debbugs.gnu.org; Fri, 21 Jul 2023 02:56:19 -0400 Received: from sonic302-19.consmr.mail.sg3.yahoo.com ([106.10.242.139]:37955) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMk3k-0004F5-P2 for 64732@debbugs.gnu.org; Fri, 21 Jul 2023 02:56:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689922567; bh=IbzqcV9xYyQHRw1dzSSdJJnecNNmYBiIMLN5uCHnj1o=; h=From:To:Subject:Date:In-Reply-To:References:From:Subject:Reply-To; b=kovQhEXcLYp696o/ZDj/mKx7vjrQeUIR5dAzEQuMDM2I0IKoRCX3vhCfe5RoL5qzj17xAvBkPdMJoqANyEap2CGESmDdeaKzNUg4v7YQtSkqjJr5JsYCrF6yAFbfc3mvGp8qiKYlKpx/VQ8xxR0yd95LbCf6IYkjRYUraaap/FYh6t81XpNPCgVeFrw0IXocPClGX3sg5ZgObbdAm5GPb0YZHwTxNOAX4ZDlnFwT4EKgqtl8GTokMwCg9Z/T7Hg93jE8NldYmLkXc9XP85WNwiS5ZsLnBW/FsTLmaloB1fhZKHbn8+JQFHgKLk6A+sh087C3a84KLa87E/xc71+Wfg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1689922567; bh=5REEJDQMfz8XaQj9P91eaeIunD/JHnRJ131YSpilZFI=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=U1q8gbEq0KJjlB2v+R3jXhPi2Mz9D2tzD9l2mcrby/YatMjyKHMKgmZ9PVpcBKcDtj1Pyjw+Qq3VZuV8cxWvJTaA54p5nBaFed+ge/vlou4wBbBrqlY48AZOWdbslNFfcoy66TsdC+TMYcb7yBHoScQoIzODk8I4owCWVkw9QdXOD2SNlOVFdy2iVyzpKdB/Yi7QqhFQk5ryOr7qgXLrdRbWXEVNE/Q65zu14+zWwe6kSN825ero86vI0P4yEDsAN9k6wRlYxGbcEpz45uP+bXauvF1hJD4ye2Yd9AKfSWARvdHUQ1HvUCLkQZLbxw6hxLsCacFJ5zyJe0IJTsxtxw== X-YMail-OSG: vgKIq6kVM1l3O_1jVCp3jGIx.PXElEDROXzpRrMgYNVlMFoi_2cKkDzO7c32r1P L4pfn.gSG7SwkD9KcBvOiLO2fofex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PmGpOE6B8C8jKbQNTGpq9V3U3Holh nfV1BuY1aszb1EdRz6g_ZI6am95ANh_G_xZahn_PuhSz8ZU1CZF1V1oPvHhR24E84D4PIqMI7.DV aOBmiypnGWz3OEsLETbhg8nglYA-- X-Sonic-MF: X-Sonic-ID: 5f5f8884-0e2e-4631-9637-a4a3c6632d87 Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.sg3.yahoo.com with HTTP; Fri, 21 Jul 2023 06:56:07 +0000 Received: by hermes--production-sg3-9dc5f54fc-kq65l (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2970c5b3758b3e30d71888506b201133; Fri, 21 Jul 2023 06:56:01 +0000 (UTC) Date: Fri, 21 Jul 2023 13:50:36 +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/audio.scm (r128gain): New variable. --- gnu/packages/audio.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 8a11d2d6cc..db23635f15 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -45,6 +45,7 @@ ;;; Copyright © 2023 Sharlatan Hellseher ;;; Copyright © 2023 Gabriel Wicki ;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2023 Parnikkapore ;;; ;;; This file is part of GNU Guix. ;;; @@ -116,7 +117,9 @@ (define-module (gnu packages audio) #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate #:use-module (gnu packages python) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) @@ -4691,6 +4694,35 @@ (define-public bs1770gain loudness of audio and video files to the same level.") (license license:gpl2+))) +(define-public r128gain + (package + (name "r128gain") + (version "1.0.7") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/desbma/r128gain.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0zqclskkjb9hfdw9gq6iq4bs9dl1wj9nr8v1jz6s885379q9l8i7")))) + (build-system python-build-system) + (inputs (list python-crcmod python-ffmpeg-python python-mutagen + python-tqdm)) + (propagated-inputs (list ffmpeg)) + (native-inputs (list python-future python-requests)) + (home-page "https://github.com/desbma/r128gain") + (synopsis "Fast audio loudness scanner & tagger") + (description + "r128gain is a multi platform command line tool to scan your audio +files and tag them with loudness metadata (ReplayGain v2 or Opus R128 gain +format), to allow playback of several tracks or albums at a similar +loudness level. r128gain can also be used as a Python module from other +Python projects to scan and/or tag audio files.") + ;; setup.py claims LGPL2+, but this is not corroborated anywhere else + (license license:lgpl2.1))) + (define-public filteraudio (let ((revision "1") (commit "2fc669581e2a0ff87fba8de85861b49133306094"))