From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iCB2J8vk82MPHAAAbAwnHQ (envelope-from ) for ; Mon, 20 Feb 2023 22:23:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CO5zJ8vk82P4ZAAA9RJhRA (envelope-from ) for ; Mon, 20 Feb 2023 22:23:23 +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 7A5C639655 for ; Mon, 20 Feb 2023 22:23:23 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676928203; a=rsa-sha256; cv=none; b=Kdg5YRK2eq4BMv5UzpopLmhGD7i40T8Dfe06lrTTTaU1/umSeMUOyPqXBF3zAFl88sgDa6 /gRR3siTuT54brNRzyDjerqeLDa3wKSsaQZpRx+famydQU9qOQLxk1e1YrROhp3hW6nfiZ aKH02RPkmJtQYxRMXzoZ/Xf6fMse4OiBFaAkkByB5hC5iGxMtKEG6+HNr2OMCSUISethsy UPijnCHgfhxUxCKpnpLL+qGfGWGMSEs1kOU5g+f2ZD9+EZ2E3CUOlZWAZEmBR6qIMacxyK JDX1Qrm3RnS3c4QWexanHWQLO8m+mYxqXPlSfa9qvNd4kWDanst7MSnd6wbRZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676928203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: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=u42Sl4ZbyFrc17Jopn0Qqu3pnBR1jh15M6qX1HS7R+8=; b=l+pLUxBnJsX+sp5qJMEEwtZNsQTxx2wAz9sa9BF507tteQnJM2ZwsJx4VlG4nyYJYWoYvu ZhujprMTzsAc7OcRfsuQllN7UzrSuOgmsSJzi6hQeYXVKhUqGQyiCDb5jrkpO3km/v1Bu3 OSry2WTyo4nH+2ikOWqIwtfgeiWxayOa2NuoZBCuMuzPg6k7MU3mx8h4wqfVTr4aKre56T GXDElQ1jg+smmML8+SDSfR1NbTHZTTkk79xn639gWezmy8/szxLqkyTCf8gaUvaUUSa0zy SDVK2+0Dp6NDuONogUXCz6N5pH8JeKLUH5Ra2De7fFM1gSu/egcpX702QXIOxQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pUDcn-0000WD-7f; Mon, 20 Feb 2023 16:23:05 -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 1pUDcm-0000Vm-0H for guix-patches@gnu.org; Mon, 20 Feb 2023 16:23:04 -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 1pUDcl-0003PK-OI for guix-patches@gnu.org; Mon, 20 Feb 2023 16:23:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pUDck-0006Qh-Cw for guix-patches@gnu.org; Mon, 20 Feb 2023 16:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60732] Review References: <20230111163659.wudbizhylifjt3nj@blackbox> In-Reply-To: <20230111163659.wudbizhylifjt3nj@blackbox> Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Feb 2023 21:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60732 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60732@debbugs.gnu.org Received: via spool by 60732-submit@debbugs.gnu.org id=B60732.167692813024638 (code B ref 60732); Mon, 20 Feb 2023 21:23:02 +0000 Received: (at 60732) by debbugs.gnu.org; 20 Feb 2023 21:22:10 +0000 Received: from localhost ([127.0.0.1]:53823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUDbu-0006PK-03 for submit@debbugs.gnu.org; Mon, 20 Feb 2023 16:22:10 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:41656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pUDbp-0006Oh-1x for 60732@debbugs.gnu.org; Mon, 20 Feb 2023 16:22:08 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 698571E26; Mon, 20 Feb 2023 22:21:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DoFadH8G4m3D; Mon, 20 Feb 2023 22:21:57 +0100 (CET) Received: from jurong (unknown [IPv6:2001:861:c4:f2f0:b0aa:56dd:ae73:8afa]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 96BBF126; Mon, 20 Feb 2023 22:21:57 +0100 (CET) Date: Mon, 20 Feb 2023 22:21:56 +0100 From: Andreas Enge Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="LTeLQaXHbnCpnqFX" Content-Disposition: inline Content-Transfer-Encoding: 8bit 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: X-Migadu-Queue-Id: 7A5C639655 X-Spam-Score: -2.15 X-Migadu-Spam-Score: -2.15 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: LAHxHyqe1WnO --LTeLQaXHbnCpnqFX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, attached is a patch with a slightly reworked description and commit message. I verified the license and built the package on x86_64. However, I am not sure about the tests; there is a subdirectory "test", but it is apparently not run by the standard procedure. Maybe it is not meant to be an automatic test? Then scapy.egg-info/requires.txt contains this: [basic] ipython [complete] ipython pyx cryptography>=2.0 matplotlib [docs] sphinx>=3.0.0 sphinx_rtd_theme>=0.4.3 tox>=3.0.0 So it looks like there are a number of propagated- and native-inputs that are missing. It would be good if someone could build and try the package. Someone who knows Python is needed, I give the task back :) Andreas --LTeLQaXHbnCpnqFX Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: attachment; filename="0001-gnu-Add-python-scapy.patch" Content-Transfer-Encoding: 8bit >From cc5e2cb341ae80c87f54fe0854ae8f5bc05a2a68 Mon Sep 17 00:00:00 2001 Message-Id: From: Gabriel Wicki Date: Mon, 9 Jan 2023 16:06:20 +0100 Subject: [PATCH] gnu: Add python-scapy. * gnu/packages/python-xyz.scm (python-scapy): New variable. --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 71a52a7ad8..af481fb9eb 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. ;;; @@ -1453,6 +1454,30 @@ (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? #t)) ;no test + (build-system python-build-system) + (home-page "https://scapy.net") + (synopsis "Python network packet crafting library") + (description + "Scapy is a Python library and executable for interactively +manipulating network packets. It can forge or decode packets of a number +of protocols, send them on the wire, capture them, store or read them +using pcap files, match requests and replies, and so on. +It can handle tasks such as scanning, tracerouting, probing, unit tests, +attacks or network discovery.") + (license license:gpl2))) + (define-public python-shapely (package (name "python-shapely") -- 2.39.1 --LTeLQaXHbnCpnqFX--