From patchwork Sun Oct 3 07:41:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33585 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 AFA7127BBE3; Sun, 3 Oct 2021 08:42:23 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 70C9727BBE1 for ; Sun, 3 Oct 2021 08:42:23 +0100 (BST) Received: from localhost ([::1]:50798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWw8c-0002x2-Hr for patchwork@mira.cbaines.net; Sun, 03 Oct 2021 03:42:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWw8J-0002wg-3N for guix-patches@gnu.org; Sun, 03 Oct 2021 03:42:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWw8I-0008TC-RJ for guix-patches@gnu.org; Sun, 03 Oct 2021 03:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWw8I-0005ir-Gd for guix-patches@gnu.org; Sun, 03 Oct 2021 03:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50987] [PATCH 1/2] gnu: Add python-pyphotonfile. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 03 Oct 2021 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50987 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50987@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.163324689121958 (code B ref -1); Sun, 03 Oct 2021 07:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Oct 2021 07:41:31 +0000 Received: from localhost ([127.0.0.1]:60930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWw7n-0005i6-Jg for submit@debbugs.gnu.org; Sun, 03 Oct 2021 03:41:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:54166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWw7l-0005hy-Ew for submit@debbugs.gnu.org; Sun, 03 Oct 2021 03:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36402) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWw7j-0002tJ-HR for guix-patches@gnu.org; Sun, 03 Oct 2021 03:41:29 -0400 Received: from mail2.protonmail.ch ([185.70.40.22]:31548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWw7h-0007zi-9A for guix-patches@gnu.org; Sun, 03 Oct 2021 03:41:27 -0400 Date: Sun, 03 Oct 2021 07:41:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633246881; bh=4lvmhc1tjrFbZgQsThaGg2CkF5NHjQVZCVpFbAvcfCY=; h=Date:To:From:Reply-To:Subject:From; b=pDdDQ0XXf0KSqybSPSNoGZeT1UJtNkBiqLJhHez0j1LSKPe1XHf72SI+AY9bBE+uo jXuPhTpg9/S8hD/2hVvGuqrC/C1DgdT6ewXXFGeMU3xzJtrHmZ0/E82xOzAVl9JrFc 22CCT+YxDbzXm7A1MGPQsVEFnRFGwoAUNBJ7P+Kk= Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.40.22; envelope-from=phodina@protonmail.com; helo=mail2.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-pyphotonfile): New variable. --- 2.32.0 diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 14f5fdef54..5f4df4c7fb 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -23237,6 +23237,31 @@ qvarious formats: PDF, PostScript, PNG and even SVG.") existing Hunspell hyphenation dictionaries.") (license (list license:gpl2 license:lgpl2.1 license:mpl1.1)))) +(define-public python-pyphotonfile + (package + (name "python-pyphotonfile") + (version "0.2.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fookatchu/pyphotonfile") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1hh1fcn7q3kyk2413pjs18xnxvzrchrisbpj2cd59jrdp0qzgv2s")))) + (build-system python-build-system) + (inputs `(("python-numpy" ,python-numpy) + ("python-pillow" ,python-pillow))) + (home-page "https://github.com/fookatchu/pyphotonfile") + (synopsis "Library for Anycubic Photon 3D-Printer") + (description "This package provides library used for manipulating Photon- +and cbddlp-files created for the Anycubic Photon 3D-Printer and compatibles +(e.g. Elegoo Mars, etc.). Currently it supports removing and adding new +layers as well as changing global parameters like the exposure time, etc.") + (license license:gpl3))) + (define-public python-intelhex (package (name "python-intelhex")