From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id AHe4IM49QmdQBQAAqHPOHw:P1 (envelope-from ) for ; Sat, 23 Nov 2024 20:40:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id AHe4IM49QmdQBQAAqHPOHw (envelope-from ) for ; Sat, 23 Nov 2024 21:40:46 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=l+ff4AJV; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=m3tIMSya; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732394446; a=rsa-sha256; cv=none; b=dWUWz5ixSLb3Fsjzq1rQGvDcOB3YMLe32XCmdL6lVqO0WGDrsxd8Y1oXegjibrgQIGjHBW 2qtVb+ibGchCZZHnkMjwG/xZBB+xlkb7icZhFNBWZOCyu2JDnejg5RkXUU7YgJ6YSU8Kum ANL2Tey87Fg/fvmD4Q7r94rScYqXtDZ5ti0W2LaVUMB4fGt7lLV+A8KT921Ec/ZhK8vcC5 MlQpR2M3GSlgeXdroatQK/ciy5pwi+osavp3TdZnPO7YcKY2cDJSrBJizJwfLDNrCf4zE2 GxfGaSmI3qmYTuhHm0N0Ob6g/qwNzE9di9W0EAc0+Go0DwUZ4VsdJJeHVTTIeg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=l+ff4AJV; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=m3tIMSya; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732394446; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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:dkim-signature; bh=IBC1kC6iUrWDDHdFAHCWTBb+JHCQls15seEm6yIVg7w=; b=QxKHnHb+ORvQs/11TlK3TS3Ox8O3e3J3nHjUE62weduiEfm/uaBo1D3Lof9P0kgjd+0E4e W0SaV7DRj5TzpByJG0jAF8Hr516lTEfZQIewoBTs2+K6u8o0c/8cHaCWb951DsdLvQXz0W fGTwQ8MaLAMvcubKoolBSUzP9pnWrZ43zMMUURX50SSIq7QfR7dMMIK7JMeNjjHfDUt30m 3uukerPM4iCsbEVVTod0mHi91HFWwwG91n0qttDS7wwQeyXeOvnGV/bgBPmGTG04JIMzUe +bAjDOTLq/POPVatFgXb08cYrTL6q9S0rKe1R7IcEukV/SNKp3uPsoJqmiIOTw== 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 0BC0987A9A for ; Sat, 23 Nov 2024 21:40:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEwCz-0003Tt-F2; Sat, 23 Nov 2024 14:54:21 -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 1tEwCo-0003Kt-Un for guix-patches@gnu.org; Sat, 23 Nov 2024 14:54:11 -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 1tEwCo-0000g7-MS; Sat, 23 Nov 2024 14:54:10 -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:References:In-Reply-To:Date:From:To:Subject; bh=IBC1kC6iUrWDDHdFAHCWTBb+JHCQls15seEm6yIVg7w=; b=l+ff4AJVYa/v2HMq4CqU8BI+A/xkGU4uCEXDSZyK9MbVSLxpz0nVwqfYPrGd2sKwHZ9utmxjcGBUypEAQRSD8XpkabXKgHVVu0CfFP98/GwTjDuKBXLO+wlgu0SglPsMET4pswN3T4dxqJTk4rF49ul5HJphECmKSGO70j+1Ta3MlketC3zg79TbRFe3iQQalMJzo4p4/1pBV5dHDVCy3o6W75WDmQWxtsAnsDdqRl7MgTYVpDJNSBiy2XtDQwJADmQIFbsz6GJ5SCrTR3/SciJjuhnVsqpY7U+Bg8pVxWqxQ0Uq9+GvIIbyU4zXHJ1cIdS+CHI9bHJ2FCFJAYobmg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tEwCj-0002k1-Dp; Sat, 23 Nov 2024 14:54:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74497] [PATCH 20/46] gnu: Add python-puremagic. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 23 Nov 2024 19:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74497 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74497@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 74497-submit@debbugs.gnu.org id=B74497.173239162310253 (code B ref 74497); Sat, 23 Nov 2024 19:54:05 +0000 Received: (at 74497) by debbugs.gnu.org; 23 Nov 2024 19:53:43 +0000 Received: from localhost ([127.0.0.1]:59364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEwCM-0002fF-HY for submit@debbugs.gnu.org; Sat, 23 Nov 2024 14:53:42 -0500 Received: from mail-wm1-f52.google.com ([209.85.128.52]:50443) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tEwBr-0002Xw-3x for 74497@debbugs.gnu.org; Sat, 23 Nov 2024 14:53:11 -0500 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-43161c0068bso28628025e9.1 for <74497@debbugs.gnu.org>; Sat, 23 Nov 2024 11:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732391525; x=1732996325; 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=IBC1kC6iUrWDDHdFAHCWTBb+JHCQls15seEm6yIVg7w=; b=m3tIMSyaq/LMYsiGtzOqobAcCZzS6eaXIR2vFH9KH2KgnX8AW75VvFOl7ATJ8M9HK5 /SZpimVZDAkaKPs/6WcxGC/S8uGIYJax4/pwtveDRIJCmL//pdkdmaXCTilJ1NEPUdI9 jUmhbZ5ejBYsq7e3WKdn6yWPmGrgQDueasxMoqCLb0+VHFXfv0k1RmRzfa+XFincz6Hm H+O/53I/eYqkRXnEkPgDchapMuLkq2+ipdniYBNW8iqzX1CmuRm1CD1UgyxQgPr+tk0k ZyHFKvQdykcMR7w5YUpoEw5Gzasoq1LdpyKnFNSIEwqhJItu5BfQT6Odpy9WB6o47aoc aHIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732391525; x=1732996325; 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=IBC1kC6iUrWDDHdFAHCWTBb+JHCQls15seEm6yIVg7w=; b=wMy9MLqIzQI4BB4Oiwo64S8Vh9lW4xsFbsO5FR5yS8rVECoS8pL5hr4K8L7o3mPyzZ AU/F4Yufy+uRzvRctI3pi4VmqrOK8WHOnX9yz1i/F4y8EjWbWK0TCDD5IFJ3QnLcc7Ep 4iQ6IRy8FZ1ERP6ioPN6dX5vvai4mpS9igVvGiWbnuFFF+/hh/0BsQmgAdfE1NTqn5Ai zr5sI4twURioMkE12HCTgYvVKVNG4Cca4BLQocHiQpFmZxtgL5fGqVq2zukEbMsP2eQO IFg1tIM7j7qKXEkuAK/XPR0bIJSrTXj1zpij7wgPLKkqYHP9RJl6Ke0ZMkRe+1wM0j96 0+rA== X-Gm-Message-State: AOJu0Yx9+W7MzCywxJkF5qBeByxWEHNFsUuMP2ahn2KKpZ+2oOalS1nq xBb4W4ccJ58dWC2QcTaqSgtopFuqxBPwoN+t+r1OWZgqsIGYn7NmcMMXSCjtm4I= X-Gm-Gg: ASbGncv8q+P0lhgMEslrnQ+X0VEGYw4LVAdR7uc8WSUIP7uVIldu+JejjkuZZM2K9Eo o3d5KQn4G33mzrx9iE2lLw6inesXLlD9jj2/vWT+pIgEACTsB+y8SvsTQ2lHK+B+afl73sPP3oH BBUsVekGl1yfKEIrOMPB8SyrCrsKUYypWYgmC/7uvEOW2P99uSV6PZPIuWxG2DTE7srdZRDa8IO dRASbmsHMcKU6P5zhdgCFrc1Y6gNaUBS+J81TzmKhlVlnnxenhEvEqdm+5pB6t5GQns79434KCO ok5XJQ97yZvF03VcyL6wsy4/E+MwaKceiBZOpJxxOg== X-Google-Smtp-Source: AGHT+IHaIG3JVMwQ2UbBSmqtrxPaf1BQj4j4CWeoeyDX+QqBAlwL6/IxbgcbyE7eZFqokPGto8NJkw== X-Received: by 2002:a05:600c:46c7:b0:431:50cb:2398 with SMTP id 5b1f17b1804b1-433ce41bf62mr68471545e9.2.1732391525528; Sat, 23 Nov 2024 11:52:05 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fafe338sm5972894f8f.33.2024.11.23.11.52.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2024 11:52:05 -0800 (PST) From: Sharlatan Hellseher Date: Sat, 23 Nov 2024 19:51:07 +0000 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 1.12 X-Spam-Score: 1.12 X-Migadu-Queue-Id: 0BC0987A9A X-Migadu-Scanner: mx10.migadu.com X-TUID: mbXyrryMlGhm * gnu/packages/python-xyz.scm (python-puremagic): New variable. Change-Id: I326d15cdf6eb088f456954c28fd735bc1890840a --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 3872b511a1..4ec6407571 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -12827,6 +12827,29 @@ (define-public python-pure-eval abstract syntax tree (AST) nodes without side effects.") (license license:expat))) +(define-public python-puremagic + (package + (name "python-puremagic") + (version "1.28") + (source + (origin + (method git-fetch) ;no tests in PyPI archive + (uri (git-reference + (url "https://github.com/cdgriffith/puremagic") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0sffrjjqh37ijwnggyvs2rfm4iwaz2m395wqg0x727wv8i0x3f3b")))) + (build-system pyproject-build-system) + (native-inputs + (list python-pytest)) + (home-page "https://github.com/cdgriffith/puremagic") + (synopsis "Pure Python implementation of magic file detection") + (description + "This package implements a functionality that will identify a file based +off it's magic numbers.") + (license license:expat))) + (define-public python-ast-decompiler (package (name "python-ast-decompiler") -- 2.46.0