From patchwork Wed Jan 11 16:36:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gabriel Wicki X-Patchwork-Id: 46036 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 61B1F27BBEB; Wed, 11 Jan 2023 16:39:13 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 C30E127BBE9 for ; Wed, 11 Jan 2023 16:39:12 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pFe72-0004Uw-JC; Wed, 11 Jan 2023 11:38:04 -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 1pFe70-0004TQ-Qq for guix-patches@gnu.org; Wed, 11 Jan 2023 11:38:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pFe70-0007e3-J9 for guix-patches@gnu.org; Wed, 11 Jan 2023 11:38:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pFe70-0002JU-A1 for guix-patches@gnu.org; Wed, 11 Jan 2023 11:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60732] New package: python-scapy Resent-From: Gabriel Wicki Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Jan 2023 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60732 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 60732@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16734550638864 (code B ref -1); Wed, 11 Jan 2023 16:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Jan 2023 16:37:43 +0000 Received: from localhost ([127.0.0.1]:43643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFe6g-0002It-Vs for submit@debbugs.gnu.org; Wed, 11 Jan 2023 11:37:43 -0500 Received: from lists.gnu.org ([209.51.188.17]:56302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pFe6f-0002Ii-OB for submit@debbugs.gnu.org; Wed, 11 Jan 2023 11:37:42 -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 1pFe6S-0004EX-LW for guix-patches@gnu.org; Wed, 11 Jan 2023 11:37:29 -0500 Received: from chimborazo.ee.ethz.ch ([129.132.2.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pFe6Q-0007Ul-0I for guix-patches@gnu.org; Wed, 11 Jan 2023 11:37:28 -0500 Received: from blackbox (unknown [85.195.207.206]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: gabriel) by chimborazo.ee.ethz.ch (Postfix) with ESMTPSA id 41AFB40225 for ; Wed, 11 Jan 2023 17:37:03 +0100 (CET) Date: Wed, 11 Jan 2023 17:36:59 +0100 From: Gabriel Wicki Message-ID: <20230111163659.wudbizhylifjt3nj@blackbox> MIME-Version: 1.0 Content-Disposition: inline Received-SPF: pass client-ip=129.132.2.15; envelope-from=gabriel@erlikon.ch; helo=chimborazo.ee.ethz.ch X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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 Hi! I had time to pack some more software for our favorite distro: Python Scapy. It's a powerful tool which allows the creation and inspection of ethernet frames and other network traffic packets from within Python. From f2ca7968afdc5013d78f38e47bf9bfc34af2baa0 Mon Sep 17 00:00:00 2001 From: Gabriel Wicki Date: Mon, 9 Jan 2023 16:06:20 +0100 Subject: [PATCH] gnu: Add package python-scapy * gnu/packages/python-xyz.scm (python-scapy): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 32d826d3c5..7e6704f4aa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -132,6 +132,7 @@ ;;; Copyright © 2022 Garek Dyszel ;;; Copyright © 2022 Baptiste Strazzulla ;;; Copyright © 2022 Nicolas Graves +;;; Copyright © 2023 Gabriel Wicki ;;; ;;; This file is part of GNU Guix. ;;; @@ -1462,6 +1463,27 @@ (define-public python-psutil iotop, uptime, pidof, tty, taskset, pmap.") (license license:bsd-3))) +(define-public python-scapy + (package + (name "python-scapy") + (version "2.5.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "scapy" version)) + (sha256 + (base32 + "1hpbbmpcn4dwj3z7i7sz4cnbpkaf57p7mvl3p84x9n2gflmhq9jv")))) + (arguments + '(#:tests? #f)) ;no test + (build-system python-build-system) + (home-page "https://scapy.net") + (synopsis "Python network packet crafting library") + (description + "Scapy is a powerful interactive packet manipulation program. +It is able to forge or decode packets of a wide number of protocols, send them +on the wire, capture them, match requests and replies, and much more.") + (license license:gpl2))) + (define-public python-shapely (package (name "python-shapely")