From patchwork Sun Oct 22 23:04:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55128 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 5F79427BBE9; Sun, 22 Oct 2023 21:04:58 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 12C5127BBE2 for ; Sun, 22 Oct 2023 21:04:57 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quegi-0001CI-Il; Sun, 22 Oct 2023 16:04:40 -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 1quegg-0001Bc-Q2 for guix-patches@gnu.org; Sun, 22 Oct 2023 16:04:38 -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 1quegg-0004GJ-I3; Sun, 22 Oct 2023 16:04:38 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1queh4-0001Jf-I7; Sun, 22 Oct 2023 16:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66688] [PATCH 1/2] gnu: Add python-av. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 22 Oct 2023 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66688 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66688@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 66688-submit@debbugs.gnu.org id=B66688.16980050945021 (code B ref 66688); Sun, 22 Oct 2023 20:05:02 +0000 Received: (at 66688) by debbugs.gnu.org; 22 Oct 2023 20:04:54 +0000 Received: from localhost ([127.0.0.1]:48315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quegw-0001Iq-4C for submit@debbugs.gnu.org; Sun, 22 Oct 2023 16:04:54 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:52340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quegs-0001IL-0V for 66688@debbugs.gnu.org; Sun, 22 Oct 2023 16:04:52 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-408382da7f0so21871665e9.0 for <66688@debbugs.gnu.org>; Sun, 22 Oct 2023 13:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698005055; x=1698609855; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=HycEOv9JmObLn2+qB47pmULmOGSPMWJ56Wwy+XPOGRQ=; b=FiHuR7Hplle7A8TpDJJfoR+Ie+qQldaVT8CqpaEETkj4Jn7YFh79Upt12LQIUSDOte LKFq+wKy+iY++YvDsc92Ulohjxjq88t9mOotiZon2OOOCJIrtVbyehqf2Yb4gzgP/Qnu TGHnzW5RUeAIMWAKAkO/0Q5vF0MMXVBaR4MFMoOdNcMBmOqvh3Na5r1zeX73VsDi1xjs t0ievrQSdV6g3g8k/HPxomo9/Qre03tanzZ0EQCclkEzl+0AHvcz5Hy/TKdtOZy/n8CG /QYYl7e65NvW4Ejvj1tKso6Ju4+bVPE+D+YK+25piexiFETX5xZQ5HK/gWtU8eUlCGHR 0S2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698005055; x=1698609855; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HycEOv9JmObLn2+qB47pmULmOGSPMWJ56Wwy+XPOGRQ=; b=RRs1Hj30PiCiSuDKZX0pllSV9J9YCjoMyJygM86m+YR12tY5ZCn7rey7sVT30VVHwb ik8u5stJVUNwhPfSmthWzGxVc53wzpBsFOGDr1YEs6ir2AjCO8Yb5GTbsQq7VtEahb7h 0pQIDy5+QX3/w9Hq5+s+/ZNtzaNC6jkVDE6SM914EMyCYbD0vcR7EzBjW8rGrGUXFiWQ vZKom2J3ozeivOKo4ucE60JYtDAA4Wj8HDYpK2cjnVkImevxKgKNCLbTC2UyKRwN7MCM XLKx51Us3tOJi4PSnEjTy5Sgw0hQV38xpQrfVC/MCtUa4SDNtea1/QcWFIeDIFA47FHs EPxQ== X-Gm-Message-State: AOJu0YxjfHQIMPh5z6ieOAtZMwUmx8a84J7v2qeTiX7J4NbOYf4NWBqa jl7t6xASgnJDEaa1np9mqVXjC3E/WmKpFw== X-Google-Smtp-Source: AGHT+IEhYfyKnM07CS6Hhi+j1rZtXIvct2vClmy+XIZ0aSrt/kSO7Z5JgURyxLKZiq3Ol8+8wQZU2Q== X-Received: by 2002:a5d:5229:0:b0:32d:a213:4d7b with SMTP id i9-20020a5d5229000000b0032da2134d7bmr5153652wra.4.1698005054961; Sun, 22 Oct 2023 13:04:14 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id f4-20020a5d50c4000000b0032da319a27asm6314244wrt.9.2023.10.22.13.04.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 13:04:14 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 23 Oct 2023 00:04:07 +0100 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: , 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-av): New variable. --- gnu/packages/python-xyz.scm | 99 +++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 29ac11df95..1558c74492 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9059,6 +9059,105 @@ (define-public python-lfdfiles experimental data and metadata at the Laboratory for Fluorescence Dynamics.") (license license:bsd-3))) +(define-public python-av + (package + (name "python-av") + (version "10.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "av" version)) + (sha256 + (base32 "01byqsjclkg65mhr6b4i2r2n4y7af9kdd2c35lxny27121b3vzca")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list + ;; Tests require outbound access to download data samples from + ;; http://fate.ffmpeg.org/fate-suite: + ;; + ;; E urllib.error.URLError: + ;; + "--ignore=tests/test_doctests.py" + "--ignore=tests/test_timeout.py" + "-k" + (string-append + "not test_data" + " and not test_container_probing" + " and not test_stream_probing" + " and not test_transcode" + " and not test_codec_tag" + " and not test_parse" + " and not test_decode_audio_sample_count" + " and not test_decoded_motion_vectors" + " and not test_decoded_motion_vectors_no_flag" + " and not test_decoded_time_base" + " and not test_decoded_video_frame_count" + " and not test_encoding_aac" + " and not test_encoding_dnxhd" + " and not test_encoding_dvvideo" + " and not test_encoding_h264" + " and not test_encoding_mjpeg" + " and not test_encoding_mp2" + " and not test_encoding_mpeg1video" + " and not test_encoding_mpeg4" + " and not test_encoding_pcm_s24le" + " and not test_encoding_png" + " and not test_encoding_tiff" + " and not test_encoding_xvid" + " and not test_reading_from_buffer" + " and not test_reading_from_buffer_no_seek" + " and not test_reading_from_file" + " and not test_reading_from_pipe_readonly" + " and not test_reading_from_write_readonly" + " and not test_writing_to_custom_io_dash" + " and not test_writing_to_custom_io_image2" + " and not test_decode_half" + " and not test_seek_end" + " and not test_seek_float" + " and not test_seek_int64" + " and not test_seek_middle" + " and not test_seek_start" + " and not test_stream_seek" + " and not test_selection" + " and not test_stream_tuples" + " and not test_movtext" + " and not test_vobsub" + " and not test_roundtrip" + " and not test_stream_probing")) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'build-extensions + (lambda _ + (invoke "python" "setup.py" "build_ext" "--inplace")))))) + (native-inputs + (list pkg-config + python-cython + python-editorconfig + python-numpy + python-pillow + python-pytest)) + (inputs + ;; XXX: Build is failing with FFmpeg 6.0, unresolved upstream. + ;; See https://github.com/PyAV-Org/PyAV/issues/1106 + (list ffmpeg-5)) + (home-page "https://github.com/PyAV-Org/PyAV") + (synopsis "Pythonic bindings for FFmpeg's libraries") + (description + "PyAV is a Python library that allows for direct and precise manipulation +of media through containers, streams, packets, codecs, and frames. It provides +access to the powerful FFmpeg libraries while managing the complex details as +much as possible. +PyAV also facilitates data transformation and integration with +other packages such as Numpy and Pillow. However, working with media is a +challenging task and PyAV cannot abstract it away or make all the best decisions +for you. If you can accomplish your tasks with the ffmpeg command, PyAV may not +be necessary. Nonetheless, PyAV is an essential tool when working with media +that requires its specific capabilities.") + (license license:bsd-3))) + (define-public python-ffmpeg-python ;; The latest release (0.2.0) is old and its test suite crashs on Python 3.10. (let ((commit "df129c7ba30aaa9ffffb81a48f53aa7253b0b4e6") (revision "0")) From patchwork Sun Oct 22 23:04:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 55129 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 48F3627BBEC; Sun, 22 Oct 2023 21:05:01 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, 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 DAA9727BBEA for ; Sun, 22 Oct 2023 21:04:59 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1quegg-0001BV-IZ; Sun, 22 Oct 2023 16:04:38 -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 1quegd-00016Y-8C for guix-patches@gnu.org; Sun, 22 Oct 2023 16:04:35 -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 1quegd-0004Fy-05; Sun, 22 Oct 2023 16:04:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1queh4-0001JX-61; Sun, 22 Oct 2023 16:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66688] [PATCH 2/2] gnu: Add python-djitellopy. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 22 Oct 2023 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66688 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66688@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 66688-submit@debbugs.gnu.org id=B66688.16980050945014 (code B ref 66688); Sun, 22 Oct 2023 20:05:02 +0000 Received: (at 66688) by debbugs.gnu.org; 22 Oct 2023 20:04:54 +0000 Received: from localhost ([127.0.0.1]:48313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quegv-0001In-NY for submit@debbugs.gnu.org; Sun, 22 Oct 2023 16:04:54 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:59451) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1quegs-0001IP-KF for 66688@debbugs.gnu.org; Sun, 22 Oct 2023 16:04:52 -0400 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-32d81864e3fso1731865f8f.2 for <66688@debbugs.gnu.org>; Sun, 22 Oct 2023 13:04:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698005056; x=1698609856; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=70ggt/eKrms2TEWYW6Ppv2+5M9PpLdMABac8RE45KxY=; b=ZwGwTkatuHSJScYnsDyyNxQXmakL9qRbuUu/6Vee9DO/Atcald0Vkhuo6CMl5LPhxL ixudsWFkj7vxJWtivIwNgtdx255NJtuqiGRY9RbevMTsBapqAYzIWz5jIAImMI9OpwIZ LUvD2kkNfBajlpq/rzqp0GARdz4mXebVU+AHfXILwkVJ6tQlVZsiBr7Xw776hSnLk5z0 zBIqOmywWWWKmnz13C0Xk09C5hRfYumoyCX7dujZWG4bqobdJ8C1QKlbvNQx3QF8v6Rh 7BTfKtUH+pnYFkikDch+Lyfu5iutqcIE5eJQHB9xobsgLmXW2LvzI1v3lTrswtpCnCxB ljuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698005056; x=1698609856; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=70ggt/eKrms2TEWYW6Ppv2+5M9PpLdMABac8RE45KxY=; b=a1gVMMvI0XeukBeIFGAXM3iC3XzkjSjsx6C89krGr1CNtQNFDUxQJj3hlYN8lJo7Ih dWw5FGw4sMx0gbHI0o4TKlTHIZY+oi7CM5TgpSe3DsSFcJ/GoLzPYHDmKVkh6XAdXBxT 0oeWwCCZgfOZh4MnEWxJiMpWUhzz4o6V1GOg8gI61NRGuMQMGpbTBGpue/cIMG1O1qCR w23aCVoeFsJpHqF7lliPrHxYGKr+UJ8rfOy2j8HlyqyMjB7f/DnpbrCjdBiq9Tjh7ZW7 bdRODXN8gjQI1xtyiY/AIf0pGLvTH0pTUtCNegZdQuXnoKaZeu/9MFdcgLz3vVO9qwFp zavA== X-Gm-Message-State: AOJu0YwQHHN1RYK6GF7FHTmW0SYWhP5iELJfpN8HNjLgIGnIr548BSig 7+DVEwDowf0SRRohFd2X0NO0WEkOUwCU2A== X-Google-Smtp-Source: AGHT+IGsrlN8iGUL4xNQOA3cgCvspYt8OPuOg3DEeEc0/fCVqxZ6hOCATrUjuyTLtbXNwLWtt7edxA== X-Received: by 2002:a5d:62d1:0:b0:32d:9e62:b443 with SMTP id o17-20020a5d62d1000000b0032d9e62b443mr4243553wrv.71.1698005055788; Sun, 22 Oct 2023 13:04:15 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id f4-20020a5d50c4000000b0032da319a27asm6314244wrt.9.2023.10.22.13.04.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 13:04:15 -0700 (PDT) From: Sharlatan Hellseher Date: Mon, 23 Oct 2023 00:04:08 +0100 Message-ID: <4b264b1249ff7c4b67c301df8a83f1ab134433b0.1698015372.git.sharlatanus@gmail.com> 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: , 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-djitellopy): New variable. --- gnu/packages/python-xyz.scm | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1558c74492..ef3ec0ee97 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -29932,6 +29932,46 @@ (define-public python-parallel applications with variable CPU loads).") (license license:bsd-3))) +(define-public python-djitellopy + (package + (name "python-djitellopy") + (version "2.5.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "djitellopy" version)) + (sha256 + (base32 "1kc0syb4hpn7fay0rxpazmczag6jw3pncrrc6v762jj0afiwkrps")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; No tests provided. + #:phases + #~(modify-phases %standard-phases + ;; XXX: Can't detect opencv-python version. The input opencv might not + ;; set the version correctly. + (delete 'sanity-check)))) + ;; opencv provides OpenCV-Python which is Listed as install requirement. + (propagated-inputs + (list opencv + python-av + python-numpy + python-pillow)) + (home-page "https://github.com/damiafuentes/DJITelloPy") + (synopsis "DJI Tello drone lib with video streaming, swarms and state packets") + (description + "DJI Tello drone python interface using the official Tello SDK and Tello +EDU SDK. + +This library has the following features: +@itemize +@item Implementation of all tello commands +@item Retrieve a video stream easely +@item Receive and parse state packets +@item Control a swarm of drones +@end itemize") + (license license:expat))) + (define-public python-djvulibre (package (name "python-djvulibre")