From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EBAGEX/X72EGvgAAgWs5BA (envelope-from ) for ; Tue, 25 Jan 2022 11:57:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id uDhgDn/X72Ex+gAA9RJhRA (envelope-from ) for ; Tue, 25 Jan 2022 11:57:03 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A62B63B9AF for ; Tue, 25 Jan 2022 11:57:02 +0100 (CET) Received: from localhost ([::1]:40696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nCJVT-0004de-7m for larch@yhetil.org; Tue, 25 Jan 2022 05:57:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCJQH-00087T-Hg for guix-patches@gnu.org; Tue, 25 Jan 2022 05:51:39 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCJPh-0001Yi-Lt for guix-patches@gnu.org; Tue, 25 Jan 2022 05:51:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nCJPh-00045K-Ly for guix-patches@gnu.org; Tue, 25 Jan 2022 05:51:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50663] Add Mycroft - Voice Assistant Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 25 Jan 2022 10:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nicolas Goaziou Cc: 50663@debbugs.gnu.org, phodina@protonmail.com Received: via spool by 50663-submit@debbugs.gnu.org id=B50663.164310781515642 (code B ref 50663); Tue, 25 Jan 2022 10:51:01 +0000 Received: (at 50663) by debbugs.gnu.org; 25 Jan 2022 10:50:15 +0000 Received: from localhost ([127.0.0.1]:47013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCJOw-00044E-Rh for submit@debbugs.gnu.org; Tue, 25 Jan 2022 05:50:15 -0500 Received: from flashner.co.il ([178.62.234.194]:45856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCJOu-00043t-ID for 50663@debbugs.gnu.org; Tue, 25 Jan 2022 05:50:13 -0500 Received: from localhost (unknown [31.210.177.79]) by flashner.co.il (Postfix) with ESMTPSA id 2B0AB40455; Tue, 25 Jan 2022 10:50:06 +0000 (UTC) Date: Tue, 25 Jan 2022 12:49:33 +0200 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Nicolas Goaziou , 50663@debbugs.gnu.org, phodina@protonmail.com References: <87r18wbvnq.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5HWrADjjFQI9tDPU" Content-Disposition: inline In-Reply-To: <87r18wbvnq.fsf@nicolasgoaziou.fr> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643108222; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=MHLh8XDWBKTlc1gYpNwNhkwtTgqonD6M4IIlCHgmIkE=; b=dPVLgWHQ9bbFY8SGWpq2Z9h2MePWWpOpUxfRH6zpNWodilbmrEQSVCvapMYGwKYhuVvabT BGAvCJmH76mHLbru9nbNzp0wun7NsTIwxDyOg7EO4vts6ITz3mOUNh1xvI/f904EJkMem8 LZ5CyXoig6GzpfXWhbGZaoanyGcCnKHkwTLDPhS4TUZScfN2RkHcgl5Nb0gLqzW7vdsaR7 vtenOll0mzcvc+ze2puT5x6XkVuOZmDXWXU+oiN/zoXIg+PBw+3HAHBH3qw+qyZHWMMp91 BI3GosC1YQ/JbChMMlmsqlauLukQS547aZ4R06n5/Z8nNB/CJ5C4ZfQiEIkGKw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643108222; a=rsa-sha256; cv=none; b=UFSNvz8sarUdwXdAFFCQf7u7QqJ88b+fuFVSdPlx/vmHYZxBkVY8brMZHO1eN7cTs0yr0y fb2XCyfQ0i6Lduzgbh+XAwc2IftkeTzQO7ppJK8lHz2EGuOq4TuSq3Ak0CmM6vTR7KpmJP n0SvNPuFzUru5Qd0gWczLtXIdYNCycCXF5Wjg7Uwv/qwsFkYNMxcNgEelDcIP5vrTDs0JH CEO1tgdkvSg8WErLr782zZg0TBu384akDGCqSXbJEMLW8fJ3EKzaGUieuxnFa7XjwZsOzB k2l3Kb5mLh0l+aoE4ZOitUXAi0n+51oHQlif7JCDc/VWksf+ckjeHzxb5z418A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.73 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A62B63B9AF X-Spam-Score: -4.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: En1ZKxJ4hu/i --5HWrADjjFQI9tDPU Content-Type: multipart/mixed; boundary="v9H/NyOPkxDPuEzt" Content-Disposition: inline --v9H/NyOPkxDPuEzt Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 24, 2022 at 11:45:13PM +0100, Nicolas Goaziou wrote: > Hello, >=20 > phodina via Guix-patches via writes: >=20 > > The aim of this patch set is to bring in the MyCroft - private and > > open Voice Assistant. >=20 > Thank you. >=20 > I fixed some descriptions, removed labels from inputs, fixed compilation > with GCC 10 (for Mimic). Then I tried to apply the patch set. Alas > Mycroft core fails to build. You may want to have a look at it. >=20 > I'm sending back the updated patches to you, if that helps. >=20 > Regards, > --=20 > Nicolas Goaziou I made some changes to python-mycroft-core but I couldn't get it to pass the sanity-check or the test suite. I've attached my changes. Also make sure you sort the inputs alphabetically, I found at least a duplicate python-pyxdg. Also some of the patches include a line or two of unrelated indentation changes in other packages. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --v9H/NyOPkxDPuEzt Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename=python-mycroft-core-changes diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 1834152c3c..b9c4529cd5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -21986,63 +21986,61 @@ (define-public python-mycroft-core "02r0vxw0hsihnvviwn4fyspwky3kwq42f9z455q1s70k0snzhb28")))) (build-system python-build-system) (arguments - `(#:phases + `(#:tests? #f ; TODO + #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-requirements (lambda* (#:key inputs #:allow-other-keys) - ;; Use newer version of pkg + ;; Use newer version of packages. + (setenv "MYCROFT_LOOSE_REQUIREMENTS" "1") (substitute* "requirements/requirements.txt" - (("mycroft-messagebus-client==") "mycroft-messagebus-client>=") - (("tornado==") "tornado>=") - (("pyserial==") "pyserial>=") - (("psutil==") "psutil>=") - (("padaos==") "padaos>=") - (("precise-runner==") "precise-runner>=") - (("pocketsphinx==") "pocketsphinx>=") - (("python-dateutil==") "python-dateutil>=") - (("fasteners==") "fasteners>=") - (("requests-futures==") "requests-futures>=") - (("pillow==") "pillow>=") - (("PyYAML==5.4") "PyYAML>=5.3.1") - (("pyxdg==") "pyxdg>=") (("requests>=2.20.0,<2.26.0") "requests>=2.20.0")))) + (replace 'sanity-check + (lambda args + ;(setenv "PYTHONPATH" + ; (string-append "./build/lib:" + ; (or (getenv "PYTHONPATH") + ; ""))) + (apply (assoc-ref %standard-phases 'sanity-check) args))) (replace 'check - (lambda* (#:key tests? #:allow-other-keys) + (lambda* (#:key tests? #:allow-other-keys #:rest args) (when tests? (setenv "PYTHONPATH" (string-append "./build/lib:" (or (getenv "PYTHONPATH") - ""))))))))) + ""))) + (apply (assoc-ref %standard-phases 'check) args))))))) (inputs (list mycroft-mimic pocketsphinx)) (propagated-inputs - (list python-fasteners + (list python-adapt-parser + python-dateutil + python-fann2 + python-fasteners + python-gtts python-inflection - python-pyxdg + python-lingua-franca + python-msk + python-msm python-mycroft-messagebus-client - python-psutil - python-tornado-6 - python-petact - python-precise-runner python-padaos - python-speech-recognition python-padatious - python-msk + python-petact python-pillow - python-gtts - python-requests-futures - python-pyserial python-pocketsphinx - python-adapt-parser - python-lingua-franca - python-pyyaml - python-fasteners + python-psutil + python-pyaudio python-pyee - python-psutil - python-fann2 python-pyxdg - python-websocket-client + python-pyyaml + python-pyserial + python-precise-runner python-requests - python-requests-futures)) + python-requests-futures + python-speech-recognition + python-tornado-6 + python-websocket-client)) + (native-inputs + (list python-pytest)) (home-page "https://github.com/HelloChatterbox/HolmesIV") (synopsis "Mycroft Core, the Mycroft Artificial Intelligence platform") (description "This module provides a hackable open source voice assistant - Mycroft") --v9H/NyOPkxDPuEzt-- --5HWrADjjFQI9tDPU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHv1boACgkQQarn3Mo9 g1GvCRAAuXAf/pkBB7Z11VKrewBDfJkpm6yp+UUoyHtCHtwuBe3IhmBw4kyLDB2m 20NRBB/5UtkgpwLP0SZ7u7dzbf90wEQRZbqBYCe8Fq8fx0CCQM4G1aDp9GX16Ii6 UE+9RGBvqgi5uC0viokxIP6n4KTBs77e/kac942Vkwb7q2a1ryf7+gjvj2CU88gs X99kg41Nr/9yF/Eh6jONOPoB8us+P64kuL4cuxFEkpnzKig0vjKxvG0GN0BTre/l nlKQhnerZ56LSE0frlcOOYTwCD+OpBWIplCJRlEl8DYhbFuM7eCEVB3HM5xrRbu8 bzie+oDRZGnkdJ5UcU8fSEJSgWLgg9UPrlxrPRvUbCY+/bNGqNM5ho3Q3foa/l6W I5KhTJpnpBcegE9Tt3V4Szriz3OvwbNXjtYL0b7PZAIt+iqygNsHS2hWOz75aGQ4 mhzHE6DPXYIQKtbTMa5TE76nC5P+ebQHF5Xc4Z7rrvXNZUBneWaekzQg9Vh0y/JH pGcXCVhJA+5YA7g9nB+M/0IhT32s9vrhUUZIJtKKEbDm4k8bTFkdHNMX405N1Jzr GpYNXveMZN2v1CHw/GLZGiaPM0xFgiqNbf3QpBHpKquXrIlN8yyMXtdkwuZHfZYo Jy/eBzc0Rr/DTwPhBsDPOvsLOmEBhXwArjOUN/vtB8oSfm1DLfM= =VlMw -----END PGP SIGNATURE----- --5HWrADjjFQI9tDPU--