From patchwork Sun Feb 16 12:30:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evgeny Pisemsky X-Patchwork-Id: 38733 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 2DBED27BBEA; Sun, 16 Feb 2025 12:32:30 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 486D227BBE2 for ; Sun, 16 Feb 2025 12:32:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tjdog-0004Vr-HW; Sun, 16 Feb 2025 07:32:10 -0500 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 1tjdoZ-0004Ub-P5 for guix-patches@gnu.org; Sun, 16 Feb 2025 07:32:04 -0500 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 1tjdoZ-0004o2-E5 for guix-patches@gnu.org; Sun, 16 Feb 2025 07:32:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=U91T2iNCfSZ/z6mUK3YC48xgFJEwGXpF9NaJg8mDuDY=; b=RdRg3xG55SeDthzhbsrbv+K40UyGpw/pOWHIczn6SNyD5k60ueaI8Qwiu/lJabIb7IYTq9bSdXccg5/1FuiEqviSB22YDMz7gFAiiatUGYFOKynSCxjhBjYoooB8aRva6QWYT6isuvBcRIu1vR9aiSR1v0AontnmtNE6GfxN0efx4/4Y1lysqb+ZU2gH+5tLVw5cl+oYO3CelUkiLXcpnELK9xb+rP+2hVMMgo8V5AniBvnSreRnS5q2TREe3aFAtMS2hupb9vHsaaFNB59NypK4F0kB1nPiJw/GZfChXPn0qrOTO1VEK7JZxi3VlOq7FRvSuH64nq7k/JydvzLzBA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tjdoY-0006Ib-Es for guix-patches@gnu.org; Sun, 16 Feb 2025 07:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#76334] [PATCH] gnu: Add python-platypush. Resent-From: Evgeny Pisemsky Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Feb 2025 12:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76334 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76334@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173970906321807 (code B ref -1); Sun, 16 Feb 2025 12:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2025 12:31:03 +0000 Received: from localhost ([127.0.0.1]:60729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tjdna-0005ef-6m for submit@debbugs.gnu.org; Sun, 16 Feb 2025 07:31:02 -0500 Received: from lists.gnu.org ([2001:470:142::17]:55542) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tjdnX-0005LF-0r for submit@debbugs.gnu.org; Sun, 16 Feb 2025 07:30:59 -0500 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 1tjdnP-0004OE-AE for guix-patches@gnu.org; Sun, 16 Feb 2025 07:30:51 -0500 Received: from sofi-shared.hosting.energy ([2001:41d0:602:1f56::] helo=sofi.hosting.energy) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tjdnL-0004hY-4o for guix-patches@gnu.org; Sun, 16 Feb 2025 07:30:49 -0500 Received: from [212.233.84.37] (helo=localhost.localdomain) by sofi.hosting.energy with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1tjdnE-0000kR-8P for guix-patches@gnu.org; Sun, 16 Feb 2025 15:30:40 +0300 From: Evgeny Pisemsky Date: Sun, 16 Feb 2025 15:30:30 +0300 Message-ID: <4a357eae96e8e82b36b48bf12c38a52cc5fff0fa.1739709030.git.mail@pisemsky.site> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Received-SPF: permerror client-ip=2001:41d0:602:1f56::; envelope-from=mail@pisemsky.site; helo=sofi.hosting.energy X-Spam_score_int: 19 X-Spam_score: 1.9 X-Spam_bar: + X-Spam_report: (1.9 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.4, RCVD_IN_SBL_CSS=3.335, T_SPF_HELO_PERMERROR=0.01, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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/engineering.scm (python-platypush): New variable. Change-Id: If4719a6c1bc2ee7eb2689a9ada618ec5f86f3f46 --- gnu/packages/engineering.scm | 60 ++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) base-commit: dd7a377c38c2a3e0cb80b0e45b32dfbe4577a739 diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index a5dbe51198..b749fb0e9b 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -146,6 +146,7 @@ (define-module (gnu packages engineering) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) + #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) @@ -1983,6 +1984,65 @@ (define-public python-capstone (propagated-inputs (list capstone)))) +(define-public python-platypush + (package + (name "python-platypush") + (version "1.3.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://git.platypush.tech/platypush/platypush.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1chd60r4misz2i368435yb6hhnm97v8kncjnchxj8mg3mglw9gy0")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'relax-requirements + (lambda _ + (substitute* "requirements.txt" + (("zipp>=3.19.1") + "zipp") + (("urllib3>=2.2.2") + "urllib3")))) + (add-before 'check 'pre-check + (lambda _ + (setenv "HOME" "/tmp")))))) + (native-inputs (list python-setuptools python-wheel python-pytest redis)) + (propagated-inputs (list python-alembic + python-croniter + python-docutils + python-flask + python-marshmallow + python-pillow + python-pygments + python-pyotp + python-dateutil + python-magic + python-pyyaml + python-pyzbar + python-qrcode + python-redis + python-requests + python-rsa + python-sqlalchemy-2 + python-tornado + python-urllib3 + python-websocket-client + python-websockets + python-werkzeug + python-zeroconf + python-zipp)) + (home-page "https://platypush.tech/") + (synopsis "General-purpose automation framework") + (description + "Platypush is a general-purpose and extensible platform for automation across +multiple services and devices with hundreds of supported integrations.") + (license license:expat))) (define-public python-esptool (package